Commit Graph

93 Commits

Author SHA1 Message Date
Rekai Nyangadzayi Musuka 207bcfea30 chore: improve debug logs 2021-01-18 02:47:41 -06:00
Rekai Nyangadzayi Musuka 49a45d48cb fix: improve appearance of debug logs 2021-01-18 02:29:35 -06:00
Rekai Nyangadzayi Musuka 9203b61533 fix: implement 0xff41 and fix CALL instruciton 2021-01-18 02:22:45 -06:00
Rekai Nyangadzayi Musuka 386a780a6f fix: call opcode now pushes correct address onto stack 2021-01-17 22:12:00 -06:00
Rekai Nyangadzayi Musuka c0b8b8bda2 feat: implement more registers 2021-01-17 21:13:59 -06:00
Rekai Nyangadzayi Musuka 072c5f1b70 fix: squash bug in 64 LD instructions 2021-01-17 17:31:45 -06:00
Rekai Nyangadzayi Musuka 911f0f9c86 feat: stub work ram 2021-01-03 00:28:07 -06:00
Rekai Nyangadzayi Musuka 2a234f4d14 feat: implement ability to boot straigt to cartridge 2020-12-23 19:39:37 -06:00
Rekai Nyangadzayi Musuka 4d2e0e33f2 feat: implement fetch, decode, execute loop 2020-12-23 03:25:16 -06:00
Rekai Nyangadzayi Musuka e540c86c7e chore: make InstrRegisterPair public 2020-12-23 01:58:55 -06:00
Rekai Nyangadzayi Musuka bf945c3f44 chore: make InstrRegister public to satisfy rust 2020-12-23 01:27:11 -06:00
Rekai Nyangadzayi Musuka db86d11085 chore: refactor LDTarget and InstrRegister 2020-12-23 01:24:06 -06:00
Rekai Nyangadzayi Musuka 2e1c97e5d7 chore: reorganize instructions.rs 2020-12-23 01:17:13 -06:00
Rekai Nyangadzayi Musuka 9cd4c4ea11 chore: remove duplicate Instruction::INC match 2020-12-23 01:11:03 -06:00
Rekai Nyangadzayi Musuka 5187cbed76 feat: implement remaining gb opcodes
As of now, the initial implementation of all GameBoy opcoes are
complete. There's most likely a lot of bugs in them, however the
foundtain has been placed.
2020-12-23 01:07:30 -06:00
Rekai Nyangadzayi Musuka 9be1d1508e feat: implement all opcodes in rot table 2020-12-23 00:24:29 -06:00
Rekai Nyangadzayi Musuka f9d7fe05df Merge branch 'master' of ssh://ssh.paoda.moe:31059/paoda/gb 2020-12-22 22:23:28 -06:00
Rekai Nyangadzayi Musuka 4bf9ccb98c chore: qol update 2020-12-22 22:23:09 -06:00
Rekai Nyangadzayi Musuka c876778da8 chore: replace 16-bit half carry implementation 2020-11-28 15:42:50 -06:00
Rekai Nyangadzayi Musuka 7edffb166d chore: Implement exec of RLC and RRC 2020-09-07 22:34:09 -05:00
Rekai Nyangadzayi Musuka a4b3da1939 chore: replace unimplemented!() with unreachable!() 2020-09-07 21:51:20 -05:00
Rekai Nyangadzayi Musuka cd6f242f56 feat: Implement exec of all unprefixed opcodes 2020-09-07 21:49:10 -05:00
Rekai Nyangadzayi Musuka eb90ac31e2 chore: Document prefixed opcode decoding 2020-09-07 21:22:26 -05:00
Rekai Nyangadzayi Musuka 7538f946d4 feat: Implement prefixed opcode decoding 2020-09-07 21:18:53 -05:00
Rekai Nyangadzayi Musuka a9510bed54 chore: Document instruction execution implementations 2020-09-07 20:57:31 -05:00
Rekai Nyangadzayi Musuka f193132c5e chore: Implement imm byte versions of alu opcodes 2020-09-07 20:50:33 -05:00
Rekai Nyangadzayi Musuka 70a959fa32 chore: Remove LHS MathTarget from ADC and SBC 2020-09-07 20:28:24 -05:00
Rekai Nyangadzayi Musuka e31d83deae chore: Implement DI, EI, CALL & PUSH instructions 2020-09-07 20:19:10 -05:00
Rekai Nyangadzayi Musuka 0e3bdb8a2a chore: convert TryFrom error types to &'static str
Prevents an unnecessary heap allocation when a RegisterPair::try_from() or
Register::try_from() fails.
2020-09-04 14:43:19 -05:00
Rekai Nyangadzayi Musuka 213c5e5cb3 Implement more instructions 2020-09-04 00:41:19 -05:00
Rekai Nyangadzayi Musuka 11d2d26cdc Implement more instrucitons 2020-09-02 21:54:58 -05:00
Rekai Nyangadzayi Musuka 49dac85470 Utilize pattern matching more 2020-09-02 19:35:48 -05:00
Rekai Nyangadzayi Musuka cb365fd932 Implement Instructions and rename enums 2020-09-02 17:26:46 -05:00
Rekai Nyangadzayi Musuka 0be0030ed7 Implement CPU Instructions 2020-09-01 00:16:05 -05:00
Rekai Nyangadzayi Musuka 21b7f82422 Decode all unprefixed opcodes 2020-08-29 23:07:53 -05:00
Rekai Nyangadzayi Musuka e0235094bb Implement basic layout of Gameboy Emulator 2020-08-29 18:38:27 -05:00
Rekai Nyangadzayi Musuka 0401bb7e49 Restart Project 2020-08-25 12:10:38 -05:00
Rekai Nyangadzayi Musuka 4bc18f4dd9 Resolve build error 2020-08-24 00:54:36 -05:00
Rekai Nyangadzayi Musuka b1bbd67832 Implement 2 opcodes 2020-08-24 00:53:47 -05:00
Rekai Nyangadzayi Musuka deec130381 Implement decode for all x=2 unprefixed opcodes 2020-08-24 00:42:16 -05:00
Rekai Nyangadzayi Musuka 378a559106 Implement decode for all x=1 unprefixed opcodes. 2020-08-24 00:11:54 -05:00
Rekai Nyangadzayi Musuka 146e2dc066 Implement decode for all x=0 unprefixed opcodes. 2020-08-23 23:56:20 -05:00
Rekai Musuka f97bf9dbb7 Stub Bus, and CPU, implement some opcode decoding. 2020-08-06 01:05:16 -05:00