GRAM Simulator format

From Ninerpedia
Jump to navigation Jump to search

The GRAM format is a headered ROM dump format from the cartridge memory chips, introduced by the TI Gebruikers Groep of Netherlands.

The contents of these files are taken from the ROMs and GROMs of the cartridge, so there must be meta-data about the origin of the data. In fact, these files are commonly 8193 bytes long, that is, 1 byte plus the fixed size of a ROM (8K).

0 1 2 3 4 5 6 7
0x00 Header Data
0x08 Data
...
end

Header

0 1 2 3 4 5 6 7
Bit MF Type ROM Bank GROM Bank

MF

  • 1: There are remaining files
  • 0: No more files

Type

  • 1: GROM file
  • 0: ROM file

ROM Bank

Three bits to define the bank number.

GROM Bank

Three bits to define the 8k block in the GROM address space. A value of 3 represents the 8k memory space starting at G>6000.

Other Headered Dump File Formats