Commit Graph

140 Commits

Author SHA1 Message Date
70f5905e67
Fail gracefully on symbols with an invalid section name 2024-03-09 12:25:55 -06:00
8c6e26005d
Make sure certain instructions are only executed in supervisor mode 2024-03-09 12:25:55 -06:00
6bbc879244
Push and pop trap information in supervisior mode 2024-03-09 12:25:54 -06:00
d05eb249bb
Tell MMU whether memory accesses are user or supervisor 2024-03-09 12:25:54 -06:00
f3cec9c9a3
Merge branch 'master' of pterpstra.com:m68k-backplane-computer/emu 2023-12-20 13:11:29 -06:00
7f987f2077
Clean up symbol displaying 2023-12-20 13:11:16 -06:00
53b47f8410
Clean up code 2023-12-07 15:33:41 -06:00
030ca22812
Allow dissasembly errors to include abnormal traps 2023-12-07 14:44:47 -06:00
849f3c7dd2
Make state print when just running dependent on a flag 2023-11-07 20:42:46 -06:00
ec14039a40
Correct op_tbd 2023-11-07 14:57:58 -06:00
a0ca311e9a
Fix offset to link being treated as unsigned 2023-11-07 14:56:30 -06:00
d361b5a090
Fix ROM card not resetting to base address 0x0 2023-11-07 10:21:28 -06:00
c607697b7a
Fix RTE popping the format word as a long 2023-11-06 12:19:15 -06:00
2110bfbab8
Abort instruction processing on misaligned address trap 2023-11-06 11:06:54 -06:00
f5df45499a
Fix M68K::write_word ot checking for an aligned address 2023-11-04 09:07:47 -05:00
26837a6750
Ad suport for the VBR and MOVEC 2023-11-04 09:02:44 -05:00
601e29b634
Display bus error information on failed BE trap 2023-11-03 18:44:52 -05:00
cb12ab55c2
Revert changing the MMU TLB to be accessible via memory 2023-11-02 18:41:01 -05:00
e840a301b3
Update crate versions 2023-11-02 18:35:55 -05:00
a31f0eb1ab
Merge branch 'master' of pterpstra.com:m68k-backplane-computer/emu 2023-11-02 18:34:22 -05:00
e73dd88635
Work 2023-11-02 18:33:55 -05:00
aeb1bdd6d4
Clean up MMU card display 2023-11-02 14:10:35 -05:00
94684dbc4f
Remove unnecessary DMA design document 2023-03-30 10:01:31 -05:00
ebcd0cc493
Make MMU debug output show the address being translated 2023-03-30 09:58:50 -05:00
9be3153a7b
Add option to peek to read from physical memory 2023-03-27 15:28:16 -05:00
303c07138b
Re-enable the Io spac in lower memory after system reset 2023-03-27 15:27:39 -05:00
b57d036a26
Add support for disabling IO space in lower 16MB of memory 2023-03-23 11:38:47 -05:00
0abd42021f
Add support for backplane IO space 2023-03-23 11:32:48 -05:00
cdb0f1d8d7
Change run to not disassemble instruction when cpu is stopped and show stopped status 2023-03-23 10:34:01 -05:00
9cdbe2e071
Fix offset of RAM in ROM card 2023-03-23 10:32:53 -05:00
0d5a20c22e
Fix translated address not being passed to memory access function 2023-03-23 10:31:01 -05:00
8f91a1aa3e
Revert "Rework MMU trait to allow for full control of MMU issued memory cycles"
This commit breaks accesses to the MMU IO space because since the
MMU card is borrowed during accesses to memory, when it calls
into the backplane to do the physical access, the
backplane will attemp to borrow the MMU card again,
causing a panic
2023-03-23 09:02:57 -05:00
3a4d2b0c9d
Rework MMU trait to allow for full control of MMU issued memory cycles 2023-03-20 15:06:16 -05:00
5259bbbe3c
Apply clippy suggestions and format code 2023-03-20 15:05:26 -05:00
f0323dab2e
Update clap to v4 2023-03-18 17:56:14 -05:00
6066b2d239
Limit address from CPU to 24 bits 2023-03-18 17:51:34 -05:00
6dc1d5d798
Add support for interconnects between cards 2023-03-18 17:50:58 -05:00
1cff8b26ce
Properly handle result of M68K::step 2023-03-15 19:01:44 -05:00
a0eaccaf7f
Clean up code 2023-03-15 18:59:38 -05:00
d32bcc3a8e
Change to locking cards individually and remove now unnecessary traits 2023-03-15 18:56:21 -05:00
21181fc645
Fix the ROM's reload command 2023-03-15 18:56:21 -05:00
c2b1a2a74d
Fix the ROM's enable byte location 2023-03-15 18:56:21 -05:00
9ea9461935
Change BusErrorCause's Display impl to use Self 2023-03-15 18:56:21 -05:00
9642cf82f0
Finish basic functions of MMU card 2023-03-15 18:56:16 -05:00
77054589c6
Upgrade crates and switch to clap 4 2023-02-03 09:19:47 -06:00
9a0695fef3
Add a poke command 2023-02-03 09:19:46 -06:00
79dfb820ac
Make peek's format argument optional 2023-02-03 09:19:45 -06:00
d32a46b93b
Return bus errors from cpu.step() instead of panicking 2023-02-03 09:19:38 -06:00
077050fb2b
Add MMU support and start work on it 2023-02-03 09:19:33 -06:00
40ea7eae82 Fix stoarge card IO register positions and allow reading off the end of the disk 2022-11-29 16:28:55 -06:00