Commit Graph

5 Commits

Author SHA1 Message Date
7173b9e39b Break io into chirp-minifb, and refactor to use Results in more places 2023-04-01 00:14:15 -05:00
cc3bc3a7fe Major Refactor: Make invalid states unrepresentable™️
- Rewrote the instruction decoder as an enum
- Used imperative_rs to auto-generate the bit twiddling logic
- Implemented Display on that enum, for disassembly
- Rewrote CPU::tick
  - Now >10x faster
  - Disassembly mode is still 5x slower though
- Implemented time-based benchmarking
  - (use option -S to set the number of instructions per epoch)
2023-03-30 08:27:06 -05:00
6453a9f267 justfile: Update justfile to run tests by default 2023-03-29 23:46:20 -05:00
f2f47e13d4 bus: Change named ranges from hashmap to array
Improves performance by 0.4 seconds in unit tests
2023-03-28 07:35:18 -05:00
66bed02a5e Add justfile for common commands, instead of aliases 2023-03-28 04:38:16 -05:00