1 ; Lynx system hardware includes
6 ; Bastian Schick's Lynx Documentation
7 ; http://www.geocities.ws/SiliconValley/Byte/4242/lynx/
14 ; Sprite Control Block
104 ; *** Mikey Addresses
117 HTIMER = $FD00 ; horizontal line timer (timer 0)
118 VTIMER = $FD08 ; vertical blank timer (timer 2)
119 STIMER = $FD1C ; sound timer (timer 7)
121 HTIMBKUP = $FD00 ; horizontal line timer (timer 0)
125 VTIMBKUP = $FD08 ; vertical blank timer (timer 2)
129 BAUDBKUP = $FD10 ; serial timer (timer 4)
130 STIMBKUP = $FD1C ; sound timer (timer 7)
170 AUDIO0 = $FD20 ; audio channel 0
171 AUDIO1 = $FD28 ; audio channel 1
172 AUDIO2 = $FD30 ; audio channel 2
173 AUDIO3 = $FD38 ; audio channel 3
211 ; Interrupt bits in INTRST and INTSET
212 TIMER0_INTERRUPT = $01
213 TIMER1_INTERRUPT = $02
214 TIMER2_INTERRUPT = $04
215 TIMER3_INTERRUPT = $08
216 TIMER4_INTERRUPT = $10
217 TIMER5_INTERRUPT = $20
218 TIMER6_INTERRUPT = $40
219 TIMER7_INTERRUPT = $80
221 HBL_INTERRUPT = TIMER0_INTERRUPT
222 VBL_INTERRUPT = TIMER2_INTERRUPT
223 SERIAL_INTERRUPT = TIMER4_INTERRUPT
224 SND_INTERRUPT = TIMER7_INTERRUPT
236 TxIntEnable = %10000000
237 RxIntEnable = %01000000
238 TxParEnable = %00010000
240 TxOpenColl = %00000100
246 RxParityErr = %00010000
247 RxOverrun = %00001000
248 RxFrameErr = %00000100
250 ParityBit = %00000001
262 PALETTE = $FDA0 ; hardware rgb palette
263 GCOLMAP = $FDA0 ; hardware rgb palette (green)
264 RBCOLMAP = $FDB0 ; hardware rgb palette (red-blue)
268 ; *** Misc Hardware + 6502 vectors