zeta0134 / LuaGB

A gameboy emulator written in pure Lua. Work in progress.
BSD 3-Clause "New" or "Revised" License
412 stars 35 forks source link

blargg: cgb_sound: 03-trigger #30

Open zeta0134 opened 5 years ago

zeta0134 commented 5 years ago

blargg_cgb_sound_trigger

The currently failing test has to do with the current position of the Frame Sequencer, which is presently ignored on trigger. A hardware quirk causes extra length clocking in some cases, depending on how far along the FrameSequencer is at the time of trigger, probably to help improve the overall accuracy of the length counter.