1 ; Lynx system hardware includes
6 ; Bastian Schick's Lynx Documentation
7 ; http://www.geocities.com/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)
120 HTIMBKUP = $FD00 ; horizontal line timer (timer 0)
124 VTIMBKUP = $FD08 ; vertical blank timer (timer 2)
128 BAUDBKUP = $FD10 ; serial timer (timer 4)
165 AUDIO0 = $FD20 ; audio channel 0
166 AUDIO1 = $FD28 ; audio channel 1
167 AUDIO2 = $FD30 ; audio channel 2
168 AUDIO3 = $FD38 ; audio channel 3
206 ; Interrupt bits in INTRST and INTSET
207 TIMER0_INTERRUPT = $01
208 TIMER1_INTERRUPT = $02
209 TIMER2_INTERRUPT = $04
210 TIMER3_INTERRUPT = $08
211 TIMER4_INTERRUPT = $10
212 TIMER5_INTERRUPT = $20
213 TIMER6_INTERRUPT = $40
214 TIMER7_INTERRUPT = $80
216 HBL_INTERRUPT = TIMER0_INTERRUPT
217 VBL_INTERRUPT = TIMER2_INTERRUPT
218 SERIAL_INTERRUPT = TIMER4_INTERRUPT
230 TxIntEnable = %10000000
231 RxIntEnable = %01000000
232 TxParEnable = %00010000
234 TxOpenColl = %00000100
240 RxParityErr = %00010000
241 RxOverrun = %00001000
242 RxFrameErr = %00000100
244 ParityBit = %00000001
256 PALETTE = $FDA0 ; hardware rgb palette
257 GCOLMAP = $FDA0 ; hardware rgb palette (green)
258 RBCOLMAP = $FDB0 ; hardware rgb palette (red-blue)
262 ; *** Misc Hardware + 6502 vectors