feat: implement ch2

This commit is contained in:
2022-04-20 21:33:46 -03:00
parent 0184ec3e5e
commit ed3d275974
3 changed files with 132 additions and 33 deletions

View File

@@ -54,6 +54,7 @@ pub const Scheduler = struct {
.ApuChannel => |id| {
switch (id) {
0 => cpu.bus.apu.ch1.channelTimerOverflow(late),
1 => cpu.bus.apu.ch2.channelTimerOverflow(late),
else => {},
}
},