Commit Graph

120 Commits

Author SHA1 Message Date
8d2399e431 mem.rs: Add Display for HiresCharset 2023-08-31 22:43:01 -05:00
39fe4411d6 cpu.rs: Properly pause during multistep 2023-08-31 22:41:24 -05:00
7ab0a596c9 cpu.rs, tests.rs: fix clippy lints (thanks clippy) 2023-08-31 22:40:30 -05:00
8de4f42ff6 docs: Fix examples (now passes all doc tests again) 2023-08-31 22:39:14 -05:00
31c904f89c chirp-disasm: Implement a graph parser for better output 2023-08-31 22:34:55 -05:00
f886aadc63 chirp: Break frontends into separate projects 2023-08-31 18:16:38 -05:00
bcd5499833 justfile: chirp is no longer the default 2023-04-30 00:56:55 -05:00
5ae98346a0 chirp-imgui: Make sure ROM file exists. 2023-04-30 00:55:56 -05:00
e4f8001a16 CPU: Add hires font 2023-04-30 00:54:58 -05:00
37b8b96683 instruction.rs: Clarify the purpose of Insn 2023-04-29 23:34:28 -05:00
861020a8ab chirp-imgui: Argument parsing + colors in Settings 2023-04-29 23:34:06 -05:00
dcbdd1383d lib.rs: Remove Chip8 unused Chip8 struct (was moved) 2023-04-29 23:33:11 -05:00
96b6038bbe Chirp: Bus Schism: Split into Mem (internal) and Screen (external) 2023-04-29 23:32:14 -05:00
f4d7e514bc auto_cast: Move out of bus module 2023-04-29 19:52:38 -05:00
beab7c968b Fix copy paste errors and read-out-of-bounds check 2023-04-29 18:44:00 -05:00
33b6d0218e cpu/tests: Test invalid instructions more exhaustively 2023-04-29 18:43:08 -05:00
c7226bf9cc cpu.rs: Fix up ROM loading in new(), and doctests 2023-04-29 18:42:19 -05:00
4ec9e2cb71 cpu/behavior: Tag each Insn implementation 2023-04-29 18:39:44 -05:00
8b4d5be49d tests: Update tests for memory being CPU-internal 2023-04-29 18:38:38 -05:00
cb69af048f cpu: Change ST and DT back to u8 2023-04-29 18:37:29 -05:00
57c2ac681c cpu: fix renaming mistake "screen" -> "mem" 2023-04-29 18:34:24 -05:00
ea357be477 Monotonic: This flag is being deprecated soon, switch it for bool 2023-04-29 18:20:49 -05:00
a16d7fe732 chirp-imgui: Refactor menu definitions 2023-04-29 18:15:19 -05:00
7d5718f384 cpu.rs: Separate lastkey from flags 2023-04-29 12:08:26 -05:00
05fee3fb75 Begin work on graph-traversal disassembler? 2023-04-23 12:16:50 -05:00
16a5e6a2a4 cpu.rs: Actually derive (De)Serialize if feature=serde 2023-04-23 12:16:31 -05:00
5b5c5b41ab chirp: Update chirp for changes in cpu.rs 2023-04-23 12:15:36 -05:00
04736f1153 mode.rs: Implement more traits for use in frontend 2023-04-23 12:14:46 -05:00
59ba8ac20b bus/read.rs: Improve template code somewhat 2023-04-23 12:14:04 -05:00
e9f8d917a4 chirp-imgui: First prototype, using pixels demo as base 2023-04-23 12:13:22 -05:00
c1219e60f0 cpu.rs: Refactor for modularity
- Break into submodules
  - Move bus into submodule of CPU
  - Keep program and charset rom inside CPU
  - Take only the screen on the external Bus
  - Refactor the disassembler into an instruction definition and the actual "Dis" item
2023-04-23 12:10:02 -05:00
33da1089a2 AnyRange: Add AnyRange for taking any range in error 2023-04-23 12:01:47 -05:00
92dc899510 Update copyright notices 2023-04-23 11:58:57 -05:00
3839e90b15 chip8Archive: Update Submodule (adds wdl and octojam9!) 2023-04-18 22:44:47 -05:00
1c1d4dafaf cpu.rs: Adjust doctests for new stack behavior 2023-04-17 06:39:05 -05:00
0113dd95f6 ui.rs: Refactor debug screen dump: dumps to pwd with good name 2023-04-17 06:35:16 -05:00
45adf0a2b8 cpu.rs: Remove stack from main memory 2023-04-17 06:34:48 -05:00
e842755d77 quirks: Fix description for screen_wrap 2023-04-17 05:39:18 -05:00
88693f6c72 screens: Fix last-byte-bug in regression test cases 2023-04-17 05:27:23 -05:00
381b2a69bd tests: load_region asserts that all data must be copied 2023-04-17 05:26:49 -05:00
1573e00928 instruction.rs: Add edge wrapping for draw_lores_sprite, and fix the Last Byte Bug 2023-04-17 05:15:12 -05:00
401b247c05 cpu: Remove reference to nonexistent "init" module 2023-04-17 05:13:41 -05:00
95d4751cdd bus: Major refactor: auto-impl implicit casting for all numerics 2023-04-17 05:12:37 -05:00
7d25a9f5f1 quirks.rs: Prepare screen_wrap quirk for future xochip compat 2023-04-17 05:09:16 -05:00
bafb576705 chip8-test-suite: Update to 4.0 2023-04-17 05:04:23 -05:00
d54fb7eb2c Merge pull request 'v0.1.1 Partial Super Chip Support' (#11) from schip into main
Reviewed-on: #11
2023-04-15 04:00:40 +00:00
43fa623da3 Improve workflow and docs somewhat, make minifb optional 2023-04-14 22:20:30 -05:00
674af62465 cpu.rs: Break into submodules 2023-04-14 21:25:41 -05:00
ae32d77757 readme.md: Update readme to indicate partial schip support 2023-04-14 21:00:27 -05:00
973811ee8d csv: print multiple shots at a time 2023-04-14 21:00:08 -05:00