ines header required for real hardware?

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

Post Reply
djcouchycouch
Posts: 97
Joined: Sat May 28, 2011 10:30 am

ines header required for real hardware?

Post by djcouchycouch »

Is the ines header used when a rom is run on real hardware, or is it just a convenience for emulators?
User avatar
Bregalad
Posts: 8036
Joined: Fri Nov 12, 2004 2:49 pm
Location: Caen, France

Post by Bregalad »

No it's just a convenience for emulators.
Useless, lumbering half-wits don't scare us.
tepples
Posts: 22345
Joined: Sun Sep 19, 2004 11:12 pm
Location: NE Indiana, USA (NTSC)
Contact:

Post by tepples »

If by "real hardware" you mean any hardware manufactured by Nintendo:
PocketNES for Game Boy Advance uses an iNES header, and several classics compilations licensed by Nintendo contain PocketNES. Other homebrew emulators, such as nesDS for Nintendo DS and FCE Ultra GX for Wii, also use an iNES header. And I've been told that the ROM images in Virtual Console channels contain an iNES header, though I don't know whether the emulator actually uses it or whether things like mappers are hardcoded into the emulator.

If by "real hardware" you mean specifically NES hardware:
PowerPak uses the iNES header when loading the ROM and configuring the mapper FPGA. It's the only NES cartridge I know of that uses the header.
User avatar
tokumaru
Posts: 12106
Joined: Sat Feb 12, 2005 9:43 pm
Location: Rio de Janeiro - Brazil

Post by tokumaru »

The iNES header exists because emulators can't tell what kind of cartridge a game uses based on the ROMs alone. The purpose of the iNES header is to give emulators information about the board inside the cartridge where the game comes from. If the game is in an actual cart, the board is there with the ROM, there is no need to describe it.
User avatar
oRBIT2002
Posts: 643
Joined: Sun Mar 19, 2006 3:06 am
Location: Gothenburg/Sweden

Post by oRBIT2002 »

Perhaps slightly offtopic.. Some games seems to have some kind of internal header stored inside the ROM itself. I think this has been discussed before.
Purpose is unknown(?)
tepples
Posts: 22345
Joined: Sun Sep 19, 2004 11:12 pm
Location: NE Indiana, USA (NTSC)
Contact:

Post by tepples »

We talked about the internal headers on some later NES games in this topic. Feel free to necro there if you have something interesting to say.
Post Reply