RAM Module Handler format

From Ninerpedia
Revision as of 11:16, 10 April 2016 by HackMac (talk | contribs) (initial content)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

The GRAM format is a headered ROM dump format from the cartridge memory chips, created by E.P. Rebel from Netherlands.

The contents of these files are taken from the ROMs of the cartridge or other locations within the CPU address space, 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 for header information plus the common size of a ROM (8K).

0 1 2 3 4 5 6 7
0x00 Flag Length Address Data
0x08 Data
...
end

Flag

Value >0000: More files will follow.

Length

This word specifies the *total* size of data. Is is 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.

Address

Memory address in the CPU address space.

Other Headered Dump File Formats