Commit Graph

418 Commits

Author SHA1 Message Date
Maxim Poliakovski
e08bf39af3 debugger: more checks for user input. 2020-02-28 08:58:14 +01:00
dingusdev
160566b8f8
Slight formatting fix 2020-02-27 21:05:03 -07:00
dingusdev
5991ef1dca Merge branch 'ppc-fixes' 2020-02-27 21:03:40 -07:00
dingusdev
c8611dc293 Code cleanup + procedures for cleanup 2020-02-27 21:03:01 -07:00
dingusdev
51739520b5 Small formatting + logging fixes 2020-02-27 18:41:02 -07:00
Maxim Poliakovski
90779bd9c6 Remove log messages from cache/TLB instructions. 2020-02-27 16:31:22 +01:00
dingusdev
d7c0a731f4 Found a message I missed. 2020-02-26 21:43:19 -07:00
dingusdev
eef82649f7 Modest logging system revamp
Logging messages now go to dingusppc.log (if in realtime) or the console (if in debug)
2020-02-26 19:51:07 -07:00
dingusdev
a3f55d35b4 Fixed most compiler warnings 2020-02-25 07:15:42 -07:00
dingusdev
e3a1c3501a Another small fix 2020-02-24 19:56:02 -07:00
dingusdev
8bf902d945 Small fix 2020-02-24 19:55:33 -07:00
dingusdev
6c1dc8aaf0 Further logging work 2020-02-24 19:50:52 -07:00
dingusdev
baef838f7c Further integration with loguru 2020-02-24 07:54:29 -07:00
dingusdev
d91950e582 Further logging code. 2020-02-23 22:36:31 -07:00
dingusdev
e9a616ffeb Started working on incorporating loguru 2020-02-23 20:59:10 -07:00
Maxim Poliakovski
3ffa680f6d debugger: fix address printing under Windows. 2020-02-23 18:52:09 +01:00
Maxim Poliakovski
f29a63acd4 debugger: fix disasm command. 2020-02-23 18:42:42 +01:00
Maxim Poliakovski
b6768d7168 debugger: add dump command for dumping memory. 2020-02-23 17:52:30 +01:00
Maxim Poliakovski
461d859e73 ppcmmu: add debug memory reading function.
This function saves and restores the MMU state
so no invalid user input can break CPU execution.
2020-02-23 16:41:58 +01:00
Maxim Poliakovski
403c19ca39 Improve the command line debugger.
Add next command. Make the debugger somewhat foolproof.
2020-02-23 15:24:55 +01:00
dingusdev
02a75f78da regsfpsab fixed 2020-02-20 22:21:58 -07:00
dingusdev
d20122b3a9 Proper flag updates for fm arithmetic operations 2020-02-20 20:00:20 -07:00
dingusdev
6428f324f6 icbi fixed 2020-02-19 19:37:51 -07:00
dingusdev
d8f4a0c910 icbi fixed 2020-02-19 19:20:01 -07:00
dingusdev
9138b9bafc Quick fix for cmp 2020-02-19 19:12:23 -07:00
dingusdev
c71be1bc37 Fixed compare instructions 2020-02-19 19:03:39 -07:00
Maxim Poliakovski
5b2369458e ppcdisasm: remove unused function. 2020-02-20 02:35:38 +01:00
Maxim Poliakovski
8671517a08 ppcdisasm: new tests and fixes for rlwinm/rlwimi. 2020-02-20 02:27:48 +01:00
dingusdev
8babfa9987 Fixed some convoluted code for rlwinm 2020-02-17 20:17:56 -07:00
dingusdev
7a654fa576 Fixed rlwinm, rlwimi, and rlwnm mnemonics 2020-02-16 22:19:28 -07:00
dingusdev
3c06e8b30a Implemented fctiw(z)(.) 2020-02-16 13:40:55 -07:00
dingusdev
839c97b665 Small fix to the execution table 2020-02-16 08:57:23 -07:00
dingusdev
1f43b69878 Implemented the remaining recognized SPRs 2020-02-15 21:37:36 -07:00
dingusdev
87a4ff1b73 CMPW mnemonics added 2020-02-15 20:59:09 -07:00
dingusdev
d7e4f3a6a8 Small fixes to M(F/T)SPR and rotate instructions 2020-02-15 16:15:08 -07:00
dingusdev
bedbd54f5b Almost all major rotate op mnemonics added 2020-02-15 14:48:21 -07:00
dingusdev
158b0d2b50 Added major MTSPR/MFSPR mnemonics and MFTB mnemonics 2020-02-15 13:10:01 -07:00
dingusdev
6f6e5671d4 Fixed test cases for stfd(u) and sllq(.) 2020-02-15 12:09:27 -07:00
dingusdev
ef27fcec69 More tests, more fixes
Only significant bugs left are with stfd(u) and sllq(.)
2020-02-15 11:29:03 -07:00
dingusdev
4f02a98c2b More tests +fix for fsel 2020-02-14 07:58:30 -07:00
dingusdev
17e69677e8 One more fix for the segment reg instructions 2020-02-13 21:46:12 -07:00
dingusdev
07844c7388 One tiny fix to tlbie 2020-02-13 21:40:36 -07:00
dingusdev
73dfec443a Fixed cntlzw, mtsr(in), tlbie 2020-02-13 21:37:33 -07:00
dingusdev
3d89b0438a Many new test cases, many fixes 2020-02-13 21:04:14 -07:00
dingusdev
d4239c5aa1 Fixed comparison instructions, 603 instructions, mnemonics 2020-02-13 08:00:36 -07:00
dingusdev
eda9454f66 Fixed twi and tw; added more tests 2020-02-12 22:21:16 -07:00
dingusdev
40f399e0c4 Inserting missing instructions and fixing several opcodes 2020-02-12 22:08:40 -07:00
dingusdev
3d492b7f72 stwcx., slwi, and tw fixed 2020-02-12 20:58:51 -07:00
dingusdev
c8e03286e7 Condensed trap operations + added mnemonics for tw 2020-02-12 20:41:23 -07:00
dingusdev
c2eafcc45d Fixed shifting ops and eieio 2020-02-12 20:26:12 -07:00