ep128emu snapshot file format


A snapshot file consists of the following sections:

Header 16 bytes Header information (magic number, format version, memory map etc.)
Memory Variable size Memory dump, contains all RAM and ROM segments
I/O ports 256 bytes Values most recently written to I/O ports
CPU state 64 bytes Z80 registers and internal variables of the Z80 emulator
NICK state 32 bytes Internal variables of the NICK emulator (see nick.c for details)
DAVE state 128 bytes Internal variables of the DAVE emulator (see dave.c for details).
Note: the format of this section has been changed in version 1.5.0 of the emulator, although the size is 128 bytes in all versions.

The total size of the snapshot file is (number of memory segments * 16384 + 496) bytes.

Portability

New versions of the emulator should be able to read snapshot files saved by old versions. The integer values stored in the snapshot are always in the most significant byte first order, and have a fixed size, regardless of the endianness and word size of the hardware platform on which the emulator runs.


Back to ep128emu technical information
Back to ep128emu home page


© Istvan Varga <istvan_v@mailbox.hu>, 2004, 2005 SourceForge.net Logo