1 ;-------------------------------------------------------------------------
2 ; ANTIC Address Equates
3 ;-------------------------------------------------------------------------
7 VCOUNT = ANTIC + $0B ;vertical line counter
8 PENH = ANTIC + $0C ;light pen horizontal position
9 PENV = ANTIC + $0D ;light pen vertical position
10 NMIST = ANTIC + $0F ;NMI interrupt status
14 DMACTL = ANTIC + $00 ;DMA control
15 CHACTL = ANTIC + $01 ;character control
16 DLISTL = ANTIC + $02 ;low display list address
17 DLISTH = ANTIC + $03 ;high display list address
18 HSCROL = ANTIC + $04 ;horizontal scroll
19 VSCROL = ANTIC + $05 ;vertical scroll
20 PMBASE = ANTIC + $07 ;player-missile base address
21 CHBASE = ANTIC + $09 ;character base address
22 WSYNC = ANTIC + $0A ;wait for HBLANK synchronization
23 NMIEN = ANTIC + $0E ;NMI enable
24 NMIRES = ANTIC + $0F ;NMI interrupt reset
27 ;-------------------------------------------------------------------------
29 ;-------------------------------------------------------------------------
36 ; .byte DL_CHR40x8x1 + DL_LMS + DL_DLI
37 ; .word ScreenAlignment
38 ; .byte DL_BLK1 + DL_DLI
39 ; .byte DL_MAP320x1x1 + DL_LMS
45 ; .byte DL_MAP320x1x1 + DL_LMS
46 ; .word Screen + 40 * 100 ; 100 lines a 40 byte, 'Screen' has to be aligned correctly!
53 ; absolute instructions (non mode lines)
67 ; absolute instructions (mode lines)
69 DL_CHR40x8x1 = 2 ; monochrome, 40 character & 8 scanlines per mode line (GR. 0)
70 DL_CHR40x10x1 = 3 ; monochrome, 40 character & 10 scanlines per mode line
71 DL_CHR40x8x4 = 4 ; colour, 40 character & 8 scanlines per mode line (GR. 12)
72 DL_CHR40x16x4 = 5 ; colour, 40 character & 16 scanlines per mode line (GR. 13)
73 DL_CHR20x8x2 = 6 ; colour (duochrome per character), 20 character & 8 scanlines per mode line (GR. 1)
74 DL_CHR20x16x2 = 7 ; colour (duochrome per character), 20 character & 16 scanlines per mode line (GR. 2)
76 DL_MAP40x8x4 = 8 ; colour, 40 pixel & 8 scanlines per mode line (GR. 3)
77 DL_MAP80x4x2 = 9 ; 'duochrome', 80 pixel & 4 scanlines per mode line (GR.4)
78 DL_MAP80x4x4 = 10 ; colour, 80 pixel & 4 scanlines per mode line (GR.5)
79 DL_MAP160x2x2 = 11 ; 'duochrome', 160 pixel & 2 scanlines per mode line (GR.6)
80 DL_MAP160x1x2 = 12 ; 'duochrome', 160 pixel & 1 scanline per mode line (GR.14)
81 DL_MAP160x2x4 = 13 ; 4 colours, 160 pixel & 2 scanlines per mode line (GR.7)
82 DL_MAP160x1x4 = 14 ; 4 colours, 160 pixel & 1 scanline per mode line (GR.15)
83 DL_MAP320x1x1 = 15 ; monochrome, 320 pixel & 1 scanline per mode line (GR.8)
85 ; modifiers on mode lines...