- I am mainly making this to learn more about old architectures and as a fun learning project to get better as Rust. Not neccessarily the most accurate/correct emulation of the GameBoy.
- Graphics are working with the bootrom sourced from Bootix.
- Running at 60 fps
- Instructions have been "finished", still need to be tested
- I started adding graphics logic
- Right now it can fetch tiles from memory which I represent as a u16, and creates the background as a vector of u16.
- Remaining Tasks:
- Actually render the background
- Overlay the window on top of the background
- Render the Sprites from OAM
- Interrupt Logic
- TESTING
- Most of the main opcodes have been added
- Just the EI/DI and the remaining CB opcodes are left
- Testing to make sure the instructions work as intended remains as well
- instructions.rs contains most of the decoding of the assembly and the corresponding loads/stores
- cpu.rs contains the execution loop of the cpu and the reg files/memory layout
- Gameboy uses a Fetch/Execute overlap so certain instructions can fetch and execute in parallel across a clock cycle
https://realboyemulator.files.wordpress.com/2013/01/gbcpuman.pdf