Memory Image format E/A Module

From Ninerpedia
Revision as of 11:45, 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 memory dump format is a headered ROM dump format from the memory chips from the CPU address space, used for loading program files using Editor / Assembler cartridge option 5.

The contents of these files are taken from 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

>FFFF: More files are following; >0000: This is the last file

Note: The last character of the file name of the following file is incremented by one.

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