From b939a22f68e51d6540294430232eb6b15b5939af Mon Sep 17 00:00:00 2001 From: karri Date: Tue, 11 Dec 2012 05:56:59 +0000 Subject: [PATCH] Define timer 7 for sound git-svn-id: svn://svn.cc65.org/cc65/trunk@5945 b7a2c559-68d2-44c3-8de9-860c34a00d81 --- asminc/lynx.inc | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/asminc/lynx.inc b/asminc/lynx.inc index 7c720542e..2225bf3c8 100644 --- a/asminc/lynx.inc +++ b/asminc/lynx.inc @@ -116,6 +116,7 @@ TIMER6 = $FD18 TIMER7 = $FD1C HTIMER = $FD00 ; horizontal line timer (timer 0) VTIMER = $FD08 ; vertical blank timer (timer 2) +STIMER = $FD1C ; sound timer (timer 7) HTIMBKUP = $FD00 ; horizontal line timer (timer 0) HTIMCTLA = $FD01 @@ -126,6 +127,10 @@ VTIMCTLA = $FD09 VTIMCNT = $FD0A VTIMCTLB = $FD0B BAUDBKUP = $FD10 ; serial timer (timer 4) +STIMBKUP = $FD1C ; sound timer (timer 7) +STIMCTLA = $FD1D +STIMCNT = $FD1E +STIMCTLB = $FD1F TIM0BKUP = $FD00 TIM0CTLA = $FD01 @@ -216,6 +221,7 @@ TIMER7_INTERRUPT = $80 HBL_INTERRUPT = TIMER0_INTERRUPT VBL_INTERRUPT = TIMER2_INTERRUPT SERIAL_INTERRUPT = TIMER4_INTERRUPT +SND_INTERRUPT = TIMER7_INTERRUPT INTRST = $FD80 INTSET = $FD81 -- 2.39.5