aboutsummaryrefslogtreecommitdiffstats
path: root/src/gb.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* apu: register-level emulation of 0xFF10-0xFF3F (fixes music fades)gbc dev2026-07-151-2/+14
| | | | | | | | | The APU was a black hole: reads returned 0xFF, writes were dropped. That hangs any game that fades music out by decrementing the NR50/rAUDVOL volume register until it reads 0 (Pokemon's StopMusic spin-wait) - the write never stuck, the read never hit 0, infinite loop. Store the 48 sound registers and return them with the standard hardware read-back OR-masks (NR50 mask 0x00 = exact readback). No synthesis, just correct register behavior.
* core emulator: SM83 CPU, MMU, timer, PPU, CGB supportgbc dev2026-07-041-0/+201
Passes blargg cpu_instrs (all 11), instr_timing, mem_timing.