A cycle-accurate, ppu not-quite-so hobby project.
Go to file
Rekai Nyangadzayi Musuka 2bf877d1ec fix(cpu): Ensure mask the high bits of the flag register
There was a bug where POP AF returned 0x1301. In this example, the A
register would be set to 0x13, and the Flag register woud be set to
0x01, which is an invalid state considering only bits 4 -> 7 of the flag
register are used. This commit masks the flag register with & 0xF0
whenever it is read or written to so that we can ensure that only the
high bits can ever be potentially set
2021-03-26 20:25:30 -05:00
src fix(cpu): Ensure mask the high bits of the flag register 2021-03-26 20:25:30 -05:00
.drone.yml chore: update rust CI version from 1.49 to latest 2021-02-25 23:17:19 -06:00
.gitignore feat: implement fetch, decode, execute loop 2020-12-23 03:25:16 -06:00
Cargo.lock feat: implement clap for cli and improve error messages 2021-03-22 21:41:22 -05:00
Cargo.toml feat: implement clap for cli and improve error messages 2021-03-22 21:41:22 -05:00
README.md chore: add README.md 2021-01-27 23:59:42 -06:00

README.md

Rekai's Gameboy Emulator

Build Status

Status

Currently:

  • CPU passes Blargg's cpu_instrs.gb
  • Gameboy Boot ROM runs correctly