Commit Graph

72 Commits

Author SHA1 Message Date
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
0ba9936f07 Add ability to delete symbol tables 2022-10-19 12:36:13 -05:00
57f7c0fabe Fix sym --append not requiring file name 2022-10-19 10:29:06 -05:00
e0fbebfbc3 Add ability to delete breakpoints 2022-10-19 10:27:52 -05:00
2f343b3772 Fix the blank line when there are no breakpoints or symbols 2022-10-19 08:18:24 -05:00
a1920fdcfa Replace get(..).unwrap() with indexing 2022-10-18 19:14:28 -05:00
f6e5ce39d2 Remove left in debug statement 2022-10-18 17:22:52 -05:00
cb8765d042 Add command to set and list breakpoints 2022-10-18 17:21:35 -05:00
1775c318bc Switch to LinkedHashSet fir storing breakpoints 2022-10-18 17:19:43 -05:00
d782b79a1f Add missing Debug impls 2022-10-18 17:19:02 -05:00
e8afb395a0 Add breakpoint support to run 2022-10-18 17:04:01 -05:00
8519773426 Add breakpoint data structures 2022-10-18 16:57:47 -05:00
9efa91cf8f Switch to LinkedHashMap 2022-10-18 15:31:47 -05:00
e932bf3de5 Add struct representing emulator config 2022-10-18 12:21:44 -05:00
c508062168 Extract code from main.rs to separate files 2022-10-18 10:56:08 -05:00
615c3cfd8b Change load_symbol table to only read the symbol table from file 2022-10-18 07:30:34 -05:00