summaryrefslogtreecommitdiff
path: root/vcs.asm
blob: e7164424ad5e7ae3286a27e0292b4585831c80c8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
; vcsdrive - Simple Atari VCS driving game
;
; Copyright (C) 2024  Ian Cowburn (ianc@noddybox.demon.co.uk)
;
; This program is free software: you can redistribute it and/or modify
; it under the terms of the GNU General Public License as published by
; the Free Software Foundation, either version 3 of the License, or
; (at your option) any later version.
;
; This program is distributed in the hope that it will be useful,
; but WITHOUT ANY WARRANTY; without even the implied warranty of
; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
; GNU General Public License for more details.
;
; You should have received a copy of the GNU General Public License
; along with this program.  If not, see <http://www.gnu.org/licenses/>.
;
; -------------------------------------------------------------------------
;
; Atari VCS definitions
;
VSYNC	equ	$00
VBLANK	equ	$01
WSYNC	equ	$02
RSYNC	equ	$03
NUSIZ0	equ	$04
NUSIZ1	equ	$05
COLUP0	equ	$06
COLUP1	equ	$07
COLUPF	equ	$08
COLUBK	equ	$09
CTRLPF	equ	$0A
REFP0	equ	$0B
REFP1	equ	$0C
PF0	equ	$0D
PF1	equ	$0E
PF2	equ	$0F
RESP0	equ	$10
RESP1	equ	$11
RESM0	equ	$12
RESM1	equ	$13
RESBL	equ	$14
AUDC0	equ	$15
AUDC1	equ	$16
AUDF0	equ	$17
AUDF1	equ	$18
AUDV0	equ	$19
AUDV1	equ	$1A
GRP0	equ	$1B
GRP1	equ	$1C
ENAM0	equ	$1D
ENAM1	equ	$1E
ENABL	equ	$1F
HMP0	equ	$20
HMP1	equ	$21
HMM0	equ	$22
HMM1	equ	$23
HMBL	equ	$24
VDELP0	equ	$25
VDELP1	equ	$26
VDELBL	equ	$27
RESMP0	equ	$28
RESMP1	equ	$29
HMOVE	equ	$2A
HMCLR	equ	$2B
CXCLR	equ	$2C
CXM0P	equ	$30
CXM1P	equ	$31
CXP0FB	equ	$32
CXP1FB	equ	$33
CXM0FB	equ	$34
CXM1FB	equ	$35
CXBLPF	equ	$36
CXPPMM	equ	$37
INPT0	equ	$38
INPT1	equ	$39
INPT2	equ	$3A
INPT3	equ	$3B
INPT4	equ	$3C
INPT5	equ	$3D
SWCHA	equ	$0280
SWACNT	equ	$0281
SWCHB	equ	$0282
SWBCNT	equ	$0283
INTIM	equ	$0284
INSTAT	equ	$0285
TIM1T	equ	$0294
TIM8T	equ	$0295
TIM64T	equ	$0296
T1024T	equ	$0297