Which eeprom chip to use for burning my rom?

Are you new to 6502, NES, or even programming in general? Post any of your questions here. Remember - the only dumb question is the question that remains unasked.

Moderator: Moderators

User avatar
electro
Posts: 132
Joined: Tue Jan 29, 2008 11:12 am
Location: New York

Post by electro »

tepples wrote:
electro wrote:I assume the iNES header would always be the first 16 bytes in the hex code?
The iNES header is always the first 16 bytes of the iNES format rom. In the vast majority of roms, the PRG immediately follows. In a few rare cases, there is also a "trainer", or 512-byte block of preloaded save data that gets copied to $6000 through $7FFF, before the PRG data.
Thanks. Where would the CHR stuff be?

My code didn't make any use of video stuff, it was: .ineschr 0

However, I wonder how I could distinguish the CHR data from the PRG data, if I did have CHR data.

Thanks again,
T
tepples
Posts: 22345
Joined: Sun Sep 19, 2004 11:12 pm
Location: NE Indiana, USA (NTSC)
Contact:

Post by tepples »

If you use .ineschr 0, you are specifying a board with CHR RAM. Otherwise, the CHR ROM immediately follows the PRG ROM.
User avatar
electro
Posts: 132
Joined: Tue Jan 29, 2008 11:12 am
Location: New York

Post by electro »

Ok, so the CHR rom stuff would immediately follow the PRG stuff.

Would the CHR rom stuff look different than the PRG stuff?

How do you know where the PRG stuff ends and the CHR stuff begins in the hex code?

(Thanks again)
T

(I didn't know that about ineschr 0. I thought just meant you're not using any video stuff in your code. I have to study that more.)
Post Reply