sambattalio / gameboy

Trying to make a gameboy emulator ‾\_(ツ)_/‾

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

RES b,r

sambattalio opened this issue · comments

opcodes: CB 80-87.

Desc: Reset bit b in register r. (based on opcode)

page 110 of the realboy manual on readme.

@sambattalio please fix this immediately

This is a great opportunity for a community PR! If you would like to help please let me know and I can assign you! 📈 🚀

@sambattalio do these just require a new case in the instruction handler in proc.c?

The cases should be autogen'd already with some flag stuff already set (if its just 1 or 0 automatically thanks to @noyoshi). You can just ctrl-f the opcode (eg. 0x71) and the comment should match the instruction

I'd like to take this jawn on if that's cool, or another one if @mdadamio is hitting this boi up

Closed thanks to community contributor @ginglis13 (future amazon engineer btw) 🚀