Commit Graph

87 Commits

Author SHA1 Message Date
b5409f3590 Add support for DMA cards 2022-11-20 19:15:58 -06:00
a9d79025cf Add flag to just run the CPU 2022-11-18 16:19:20 -06:00
0b1a8e1398 Change to a command based storage card 2022-11-18 16:03:28 -06:00
8c0b923455 Fix rotation of 8 being interpreted as 0 2022-11-18 16:03:11 -06:00
6e61c5402d Update crates and upgrade to elf v0.7 2022-11-16 10:40:26 -06:00
c6e96f3592 Move ROM to separate git repository 2022-11-14 11:02:05 -06:00
09c2db2c33 Move resources to separate git repository 2022-11-14 10:59:22 -06:00
f728080c92 Fix reset instruction to reset bus, not cpu 2022-11-14 10:57:53 -06:00
7656d04cd8 Remove Backplane::{cards,cards_mut} 2022-11-14 10:54:10 -06:00
88d7d79bb3 Change to crates.io reedline-repl-rs 2022-11-12 16:00:45 -06:00
e823f863c9 Remove dependency on paste 2022-11-12 15:49:23 -06:00
1e021632b1 Remove left in debug statement 2022-11-12 15:48:11 -06:00
4e814b5009 Update crates and bump elf to 0.6 2022-11-12 09:09:17 -06:00
b71d340c81 Make card::Type.name private 2022-11-12 09:05:03 -06:00
1b41ff5af4 Remove commented out error module definition 2022-11-12 09:01:30 -06:00
b76c4c7bf5 Refactor card config parsing out of main.rs 2022-11-12 08:59:46 -06:00
76a5f2ccb9 Switch config format to TOML 2022-11-11 22:13:13 -06:00
daf6bdc477 Fix field name in rom/storage config struct 2022-11-11 22:10:58 -06:00
9145c71a34 Change cards to use a struct for card config 2022-11-11 20:38:26 -06:00
9ee6045d6f Change Card::new to take the mapping by ownership 2022-11-11 20:34:41 -06:00
ec7db304b8 Factor out common parts of backplane memory code 2022-11-11 07:36:04 -06:00
41af1a55d9 Make SymbolTables.tables private 2022-10-26 10:32:05 -05:00
78596ae117 Make SymbolTable.{symbols, breakpoints} private 2022-10-26 10:31:46 -05:00
d0f1b588f7 add helpers to SymbolTables for getting tables 2022-10-26 10:10:16 -05:00
718f8cd276 Optimize an instruction from the ROM
The instruction to load fakestack into the SP can be removed by making use of the inital SP value in the reset vector
2022-10-25 11:43:58 -05:00
c923c188ac Fix stack start and spelling in ROM 2022-10-25 11:23:28 -05:00
8291610a74 Upgrade packages and change to elf v0.4.0 2022-10-25 08:33:26 -05:00
c738eb0518 Fix some pedantic and nursery lints 2022-10-24 08:54:34 -05:00
a3b1178fd3 Clean up handling of nonexistent symbol tables 2022-10-24 08:45:38 -05:00
419fa6a2ab Rename sym --active to sym --set-active 2022-10-24 08:42:26 -05:00
8181dc7281 Add missing help 2022-10-24 08:40:59 -05:00
4e065a55d0 Fix no help for bp and resolve 2022-10-24 08:37:04 -05:00
73de019770 Remove unecessary type signature in M68K::disassemble 2022-10-23 22:01:32 -05:00
4123b1c2ee Change to anyhow in cards 2022-10-23 17:42:19 -05:00
4dd7dba8d5 Replace config file expects with anyhow 2022-10-23 17:26:57 -05:00
ffba679046 Move PeekSize and PeekFormat to their own file 2022-10-23 17:20:34 -05:00
4aec215c9f Switch to anyhow and thiserror 2022-10-23 17:18:32 -05:00
7782b66582 Remove unused import in error.rs 2022-10-23 07:33:52 -05:00
34bca32240 Upgrade to elf v0.3.1 2022-10-22 18:54:47 -05:00
71173a0ed0 Replace intersperse with join 2022-10-21 19:38:00 -05:00
ef65bf52fc Extract common parts of (Breakpoint/Symbol)Displayers 2022-10-21 19:36:08 -05:00
4134a302a9 Rework symbol and breakpoint displaying 2022-10-21 08:18:18 -05:00
943ac2b593 Cleanup sym command 2022-10-20 14:51:06 -05:00
e62bcd261a Refactor SymbolTables 2022-10-20 14:42:08 -05:00
4665d11279 Extract SymbolTable to separate file 2022-10-20 11:29:06 -05:00
41106f4c3a Add SymbolTable::{new,update_symbols} 2022-10-20 11:27:20 -05:00
1ce64cb2f8 Simplify address_to_symbol 2022-10-20 08:03:14 -05:00
751515acfc Switch to indexmap 2022-10-19 22:20:26 -05:00
0731dd6bba Add support for showing symbol name + offset next to PC address 2022-10-19 14:01:27 -05:00
9ebbee1933 Add support for activating and deactivating symbol tables 2022-10-19 13:10:48 -05:00