Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

save/load state #2

Open
emard opened this issue Apr 29, 2020 · 0 comments
Open

save/load state #2

emard opened this issue Apr 29, 2020 · 0 comments

Comments

@emard
Copy link

emard commented Apr 29, 2020

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant