1
0
mirror of https://github.com/cc65/cc65.git synced 2024-06-01 13:41:34 +00:00
cc65/src/sim65
Carlo Bramini b04d79b1da [SIM65] Support undocumented opcodes for 6502
This PR is mostly a complete rewrite of the emulator for 6502/65c02 opcodes.
It provides an easier to maintain implementation of the instructions, by using few macros rather than having hand-written code for each function.
All undocumented, previously missing opcodes for 6502 are also implemented.
The patch also includes a detailed documentation of those opcodes, for reference to developers.
This PR should fix one of the milestones listed here for the next version of CC65:

https://github.com/cc65/wiki/wiki/Before-the-next-release
2024-02-08 12:13:17 +01:00
..
6502.c [SIM65] Support undocumented opcodes for 6502 2024-02-08 12:13:17 +01:00
6502.h [SIM65] Support undocumented opcodes for 6502 2024-02-08 12:13:17 +01:00
error.c sim64 universal 64-bit cycle count support: 2023-05-07 16:26:42 -04:00
error.h sim65 use error codes outside the simulated program's range for non-sim errors 2023-05-07 16:51:12 -04:00
main.c [SIM65] Support undocumented opcodes for 6502 2024-02-08 12:13:17 +01:00
memory.c Speed up sim65 by 10% 2022-10-17 13:32:38 +03:00
memory.h Speed up sim65 by 10% 2022-10-17 13:32:38 +03:00
paravirt.c sim65 use error codes outside the simulated program's range for non-sim errors 2023-05-07 16:51:12 -04:00
paravirt.h sim65 path length safety for PVOpen 2023-02-19 05:31:46 -05:00