Commit graph

22 commits

Author SHA1 Message Date
d0a4b5a217 cpu - Add run method to run a specific number of mcycles 2023-09-18 23:32:58 +02:00
9c20befc60 cpu/decoder - Fix ADC edge case 2023-09-09 15:41:02 +02:00
cfa32424c7 cpu/decoder - Fix H and C bits for ADD SP, e8 and LD HL, SP + e8 2023-09-02 00:38:01 +02:00
c7cb345c08 cpu/cpu - Fix writeback for add16 2023-09-02 00:13:07 +02:00
243553acba cpu/cpu - Fix F register 2023-09-01 23:43:24 +02:00
899cebb698 cpu/cpu - Fix carry and halfcarry in aluop8
Found by Gameboy Doctor
2023-09-01 23:19:31 +02:00
c52aa91f26 Implement everything for Gameboy Doctor 2023-09-01 23:19:02 +02:00
66c19caaee Use exceptions instead of panic 2023-09-01 23:13:12 +02:00
3f1a23b7e5 cpu/cpu - Fix build errors 2023-08-30 22:13:58 +02:00
57f029bc6e cpu - best effort implementation of haltbug 2023-08-30 21:47:38 +02:00
aec3c7b0e6 cpu - Fix build errors 2023-08-30 00:01:45 +02:00
2ab37c6468 cpu/cpu - Implement stop mode 2023-08-29 23:46:36 +02:00
5cabe03d25 cpu/cpu - Handle halt mode 2023-08-29 23:30:31 +02:00
eb0e591b25 Move panic.h to misc 2023-08-29 23:15:00 +02:00
517577d546 Improve consistency for including 2023-08-29 23:11:31 +02:00
310fb99ad2 cpu/decoder - Simplify decoding by referencing registers by index 2023-08-29 16:53:20 +02:00
216cf660a1 cpu/cpu - Add way to signal interrupt from outside 2023-08-29 13:45:55 +02:00
7aa1af40fb cpu/cpu - Treat a call to an ISR as a step 2023-08-29 13:45:46 +02:00
1fc081b3c5 cpu - Fix push operations 2023-08-29 12:10:10 +02:00
002b745917 cpu - Fix timing of delay when enabling interrupts 2023-08-29 12:10:10 +02:00
505478b840 Improve Cpu class and implement interrupts 2023-08-28 21:56:33 +02:00
ad2334a6af Implement more parts of decoder 2023-08-27 22:19:02 +02:00