Commit Graph

225 Commits

Author SHA1 Message Date
Jeffrey Pfau 85367c3713 GBA: Only unhalt CPU if appropriate bit is set in IE 2016-12-11 20:39:14 -08:00
Jeffrey Pfau 4085b9cdc5 GBA: Only unhalt CPU if an IRQ actually fires 2016-12-08 20:44:29 -08:00
Jeffrey Pfau 8aeafeb762 ARM7: PSR mode bits should not get sign extended 2016-11-30 16:18:02 -08:00
Jeffrey Pfau a0d223eef7 Debugger: Modularize CLI debugger 2016-10-25 21:12:35 -07:00
Jeffrey Pfau 805ef9efdd ARM Debugger: Fix clearing software breakpoints 2016-09-17 12:41:31 -07:00
Jeffrey Pfau 5486e013e0 Debugger: Fix setting software breakpoints 2016-09-15 09:33:13 -07:00
Jeffrey Pfau c45d91d311 Debugger: Add software breakpoints, fix cleanup 2016-09-07 17:49:27 -07:00
Jeffrey Pfau 2ed7d51376 ARM7: Fix decoding of Thumb ADD (variants 5 and 6) 2016-07-31 00:27:16 -07:00
Jeffrey Pfau 6b1cbbd5e2 ARM7: Fix setting spsr privilege bits when spsr is empty 2016-06-10 10:18:21 -07:00
Jeffrey Pfau b1b5cf8a11 ARM7: Clean up instruction decoding for future expandability 2016-06-06 22:08:19 -07:00
Jeffrey Pfau feb5ad2260 ARM7: Fix flags on SBC/RSC 2016-05-20 19:02:15 -07:00
Jeffrey Pfau e81de71f50 ARM7: Flush prefetch cache when loading CPSR via MSR 2016-05-16 01:18:09 -07:00
Jeffrey Pfau b5ff48a74e ARM7: Support forcing Thumb mode via MSR 2016-05-12 00:19:24 -07:00
Jeffrey Pfau 2d1ad16e1c ARM7: Improve decoder for memory access 2016-05-11 23:12:03 -07:00
Jeffrey Pfau 0fa6da495d All move around debugger files a bit 2016-05-08 00:52:15 -07:00
Jeffrey Pfau d6fce03fa3 All: Fix instruction tables getting zeroed when linking sometimes 2016-05-03 22:01:37 -07:00
Jeffrey Pfau 4b4be372c0 All: Fix some warnings 2016-04-29 00:20:45 -07:00
Jeffrey Pfau 37a0839a25 Debugger: Some memory debugger fixes 2016-04-29 00:17:43 -07:00
Jeffrey Pfau c03f9bcc03 Debugger: Fix identifier lookup 2016-04-25 22:44:44 -07:00
Jeffrey Pfau 1cc0bdeec1 Debugger: Refactor large portions of debugger to allow for multiplatform 2016-04-25 21:49:29 -07:00
Jeffrey Pfau fbfbbbf279 Core: Merge ARMComponent and LR35902Component 2016-02-10 22:40:21 -08:00
Jeffrey Pfau 7e6f9f2092 ARM7: Fix typo that invoked undefined behavior 2016-01-16 10:06:01 -08:00
Jeffrey Pfau 1fa904878b ARM7: Fix decoding of some ARM ALU instructions with shifters 2016-01-12 21:11:50 -08:00
Jeffrey Pfau 5c007289e4 GBA: Add extra data section to the end of savestates 2015-12-28 03:26:17 -05:00
Jeffrey Pfau 6604afb670 ARM7: Fix bank switching with LDR[B]T/STR[B]T 2015-11-22 02:31:13 -08:00
Jeffrey Pfau bb79334856 ARM7: Implement more undefined load/store forms 2015-11-22 01:42:58 -08:00
Jeffrey Pfau b67e4b5d78 ARM7: Implement undefined STRH/LDRH versions 2015-11-20 19:11:02 -08:00
Jeffrey Pfau fad1daf3e9 ARM7: Fix STRT/STRBT 2015-11-20 19:10:17 -08:00
Jeffrey Pfau 4bd7a65432 ARM7: Fix sign of unaligned LDRSH 2015-11-06 21:03:52 -08:00
Jeffrey Pfau c27dde73e7 ARM7: Fix regression with Thumb branches 2015-10-21 19:57:29 -07:00
Jeffrey Pfau a442933bbf All: Fix some undefined behavior warnings 2015-10-20 22:30:24 -07:00
Jeffrey Pfau 47eabe1bc7 ARM7: Fix instruction decoding of Thumb shifts 2015-10-08 19:52:38 -07:00
Jeffrey Pfau 3a15553c09 All: Reset next event to cycles instead of zero to interrupt 2015-10-05 19:20:17 -07:00
Jeffrey Pfau 6ba239d3f3 ARM7: Combine shifter-immediate and shifter-register functions to reduce binary size 2015-08-23 07:21:14 -07:00
Jeffrey Pfau ae1fecd4c8 ARM7: Fix decoding some more load/store instructions 2015-08-15 18:03:49 -07:00
Jeffrey Pfau 56208521d6 ARM7: Fix decoding LDR3 2015-07-13 01:15:59 -07:00
Jeffrey Pfau 908e61f415 All: Add clang-format options and run them 2015-06-29 20:45:08 -07:00
Lioncash 3736462c14 arm: ARMHotplugDetach should call deinit. 2015-06-29 03:17:04 -04:00
Jeffrey Pfau 051af279c9 GBA Memory: Implement game pak prefetch approximation 2015-06-22 00:27:21 -07:00
Jeffrey Pfau bdb7635156 ARM7: Reduce the size of the Thumb instruction table 2015-06-21 16:19:23 -07:00
Jeffrey Pfau d524148469 ARM7: Add emulation for Undefined CPU mode 2015-06-19 00:59:52 -07:00
Jeffrey Pfau 910ff621b3 ARM7: Fix timing of multiplies to use N cycles 2015-06-12 03:26:50 -07:00
Jeffrey Pfau c79780f832 ARM7: Fix Thumb MUL timing 2015-05-29 01:45:27 -07:00
Jeffrey Pfau 6b06579277 All: Move most macros back into common.h 2015-05-29 00:17:04 -07:00
Jeffrey Pfau 32d1f5bbfb ARM7: Fix ARM multiply instructions when PC is a destination register 2015-05-09 13:40:58 -07:00
Jeffrey Pfau ec14557a1e ARM7: Make illegal instruction decoding consistent between ARM and Thumb 2015-05-09 00:23:56 -07:00
Jeffrey Pfau ebcb344d64 ARM7: Handle writeback for PC in addressing modes 2 and 3 2015-05-08 01:23:44 -07:00
Jeffrey Pfau 97479c4d00 ARM7: Fix SWI and IRQ timings 2015-04-05 18:06:31 -07:00
Jeffrey Pfau 45473bf7bc ARM7: Fix cycle counting for loads 2015-03-27 21:21:17 -07:00
Jeffrey Pfau 8eeaa11256 ARM7: Add ARMRunFake for rolling back the PC and running a fake opcode 2015-02-04 23:30:04 -08:00