From c7cf8a2eb4178f59a5dfe2c3ad6bf1a39eeca523 Mon Sep 17 00:00:00 2001 From: Javier Degirolmo Date: Sun, 15 Jul 2012 21:02:54 -0300 Subject: Added BGM pausing support (stop BGM to pause, resume BGM to unpause) --- src-z80/core/main.z80 | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'src-z80/core/main.z80') diff --git a/src-z80/core/main.z80 b/src-z80/core/main.z80 index 491860a..3a5a441 100644 --- a/src-z80/core/main.z80 +++ b/src-z80/core/main.z80 @@ -31,10 +31,6 @@ EntryPoint: ld (hl), l ld (hl), l - ;ex af, af' ; Set 9th bank bit to 0 by default - ;xor a ; (0 = $000000-$7FFFFF range aka MD mode) - ;ex af, af' ; (1 = $800000-$FFFFFF range aka 32X mode) - ld ix, $4000 ; YM2612 I/O ports base address ld iyh, $40 @@ -120,6 +116,8 @@ RunCommand: jp z, PlayBGM dec a ; Command $05: stop BGM jp z, StopBGMCmd + dec a ; Command $06: resume BGM + jp z, ResumeBGM PollPCM -- cgit v1.2.3