Commit Graph

456 Commits

Author SHA1 Message Date
Rekai Nyangadzayi Musuka 072c5f1b70 fix: squash bug in 64 LD instructions 2021-01-17 17:31:45 -06:00
Rekai Nyangadzayi Musuka 834423fe18 feat: stub sound register 0xff26 2021-01-03 02:05:46 -06:00
Rekai Nyangadzayi Musuka 1b53363095 feat: stub 0xff0f and 0xffff from interrupt 2021-01-03 01:38:31 -06:00
Rekai Nyangadzayi Musuka e693ad8a3c feat: create timer struct and stub 0xff07 2021-01-03 01:21:19 -06:00
Rekai Nyangadzayi Musuka 911f0f9c86 feat: stub work ram 2021-01-03 00:28:07 -06:00
Rekai Nyangadzayi Musuka 8048495cbc chore: move ppu vram from stack to heap 2021-01-02 23:58:49 -06:00
Rekai Nyangadzayi Musuka fb0772c671 chore: remove duplicate code 2021-01-02 22:49:25 -06:00
Rekai Nyangadzayi Musuka fe74f80ddf chore: format code 2020-12-24 00:34:48 -06:00
Rekai Nyangadzayi Musuka 26df683cff chore: move vram buffer to PPU struct 2020-12-24 00:27:06 -06:00
Rekai Nyangadzayi Musuka 677a584ba7 chore: stub vram, start work on ppu, fix set_register bug 2020-12-23 21:24:58 -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 1502cc3ec2 chore: add debug information to bus.rs 2020-12-23 03:43:49 -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
Rekai Musuka b274d61f56 Restart Project 2020-08-05 21:54:30 -05:00
Rekai Musuka a3cd9166ab Implement Register methods, and stub ADD opcodes 2020-08-05 03:23:50 -05:00
Rekai Musuka 8b475cb4cf Restart GB Emulator 2020-08-04 17:58:48 -05:00