GRAM Karte format
The GRAM format is a headered ROM dump format from the cartridge memory chips, introduced by Mechatronic in West-Germany.
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 8198 bytes long, that is, 6 bytes plus the common size of a ROM (8K).
- A5A5 indicates a GROM file
- 5A5A indicates a ROM file
- For GROM it is the start address where data is loaded from
- For ROM it is a bank access address (>6000 - ROM >6000, >6002 - ROM >7000 bank 2, >6004 - ROM >7000 bank 3)
This word specifies the length of data. File size should be the sum of the header size (6 bytes) plus the length of data. If the file is larger, only the given length of data is used.