Skip to content

save/load state #2

Description

@emard

Just a wishlist,
I'd like to have save/load CPU/RAM state snapshots as a tool
to prepare collection of binary images for easy and fast loading
to FPGA emulation.
If there's no standardized binary form for image, i'd like to propose :)

"ORAO_SNAPSHOT\0": ascii 0-terminated header for file type.
follows multiple blocks of data, usually CPU state and RAM
0x01: block type 1 is header for CPU state
0x10: 8-bit length of data to follow not including this byte
.... 16 bytes of register states A X Y F SP PC etc.
0x02: block type 2 is header for RAM or ROM content
0x00 0x10: 16-bit starting address 0x1000
0x00 0x20: 16-bit length of block length thats follows, not including this length
... 0x2000 bytes of data

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions