Files
mos-6502/include/state.h
T
andwati 0dcd2ed687 Implement state saving and loading for CPU and Bus, add tests for various functionalities
- Added `state.c` to handle saving and loading the state of the CPU and Bus.
- Implemented CRC32 checksum for data integrity verification during state operations.
- Enhanced `README.md` in tests/roms to document new test commands for decimal, interrupt, Apple I, and nestest.
- Created new test files: `run_apple1.c`, `run_decimal.c`, `run_interrupt.c`, `run_nestest.c`, and `run_vectors.c` to validate the new features.
- Updated `run_tests.c` to include tests for state saving/loading and other functionalities.
- Introduced `test_vectors.py` to facilitate downloading and running JSON test vectors for opcode verification.
2026-07-20 13:55:48 +03:00

8 lines
205 B
C

#ifndef STATE_H
#define STATE_H
#include "bus.h"
#include "cpu.h"
int state_save(const char *path,const CPU6502 *cpu,const Bus6502 *bus);
int state_load(const char *path,CPU6502 *cpu,Bus6502 *bus);
#endif