From: karri Date: Tue, 11 Dec 2012 05:56:59 +0000 (+0000) Subject: Define timer 7 for sound X-Git-Tag: V2.14~129 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=b939a22f68e51d6540294430232eb6b15b5939af;p=cc65 Define timer 7 for sound git-svn-id: svn://svn.cc65.org/cc65/trunk@5945 b7a2c559-68d2-44c3-8de9-860c34a00d81 --- 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