Commit Graph

25 Commits

Author SHA1 Message Date
fumyuun 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
fumyuun e713f8de87 Implement RLA and POP RR 2022-02-08 23:53:02 +00:00
fumyuun 4f892eb3f2 Implement RL r instruction
Some groundwork on rotation operations
2022-02-08 16:14:57 +00:00
fumyuun da29d148bf Update synthflow and adapt makefile 2022-02-08 16:14:13 +00:00
fumyuun c8756dafa6 Implement push rr 2021-02-23 22:38:10 +00:00
fumyuun f6e68231fd Implement call nn 2021-02-22 23:07:10 +00:00
fumyuun 7e558104de Implement ld a, rr 2021-02-22 22:20:47 +00:00
fumyuun 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
fumyuun dc32757dfc Implement ld r, r 2021-02-22 21:43:22 +00:00
fumyuun ded64a8954 Implement inc r 2021-02-20 22:57:15 +00:00
fumyuun 49ce1631b3 Implement LD ($FF00+C), A 2021-02-20 22:10:47 +00:00
fumyuun b1b2055db9 Fix another bug in 8bit register writing 2021-02-20 20:52:02 +00:00
fumyuun 67578ab87f Fix bug in registers when loading 8bit values 2021-02-20 15:56:38 +00:00
fumyuun 67361093ec Implement LD r, $nn 2021-02-20 15:56:22 +00:00
fumyuun 7327ecffb9 Implement JR CC, $nn 2021-02-20 15:55:31 +00:00
fumyuun 93912e2089 Implemented BIT $n, r
First of the CB prefixed opcodes.
2021-02-19 21:53:13 +00:00
fumyuun 8c65e4a669 Fix some typo's 2021-02-19 21:49:38 +00:00
fumyuun 8f0b8d3a48 Implemented LDD (HL), A 2021-02-18 23:22:26 +00:00
fumyuun 3e92cf5eec Fix LD RR,$nnnn instruction not reading operand 2021-02-18 09:27:17 +00:00
fumyuun 2937ff492b Initial register bank, support LD RR, $nnnn instructions 2021-02-17 22:40:24 +00:00
fumyuun 237a5f1489 Implemented SP, $nnnn and XOR A instructions 2021-02-16 23:05:46 +00:00
fumyuun 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
fumyuun 3191a19f7e Initial work on reading instructions from bootROM 2021-02-15 22:55:09 +00:00
fumyuun e56afb8c9e Initial work on build system
Simple makefile to build testbench in vivado.
Testbench currently just has a clock and a reset.
Empty gb top module.
2021-02-15 21:40:12 +00:00
fumyuun 1a6259caa1 Initial commit 2021-02-15 14:54:08 +01:00