News for hackers. Stuff that matters.
Re:Writing a Game Boy emulator by t0mek on Wednesday July 11, 2018 @08:14AM (#17506256)
The table here: [1] is very accurate. I wasn't able to find any bug either in the cycle counts or the affected flags list during the Coffee GB [2] development.

[1] http://pastraiser.com/cpu/gameboy/gameboy_opcodes.html

[2] https://news.ycombinator.com/item?id=17134668

Re:Writing a Game Boy emulator by abaines on Wednesday July 11, 2018 @10:12AM (#17507035)
The table in [1] has 0 in the carry flag for the SRA instructions, is that correct? I thought they shifted the lowest bit into the carry same as SRL.
Re:Writing a Game Boy emulator by qcoh on Wednesday July 11, 2018 @03:24PM (#17509590)
I think you're right, see [0].

Furthermore E9 is not "JP (HL)" but rather "JP HL". If I remember correctly a few timings or instruction sizes are off as well.

[0]: http://www.devrs.com/gb/files/opcodes.html

Re:Writing a Game Boy emulator by the_spacebyte on Wednesday July 11, 2018 @09:34AM (#17506694)
Perfect, thank you. I've been using this image but only to cross-check the opcodes values and what they meant.