Commit Graph

17 Commits

Author SHA1 Message Date
Koray Yanik fda176d3b5 Complete rewrite from scratch, bootstrap WIP
Rewrite to use several bus multiplexers, resulting into a less messy
microarchitecture (hopefully). Some more room for cleanup though...

Supports every instruction from the bootstrap rom, more or less.
LY hacked at 0x90 to progress through vsync instantly.
No cartridge is present yet, so we will always fail checksum test and lock up.
2023-10-01 23:00:56 +01:00
Koray Yanik e713f8de87 Implement RLA and POP RR 2022-02-08 23:53:02 +00:00
Koray Yanik 4f892eb3f2 Implement RL r instruction
Some groundwork on rotation operations
2022-02-08 16:14:57 +00:00
Koray Yanik c8756dafa6 Implement push rr 2021-02-23 22:38:10 +00:00
Koray Yanik f6e68231fd Implement call nn 2021-02-22 23:07:10 +00:00
Koray Yanik bd8df33066 Rename decoding signals to be more consistent
r/n now always refers to 8bit registers, rr/nn to 16bit.
2021-02-22 21:58:54 +00:00
Koray Yanik dc32757dfc Implement ld r, r 2021-02-22 21:43:22 +00:00
Koray Yanik ded64a8954 Implement inc r 2021-02-20 22:57:15 +00:00
Koray Yanik 49ce1631b3 Implement LD ($FF00+C), A 2021-02-20 22:10:47 +00:00
Koray Yanik 67361093ec Implement LD r, $nn 2021-02-20 15:56:22 +00:00
Koray Yanik 7327ecffb9 Implement JR CC, $nn 2021-02-20 15:55:31 +00:00
Koray Yanik 93912e2089 Implemented BIT $n, r
First of the CB prefixed opcodes.
2021-02-19 21:53:13 +00:00
Koray Yanik 8f0b8d3a48 Implemented LDD (HL), A 2021-02-18 23:22:26 +00:00
Koray Yanik 2937ff492b Initial register bank, support LD RR, $nnnn instructions 2021-02-17 22:40:24 +00:00
Koray Yanik 237a5f1489 Implemented SP, $nnnn and XOR A instructions 2021-02-16 23:05:46 +00:00
Koray Yanik aa92344d10 Initial work on decoder
Decode the LD SP, $nnnn instruction as our first three-byte
instruction.
2021-02-16 21:13:50 +00:00
Koray Yanik 3191a19f7e Initial work on reading instructions from bootROM 2021-02-15 22:55:09 +00:00