Memory Image format E/A Module

From Ninerpedia
Revision as of 17:05, 2 February 2017 by Tim (talk | contribs) (Changed maximum length of memory image from 8198 to 8192.)
(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 8192 bytes long, that is, 6 bytes for header information plus maximum data size of 8186 bytes.

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