Mercurial > hg > Members > kono > nitros9-code
annotate defs/atari.d @ 2634:a34c08cdfcb2
Stable dwread/dwrite... pipeman also assembles.
author | Boisy Pitre <boisy.pitre@nuance.com> |
---|---|
date | Mon, 27 Feb 2012 19:54:55 -0600 |
parents | d1ea3dc90082 |
children | 283433fa565c |
rev | line source |
---|---|
2624 | 1 IFNE ATARI.D-1 |
2 ATARI.D SET 1 | |
2621
f27161fc2926
Added atari.d... new defs file for all things Atari
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff
changeset
|
3 |
f27161fc2926
Added atari.d... new defs file for all things Atari
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff
changeset
|
4 ******************************************************************** |
f27161fc2926
Added atari.d... new defs file for all things Atari
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff
changeset
|
5 * AtariDefs - NitrOS-9 System Definitions for the Atari XE/XL |
f27161fc2926
Added atari.d... new defs file for all things Atari
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff
changeset
|
6 * |
2625
d1ea3dc90082
More progress... now booting with DriveWire
Boisy Pitre <boisy.pitre@nuance.com>
parents:
2624
diff
changeset
|
7 * This is a high level view of the Atari XE/XL memory map as setup by |
d1ea3dc90082
More progress... now booting with DriveWire
Boisy Pitre <boisy.pitre@nuance.com>
parents:
2624
diff
changeset
|
8 * NitrOS-9. |
d1ea3dc90082
More progress... now booting with DriveWire
Boisy Pitre <boisy.pitre@nuance.com>
parents:
2624
diff
changeset
|
9 * |
d1ea3dc90082
More progress... now booting with DriveWire
Boisy Pitre <boisy.pitre@nuance.com>
parents:
2624
diff
changeset
|
10 * $0000----> ================================== |
d1ea3dc90082
More progress... now booting with DriveWire
Boisy Pitre <boisy.pitre@nuance.com>
parents:
2624
diff
changeset
|
11 * | | |
d1ea3dc90082
More progress... now booting with DriveWire
Boisy Pitre <boisy.pitre@nuance.com>
parents:
2624
diff
changeset
|
12 * | NitrOS-9 Globals/Stack | |
d1ea3dc90082
More progress... now booting with DriveWire
Boisy Pitre <boisy.pitre@nuance.com>
parents:
2624
diff
changeset
|
13 * | | |
d1ea3dc90082
More progress... now booting with DriveWire
Boisy Pitre <boisy.pitre@nuance.com>
parents:
2624
diff
changeset
|
14 * $0500---->|==================================| |
d1ea3dc90082
More progress... now booting with DriveWire
Boisy Pitre <boisy.pitre@nuance.com>
parents:
2624
diff
changeset
|
15 * | | |
d1ea3dc90082
More progress... now booting with DriveWire
Boisy Pitre <boisy.pitre@nuance.com>
parents:
2624
diff
changeset
|
16 * | Atari | |
d1ea3dc90082
More progress... now booting with DriveWire
Boisy Pitre <boisy.pitre@nuance.com>
parents:
2624
diff
changeset
|
17 * $0500-$08BF | Screen Memory | |
d1ea3dc90082
More progress... now booting with DriveWire
Boisy Pitre <boisy.pitre@nuance.com>
parents:
2624
diff
changeset
|
18 * | (40x24) | |
d1ea3dc90082
More progress... now booting with DriveWire
Boisy Pitre <boisy.pitre@nuance.com>
parents:
2624
diff
changeset
|
19 * | | |
d1ea3dc90082
More progress... now booting with DriveWire
Boisy Pitre <boisy.pitre@nuance.com>
parents:
2624
diff
changeset
|
20 * |----------------------------------| |
d1ea3dc90082
More progress... now booting with DriveWire
Boisy Pitre <boisy.pitre@nuance.com>
parents:
2624
diff
changeset
|
21 * $08C0-$08FF | ANTIC Display List | |
d1ea3dc90082
More progress... now booting with DriveWire
Boisy Pitre <boisy.pitre@nuance.com>
parents:
2624
diff
changeset
|
22 * $9000---->|----------------------------------| |
d1ea3dc90082
More progress... now booting with DriveWire
Boisy Pitre <boisy.pitre@nuance.com>
parents:
2624
diff
changeset
|
23 * | | |
d1ea3dc90082
More progress... now booting with DriveWire
Boisy Pitre <boisy.pitre@nuance.com>
parents:
2624
diff
changeset
|
24 * . . . . . . . . . . . . . . . . . |
d1ea3dc90082
More progress... now booting with DriveWire
Boisy Pitre <boisy.pitre@nuance.com>
parents:
2624
diff
changeset
|
25 * | | |
d1ea3dc90082
More progress... now booting with DriveWire
Boisy Pitre <boisy.pitre@nuance.com>
parents:
2624
diff
changeset
|
26 * | RAM available for allocation | |
d1ea3dc90082
More progress... now booting with DriveWire
Boisy Pitre <boisy.pitre@nuance.com>
parents:
2624
diff
changeset
|
27 * | by NitrOS-9 and Apps | |
d1ea3dc90082
More progress... now booting with DriveWire
Boisy Pitre <boisy.pitre@nuance.com>
parents:
2624
diff
changeset
|
28 * | | |
d1ea3dc90082
More progress... now booting with DriveWire
Boisy Pitre <boisy.pitre@nuance.com>
parents:
2624
diff
changeset
|
29 * . . . . . . . . . . . . . . . . . |
d1ea3dc90082
More progress... now booting with DriveWire
Boisy Pitre <boisy.pitre@nuance.com>
parents:
2624
diff
changeset
|
30 * | | |
d1ea3dc90082
More progress... now booting with DriveWire
Boisy Pitre <boisy.pitre@nuance.com>
parents:
2624
diff
changeset
|
31 * $C000---->|==================================| |
d1ea3dc90082
More progress... now booting with DriveWire
Boisy Pitre <boisy.pitre@nuance.com>
parents:
2624
diff
changeset
|
32 * | | |
d1ea3dc90082
More progress... now booting with DriveWire
Boisy Pitre <boisy.pitre@nuance.com>
parents:
2624
diff
changeset
|
33 * $C000-$CFFF | ROM | |
d1ea3dc90082
More progress... now booting with DriveWire
Boisy Pitre <boisy.pitre@nuance.com>
parents:
2624
diff
changeset
|
34 * | | |
d1ea3dc90082
More progress... now booting with DriveWire
Boisy Pitre <boisy.pitre@nuance.com>
parents:
2624
diff
changeset
|
35 * $D000---->|==================================| |
d1ea3dc90082
More progress... now booting with DriveWire
Boisy Pitre <boisy.pitre@nuance.com>
parents:
2624
diff
changeset
|
36 * | | |
d1ea3dc90082
More progress... now booting with DriveWire
Boisy Pitre <boisy.pitre@nuance.com>
parents:
2624
diff
changeset
|
37 * | XEGS Memory Mapped I/O Region | |
d1ea3dc90082
More progress... now booting with DriveWire
Boisy Pitre <boisy.pitre@nuance.com>
parents:
2624
diff
changeset
|
38 * |(may differ in location on others)| |
d1ea3dc90082
More progress... now booting with DriveWire
Boisy Pitre <boisy.pitre@nuance.com>
parents:
2624
diff
changeset
|
39 * | | |
d1ea3dc90082
More progress... now booting with DriveWire
Boisy Pitre <boisy.pitre@nuance.com>
parents:
2624
diff
changeset
|
40 * $D800---->|==================================| |
d1ea3dc90082
More progress... now booting with DriveWire
Boisy Pitre <boisy.pitre@nuance.com>
parents:
2624
diff
changeset
|
41 * | | |
d1ea3dc90082
More progress... now booting with DriveWire
Boisy Pitre <boisy.pitre@nuance.com>
parents:
2624
diff
changeset
|
42 * $D800-$FFFF | ROM | |
d1ea3dc90082
More progress... now booting with DriveWire
Boisy Pitre <boisy.pitre@nuance.com>
parents:
2624
diff
changeset
|
43 * | | |
d1ea3dc90082
More progress... now booting with DriveWire
Boisy Pitre <boisy.pitre@nuance.com>
parents:
2624
diff
changeset
|
44 * |==================================| |
d1ea3dc90082
More progress... now booting with DriveWire
Boisy Pitre <boisy.pitre@nuance.com>
parents:
2624
diff
changeset
|
45 * |
d1ea3dc90082
More progress... now booting with DriveWire
Boisy Pitre <boisy.pitre@nuance.com>
parents:
2624
diff
changeset
|
46 * |
d1ea3dc90082
More progress... now booting with DriveWire
Boisy Pitre <boisy.pitre@nuance.com>
parents:
2624
diff
changeset
|
47 * Atari Hardware is documented here: |
d1ea3dc90082
More progress... now booting with DriveWire
Boisy Pitre <boisy.pitre@nuance.com>
parents:
2624
diff
changeset
|
48 * http://user.xmission.com/~trevin/atari/pokey_regs.html |
d1ea3dc90082
More progress... now booting with DriveWire
Boisy Pitre <boisy.pitre@nuance.com>
parents:
2624
diff
changeset
|
49 * |
2621
f27161fc2926
Added atari.d... new defs file for all things Atari
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff
changeset
|
50 * $Id$ |
f27161fc2926
Added atari.d... new defs file for all things Atari
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff
changeset
|
51 * |
f27161fc2926
Added atari.d... new defs file for all things Atari
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff
changeset
|
52 * Edt/Rev YYYY/MM/DD Modified by |
f27161fc2926
Added atari.d... new defs file for all things Atari
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff
changeset
|
53 * Comment |
f27161fc2926
Added atari.d... new defs file for all things Atari
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff
changeset
|
54 * ------------------------------------------------------------------ |
f27161fc2926
Added atari.d... new defs file for all things Atari
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff
changeset
|
55 * 2012/02/23 Boisy G. Pitre |
f27161fc2926
Added atari.d... new defs file for all things Atari
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff
changeset
|
56 * Started |
f27161fc2926
Added atari.d... new defs file for all things Atari
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff
changeset
|
57 |
f27161fc2926
Added atari.d... new defs file for all things Atari
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff
changeset
|
58 NAM AtariDefs |
f27161fc2926
Added atari.d... new defs file for all things Atari
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff
changeset
|
59 TTL NitrOS-9 System Definitions for the Atari XE/XL |
f27161fc2926
Added atari.d... new defs file for all things Atari
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff
changeset
|
60 |
f27161fc2926
Added atari.d... new defs file for all things Atari
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff
changeset
|
61 |
f27161fc2926
Added atari.d... new defs file for all things Atari
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff
changeset
|
62 |
2624 | 63 ********************************** |
64 * Power Line Frequency Definitions | |
65 * | |
66 Hz50 EQU 1 Assemble clock for 50 hz power | |
67 Hz60 EQU 2 Assemble clock for 60 hz power | |
68 PwrLnFrq SET Hz60 Set to Appropriate freq | |
69 | |
70 | |
71 ********************************** | |
72 * Ticks per second | |
73 * | |
74 IFEQ PwrLnFrq-Hz50 | |
75 TkPerSec SET 50 | |
76 ELSE | |
77 TkPerSec SET 60 | |
78 ENDC | |
79 | |
80 | |
81 ************************************************* | |
82 * | |
83 * NitrOS-9 Level 1 Section | |
84 * | |
85 ************************************************* | |
86 | |
87 HW.Page SET $FF Device descriptor hardware page | |
88 | |
89 | |
2621
f27161fc2926
Added atari.d... new defs file for all things Atari
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff
changeset
|
90 ******************************************************************** |
f27161fc2926
Added atari.d... new defs file for all things Atari
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff
changeset
|
91 * NitrOS-9 Memory Definitions for the Atari XE/XL |
f27161fc2926
Added atari.d... new defs file for all things Atari
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff
changeset
|
92 * |
f27161fc2926
Added atari.d... new defs file for all things Atari
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff
changeset
|
93 * The Atari's support chips have certain alignment restrictions for |
f27161fc2926
Added atari.d... new defs file for all things Atari
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff
changeset
|
94 * things like screen memory, display lists and character maps. For this |
f27161fc2926
Added atari.d... new defs file for all things Atari
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff
changeset
|
95 * reason, we reserve some low memory for the screen. |
f27161fc2926
Added atari.d... new defs file for all things Atari
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff
changeset
|
96 * |
f27161fc2926
Added atari.d... new defs file for all things Atari
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff
changeset
|
97 * Screen memory range is $0500-$08FF (1K). Of that, 40*24 (960) bytes |
f27161fc2926
Added atari.d... new defs file for all things Atari
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff
changeset
|
98 * are for the screen buffer and the remaining 64 bytes are for the |
f27161fc2926
Added atari.d... new defs file for all things Atari
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff
changeset
|
99 * ANTIC's Display List |
f27161fc2926
Added atari.d... new defs file for all things Atari
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff
changeset
|
100 G.Cols EQU 40 |
f27161fc2926
Added atari.d... new defs file for all things Atari
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff
changeset
|
101 G.Rows EQU 24 |
f27161fc2926
Added atari.d... new defs file for all things Atari
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff
changeset
|
102 G.ScrStart EQU $0500 |
f27161fc2926
Added atari.d... new defs file for all things Atari
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff
changeset
|
103 G.DList EQU G.ScrStart+(G.Cols*G.Rows) |
f27161fc2926
Added atari.d... new defs file for all things Atari
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff
changeset
|
104 G.DListSize EQU 64 |
f27161fc2926
Added atari.d... new defs file for all things Atari
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff
changeset
|
105 |
f27161fc2926
Added atari.d... new defs file for all things Atari
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff
changeset
|
106 * The Character Set must be aligned to a 4K address. We can really only |
f27161fc2926
Added atari.d... new defs file for all things Atari
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff
changeset
|
107 * guarnatee that in the Krn module, which is always at the end of RAM. So |
f27161fc2926
Added atari.d... new defs file for all things Atari
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff
changeset
|
108 * for now, the character set is located at $F800 |
f27161fc2926
Added atari.d... new defs file for all things Atari
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff
changeset
|
109 G.CharSetAddr EQU $F800 |
f27161fc2926
Added atari.d... new defs file for all things Atari
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff
changeset
|
110 |
f27161fc2926
Added atari.d... new defs file for all things Atari
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff
changeset
|
111 * POKEY requires shadow registers. We allocate them in the kernel's DP |
f27161fc2926
Added atari.d... new defs file for all things Atari
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff
changeset
|
112 * (Yes, we are stealing an existing variable that is so old it should be |
f27161fc2926
Added atari.d... new defs file for all things Atari
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff
changeset
|
113 * removed from os9defs) |
f27161fc2926
Added atari.d... new defs file for all things Atari
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff
changeset
|
114 D.IRQENShdw EQU D.WDBtDr |
f27161fc2926
Added atari.d... new defs file for all things Atari
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff
changeset
|
115 |
f27161fc2926
Added atari.d... new defs file for all things Atari
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff
changeset
|
116 |
f27161fc2926
Added atari.d... new defs file for all things Atari
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff
changeset
|
117 ******************************************************************** |
f27161fc2926
Added atari.d... new defs file for all things Atari
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff
changeset
|
118 * Atari XE/XL Hardware Definitions |
f27161fc2926
Added atari.d... new defs file for all things Atari
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff
changeset
|
119 * |
f27161fc2926
Added atari.d... new defs file for all things Atari
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff
changeset
|
120 * These were lifted from the Atari OS disassembly, and represents all |
f27161fc2926
Added atari.d... new defs file for all things Atari
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff
changeset
|
121 * of the hardware registers available on the Atari XE/XL |
f27161fc2926
Added atari.d... new defs file for all things Atari
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff
changeset
|
122 * |
f27161fc2926
Added atari.d... new defs file for all things Atari
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff
changeset
|
123 ** CTIA/GTIA Address Equates |
f27161fc2926
Added atari.d... new defs file for all things Atari
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff
changeset
|
124 CTIA EQU $D000 ;CTIA/GTIA area |
f27161fc2926
Added atari.d... new defs file for all things Atari
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff
changeset
|
125 |
f27161fc2926
Added atari.d... new defs file for all things Atari
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff
changeset
|
126 * Read/Write Addresses |
f27161fc2926
Added atari.d... new defs file for all things Atari
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff
changeset
|
127 CONSOL EQU $D01F ;console switches and speaker control |
f27161fc2926
Added atari.d... new defs file for all things Atari
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff
changeset
|
128 |
f27161fc2926
Added atari.d... new defs file for all things Atari
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff
changeset
|
129 * Read Addresses |
f27161fc2926
Added atari.d... new defs file for all things Atari
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff
changeset
|
130 M0PF EQU $D000 ;missle 0 and playfield collision |
f27161fc2926
Added atari.d... new defs file for all things Atari
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff
changeset
|
131 M1PF EQU $D001 ;missle 1 and playfield collision |
f27161fc2926
Added atari.d... new defs file for all things Atari
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff
changeset
|
132 M2PF EQU $D002 ;missle 2 and playfield collision |
f27161fc2926
Added atari.d... new defs file for all things Atari
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff
changeset
|
133 M3PF EQU $D003 ;missle 3 and playfield collision |
f27161fc2926
Added atari.d... new defs file for all things Atari
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff
changeset
|
134 |
f27161fc2926
Added atari.d... new defs file for all things Atari
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff
changeset
|
135 P0PF EQU $D004 ;player 0 and playfield collision |
f27161fc2926
Added atari.d... new defs file for all things Atari
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff
changeset
|
136 P1PF EQU $D005 ;player 1 and playfield collision |
f27161fc2926
Added atari.d... new defs file for all things Atari
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff
changeset
|
137 P2PF EQU $D006 ;player 2 and playfield collision |
f27161fc2926
Added atari.d... new defs file for all things Atari
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff
changeset
|
138 P3PF EQU $D007 ;player 3 and playfield collision |
f27161fc2926
Added atari.d... new defs file for all things Atari
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff
changeset
|
139 |
f27161fc2926
Added atari.d... new defs file for all things Atari
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff
changeset
|
140 M0PL EQU $D008 ;missle 0 and player collision |
f27161fc2926
Added atari.d... new defs file for all things Atari
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff
changeset
|
141 M1PL EQU $D009 ;missle 1 and player collision |
f27161fc2926
Added atari.d... new defs file for all things Atari
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff
changeset
|
142 M2PL EQU $D00A ;missle 2 and player collision |
f27161fc2926
Added atari.d... new defs file for all things Atari
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff
changeset
|
143 M3PL EQU $D00B ;missle 3 and player collision |
f27161fc2926
Added atari.d... new defs file for all things Atari
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff
changeset
|
144 |
f27161fc2926
Added atari.d... new defs file for all things Atari
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff
changeset
|
145 P0PL EQU $D00C ;player 0 and player collision |
f27161fc2926
Added atari.d... new defs file for all things Atari
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff
changeset
|
146 P1PL EQU $D00D ;player 1 and player collision |
f27161fc2926
Added atari.d... new defs file for all things Atari
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff
changeset
|
147 P2PL EQU $D00E ;player 2 and player collision |
f27161fc2926
Added atari.d... new defs file for all things Atari
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff
changeset
|
148 P3PL EQU $D00F ;player 3 and player collision |
f27161fc2926
Added atari.d... new defs file for all things Atari
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff
changeset
|
149 |
f27161fc2926
Added atari.d... new defs file for all things Atari
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff
changeset
|
150 TRIG0 EQU $D010 ;joystick trigger 0 |
f27161fc2926
Added atari.d... new defs file for all things Atari
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff
changeset
|
151 TRIG1 EQU $D011 ;joystick trigger 1 |
f27161fc2926
Added atari.d... new defs file for all things Atari
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff
changeset
|
152 |
f27161fc2926
Added atari.d... new defs file for all things Atari
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff
changeset
|
153 TRIG2 EQU $D012 ;cartridge interlock |
f27161fc2926
Added atari.d... new defs file for all things Atari
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff
changeset
|
154 TRIG3 EQU $D013 ;ACMI module interlock |
f27161fc2926
Added atari.d... new defs file for all things Atari
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff
changeset
|
155 |
f27161fc2926
Added atari.d... new defs file for all things Atari
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff
changeset
|
156 PAL EQU $D014 ;PAL/NTSC indicator |
f27161fc2926
Added atari.d... new defs file for all things Atari
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff
changeset
|
157 |
f27161fc2926
Added atari.d... new defs file for all things Atari
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff
changeset
|
158 * Write Addresses |
f27161fc2926
Added atari.d... new defs file for all things Atari
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff
changeset
|
159 HPOSP0 EQU $D000 ;player 0 horizontal position |
f27161fc2926
Added atari.d... new defs file for all things Atari
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff
changeset
|
160 HPOSP1 EQU $D001 ;player 1 horizontal position |
f27161fc2926
Added atari.d... new defs file for all things Atari
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff
changeset
|
161 HPOSP2 EQU $D002 ;player 2 horizontal position |
f27161fc2926
Added atari.d... new defs file for all things Atari
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff
changeset
|
162 HPOSP3 EQU $D003 ;player 3 horizontal position |
f27161fc2926
Added atari.d... new defs file for all things Atari
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff
changeset
|
163 |
f27161fc2926
Added atari.d... new defs file for all things Atari
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff
changeset
|
164 HPOSM0 EQU $D004 ;missle 0 horizontal position |
f27161fc2926
Added atari.d... new defs file for all things Atari
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff
changeset
|
165 HPOSM1 EQU $D005 ;missle 1 horizontal position |
f27161fc2926
Added atari.d... new defs file for all things Atari
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff
changeset
|
166 HPOSM2 EQU $D006 ;missle 2 horizontal position |
f27161fc2926
Added atari.d... new defs file for all things Atari
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff
changeset
|
167 HPOSM3 EQU $D007 ;missle 3 horizontal position |
f27161fc2926
Added atari.d... new defs file for all things Atari
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff
changeset
|
168 |
f27161fc2926
Added atari.d... new defs file for all things Atari
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff
changeset
|
169 SIZEP0 EQU $D008 ;player 0 size |
f27161fc2926
Added atari.d... new defs file for all things Atari
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff
changeset
|
170 SIZEP1 EQU $D009 ;player 1 size |
f27161fc2926
Added atari.d... new defs file for all things Atari
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff
changeset
|
171 SIZEP2 EQU $D00A ;player 2 size |
f27161fc2926
Added atari.d... new defs file for all things Atari
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff
changeset
|
172 SIZEP3 EQU $D00B ;player 3 size |
f27161fc2926
Added atari.d... new defs file for all things Atari
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff
changeset
|
173 |
f27161fc2926
Added atari.d... new defs file for all things Atari
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff
changeset
|
174 SIZEM EQU $D00C ;missle sizes |
f27161fc2926
Added atari.d... new defs file for all things Atari
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff
changeset
|
175 |
f27161fc2926
Added atari.d... new defs file for all things Atari
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff
changeset
|
176 GRAFP0 EQU $D00D ;player 0 graphics |
f27161fc2926
Added atari.d... new defs file for all things Atari
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff
changeset
|
177 GRAFP1 EQU $D00E ;player 1 graphics |
f27161fc2926
Added atari.d... new defs file for all things Atari
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff
changeset
|
178 GRAFP2 EQU $D00F ;player 2 graphics |
f27161fc2926
Added atari.d... new defs file for all things Atari
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff
changeset
|
179 GRAFP3 EQU $D010 ;player 3 graphics |
f27161fc2926
Added atari.d... new defs file for all things Atari
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff
changeset
|
180 |
f27161fc2926
Added atari.d... new defs file for all things Atari
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff
changeset
|
181 GRAFM EQU $D011 ;missle graphics |
f27161fc2926
Added atari.d... new defs file for all things Atari
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff
changeset
|
182 |
f27161fc2926
Added atari.d... new defs file for all things Atari
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff
changeset
|
183 COLPM0 EQU $D012 ;player-missle 0 color/luminance |
f27161fc2926
Added atari.d... new defs file for all things Atari
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff
changeset
|
184 COLPM1 EQU $D013 ;player-missle 1 color/luminance |
f27161fc2926
Added atari.d... new defs file for all things Atari
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff
changeset
|
185 COLPM2 EQU $D014 ;player-missle 2 color/luminance |
f27161fc2926
Added atari.d... new defs file for all things Atari
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff
changeset
|
186 COLPM3 EQU $D015 ;player-missle 3 color/luminance |
f27161fc2926
Added atari.d... new defs file for all things Atari
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff
changeset
|
187 |
f27161fc2926
Added atari.d... new defs file for all things Atari
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff
changeset
|
188 COLPF0 EQU $D016 ;playfield 0 color/luminance |
f27161fc2926
Added atari.d... new defs file for all things Atari
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff
changeset
|
189 COLPF1 EQU $D017 ;playfield 1 color/luminance |
f27161fc2926
Added atari.d... new defs file for all things Atari
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff
changeset
|
190 COLPF2 EQU $D018 ;playfield 2 color/luminance |
f27161fc2926
Added atari.d... new defs file for all things Atari
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff
changeset
|
191 COLPF3 EQU $D019 ;playfield 3 color/luminance |
f27161fc2926
Added atari.d... new defs file for all things Atari
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff
changeset
|
192 |
f27161fc2926
Added atari.d... new defs file for all things Atari
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff
changeset
|
193 COLBK EQU $D01A ;background color/luminance |
f27161fc2926
Added atari.d... new defs file for all things Atari
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff
changeset
|
194 |
f27161fc2926
Added atari.d... new defs file for all things Atari
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff
changeset
|
195 PRIOR EQU $D01B ;priority select |
f27161fc2926
Added atari.d... new defs file for all things Atari
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff
changeset
|
196 VDELAY EQU $D01C ;vertical delay |
f27161fc2926
Added atari.d... new defs file for all things Atari
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff
changeset
|
197 GRACTL EQU $D01D ;graphic control |
f27161fc2926
Added atari.d... new defs file for all things Atari
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff
changeset
|
198 HITCLR EQU $D01E ;collision clear |
f27161fc2926
Added atari.d... new defs file for all things Atari
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff
changeset
|
199 |
f27161fc2926
Added atari.d... new defs file for all things Atari
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff
changeset
|
200 |
f27161fc2926
Added atari.d... new defs file for all things Atari
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff
changeset
|
201 ** POKEY Address Equates |
f27161fc2926
Added atari.d... new defs file for all things Atari
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff
changeset
|
202 POKEY EQU $D200 ;POKEY area |
f27161fc2926
Added atari.d... new defs file for all things Atari
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff
changeset
|
203 |
f27161fc2926
Added atari.d... new defs file for all things Atari
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff
changeset
|
204 * Read Addresses |
f27161fc2926
Added atari.d... new defs file for all things Atari
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff
changeset
|
205 POT0 EQU $D200 ;potentiometer 0 |
f27161fc2926
Added atari.d... new defs file for all things Atari
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff
changeset
|
206 POT1 EQU $D201 ;potentiometer 1 |
f27161fc2926
Added atari.d... new defs file for all things Atari
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff
changeset
|
207 POT2 EQU $D202 ;potentiometer 2 |
f27161fc2926
Added atari.d... new defs file for all things Atari
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff
changeset
|
208 POT3 EQU $D203 ;potentiometer 3 |
f27161fc2926
Added atari.d... new defs file for all things Atari
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff
changeset
|
209 POT4 EQU $D204 ;potentiometer 4 |
f27161fc2926
Added atari.d... new defs file for all things Atari
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff
changeset
|
210 POT5 EQU $D205 ;potentiometer 5 |
f27161fc2926
Added atari.d... new defs file for all things Atari
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff
changeset
|
211 POT6 EQU $D206 ;potentiometer 6 |
f27161fc2926
Added atari.d... new defs file for all things Atari
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff
changeset
|
212 POT7 EQU $D207 ;potentiometer 7 |
f27161fc2926
Added atari.d... new defs file for all things Atari
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff
changeset
|
213 |
f27161fc2926
Added atari.d... new defs file for all things Atari
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff
changeset
|
214 ALLPOT EQU $D208 ;potentiometer port state |
f27161fc2926
Added atari.d... new defs file for all things Atari
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff
changeset
|
215 KBCODE EQU $D209 ;keyboard code |
f27161fc2926
Added atari.d... new defs file for all things Atari
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff
changeset
|
216 RANDOM EQU $D20A ;random number generator |
f27161fc2926
Added atari.d... new defs file for all things Atari
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff
changeset
|
217 SERIN EQU $D20D ;serial port input |
f27161fc2926
Added atari.d... new defs file for all things Atari
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff
changeset
|
218 IRQST EQU $D20E ;IRQ interrupt status |
2634
a34c08cdfcb2
Stable dwread/dwrite... pipeman also assembles.
Boisy Pitre <boisy.pitre@nuance.com>
parents:
2625
diff
changeset
|
219 IRQST.BREAKDOWN equ %10000000 |
a34c08cdfcb2
Stable dwread/dwrite... pipeman also assembles.
Boisy Pitre <boisy.pitre@nuance.com>
parents:
2625
diff
changeset
|
220 IRQST.KEYDOWN equ %01000000 |
a34c08cdfcb2
Stable dwread/dwrite... pipeman also assembles.
Boisy Pitre <boisy.pitre@nuance.com>
parents:
2625
diff
changeset
|
221 IRQST.SERINRDY equ %00100000 |
a34c08cdfcb2
Stable dwread/dwrite... pipeman also assembles.
Boisy Pitre <boisy.pitre@nuance.com>
parents:
2625
diff
changeset
|
222 IRQST.SEROUTNEEDED equ %00010000 |
a34c08cdfcb2
Stable dwread/dwrite... pipeman also assembles.
Boisy Pitre <boisy.pitre@nuance.com>
parents:
2625
diff
changeset
|
223 IRQST.SEROUTDONE equ %00001000 |
a34c08cdfcb2
Stable dwread/dwrite... pipeman also assembles.
Boisy Pitre <boisy.pitre@nuance.com>
parents:
2625
diff
changeset
|
224 IRQST.TIMER4 equ %00000100 |
a34c08cdfcb2
Stable dwread/dwrite... pipeman also assembles.
Boisy Pitre <boisy.pitre@nuance.com>
parents:
2625
diff
changeset
|
225 IRQST.TIMER2 equ %00000010 |
a34c08cdfcb2
Stable dwread/dwrite... pipeman also assembles.
Boisy Pitre <boisy.pitre@nuance.com>
parents:
2625
diff
changeset
|
226 IRQST.TIMER1 equ %00000001 |
a34c08cdfcb2
Stable dwread/dwrite... pipeman also assembles.
Boisy Pitre <boisy.pitre@nuance.com>
parents:
2625
diff
changeset
|
227 |
2621
f27161fc2926
Added atari.d... new defs file for all things Atari
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff
changeset
|
228 SKSTAT EQU $D20F ;serial port and keyboard status |
f27161fc2926
Added atari.d... new defs file for all things Atari
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff
changeset
|
229 |
f27161fc2926
Added atari.d... new defs file for all things Atari
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff
changeset
|
230 * Write Addresses |
f27161fc2926
Added atari.d... new defs file for all things Atari
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff
changeset
|
231 AUDF1 EQU $D200 ;channel 1 audio frequency |
f27161fc2926
Added atari.d... new defs file for all things Atari
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff
changeset
|
232 AUDC1 EQU $D201 ;channel 1 audio control |
f27161fc2926
Added atari.d... new defs file for all things Atari
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff
changeset
|
233 |
f27161fc2926
Added atari.d... new defs file for all things Atari
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff
changeset
|
234 AUDF2 EQU $D202 ;channel 2 audio frequency |
f27161fc2926
Added atari.d... new defs file for all things Atari
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff
changeset
|
235 AUDC2 EQU $D203 ;channel 2 audio control |
f27161fc2926
Added atari.d... new defs file for all things Atari
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff
changeset
|
236 |
f27161fc2926
Added atari.d... new defs file for all things Atari
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff
changeset
|
237 AUDF3 EQU $D204 ;channel 3 audio frequency |
f27161fc2926
Added atari.d... new defs file for all things Atari
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff
changeset
|
238 AUDC3 EQU $D205 ;channel 3 audio control |
f27161fc2926
Added atari.d... new defs file for all things Atari
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff
changeset
|
239 |
f27161fc2926
Added atari.d... new defs file for all things Atari
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff
changeset
|
240 AUDF4 EQU $D206 ;channel 4 audio frequency |
f27161fc2926
Added atari.d... new defs file for all things Atari
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff
changeset
|
241 AUDC4 EQU $D207 ;channel 4 audio control |
f27161fc2926
Added atari.d... new defs file for all things Atari
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff
changeset
|
242 |
f27161fc2926
Added atari.d... new defs file for all things Atari
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff
changeset
|
243 AUDCTL EQU $D208 ;audio control |
f27161fc2926
Added atari.d... new defs file for all things Atari
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff
changeset
|
244 STIMER EQU $D209 ;start timers |
f27161fc2926
Added atari.d... new defs file for all things Atari
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff
changeset
|
245 SKRES EQU $D20A ;reset SKSTAT status |
f27161fc2926
Added atari.d... new defs file for all things Atari
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff
changeset
|
246 POTGO EQU $D20B ;start potentiometer scan sequence |
f27161fc2926
Added atari.d... new defs file for all things Atari
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff
changeset
|
247 SEROUT EQU $D20D ;serial port output |
f27161fc2926
Added atari.d... new defs file for all things Atari
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff
changeset
|
248 IRQEN EQU $D20E ;IRQ interrupt enable |
2634
a34c08cdfcb2
Stable dwread/dwrite... pipeman also assembles.
Boisy Pitre <boisy.pitre@nuance.com>
parents:
2625
diff
changeset
|
249 IRQEN.BREAKDOWN equ %10000000 |
a34c08cdfcb2
Stable dwread/dwrite... pipeman also assembles.
Boisy Pitre <boisy.pitre@nuance.com>
parents:
2625
diff
changeset
|
250 IRQEN.KEYDOWN equ %01000000 |
a34c08cdfcb2
Stable dwread/dwrite... pipeman also assembles.
Boisy Pitre <boisy.pitre@nuance.com>
parents:
2625
diff
changeset
|
251 IRQEN.SERINRDY equ %00100000 |
a34c08cdfcb2
Stable dwread/dwrite... pipeman also assembles.
Boisy Pitre <boisy.pitre@nuance.com>
parents:
2625
diff
changeset
|
252 IRQEN.SEROUTNEEDED equ %00010000 |
a34c08cdfcb2
Stable dwread/dwrite... pipeman also assembles.
Boisy Pitre <boisy.pitre@nuance.com>
parents:
2625
diff
changeset
|
253 IRQEN.SEROUTDONE equ %00001000 |
a34c08cdfcb2
Stable dwread/dwrite... pipeman also assembles.
Boisy Pitre <boisy.pitre@nuance.com>
parents:
2625
diff
changeset
|
254 IRQEN.TIMER4 equ %00000100 |
a34c08cdfcb2
Stable dwread/dwrite... pipeman also assembles.
Boisy Pitre <boisy.pitre@nuance.com>
parents:
2625
diff
changeset
|
255 IRQEN.TIMER2 equ %00000010 |
a34c08cdfcb2
Stable dwread/dwrite... pipeman also assembles.
Boisy Pitre <boisy.pitre@nuance.com>
parents:
2625
diff
changeset
|
256 IRQEN.TIMER1 equ %00000001 |
a34c08cdfcb2
Stable dwread/dwrite... pipeman also assembles.
Boisy Pitre <boisy.pitre@nuance.com>
parents:
2625
diff
changeset
|
257 |
2621
f27161fc2926
Added atari.d... new defs file for all things Atari
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff
changeset
|
258 SKCTL EQU $D20F ;serial port and keyboard control |
2634
a34c08cdfcb2
Stable dwread/dwrite... pipeman also assembles.
Boisy Pitre <boisy.pitre@nuance.com>
parents:
2625
diff
changeset
|
259 SKCTL.FORECEBREAK equ %10000000 |
a34c08cdfcb2
Stable dwread/dwrite... pipeman also assembles.
Boisy Pitre <boisy.pitre@nuance.com>
parents:
2625
diff
changeset
|
260 SKCTL.SERMODECTRLMASK equ %01110000 |
a34c08cdfcb2
Stable dwread/dwrite... pipeman also assembles.
Boisy Pitre <boisy.pitre@nuance.com>
parents:
2625
diff
changeset
|
261 SKCTL.TWOTONEMODE equ %00001000 |
a34c08cdfcb2
Stable dwread/dwrite... pipeman also assembles.
Boisy Pitre <boisy.pitre@nuance.com>
parents:
2625
diff
changeset
|
262 SKCTL.FASTPOTSCAN equ %00000100 |
a34c08cdfcb2
Stable dwread/dwrite... pipeman also assembles.
Boisy Pitre <boisy.pitre@nuance.com>
parents:
2625
diff
changeset
|
263 SKCTL.KEYBRDSCAN equ %00000010 |
a34c08cdfcb2
Stable dwread/dwrite... pipeman also assembles.
Boisy Pitre <boisy.pitre@nuance.com>
parents:
2625
diff
changeset
|
264 SKCTL.KEYDEBOUNCE equ %00000001 |
2621
f27161fc2926
Added atari.d... new defs file for all things Atari
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff
changeset
|
265 |
f27161fc2926
Added atari.d... new defs file for all things Atari
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff
changeset
|
266 ** PIA Address Equates |
f27161fc2926
Added atari.d... new defs file for all things Atari
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff
changeset
|
267 PIA EQU $D300 ;PIA area |
f27161fc2926
Added atari.d... new defs file for all things Atari
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff
changeset
|
268 |
f27161fc2926
Added atari.d... new defs file for all things Atari
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff
changeset
|
269 * Read/Write Addresses |
f27161fc2926
Added atari.d... new defs file for all things Atari
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff
changeset
|
270 PORTA EQU $D300 ;port A direction register or jacks 0 and 1 |
f27161fc2926
Added atari.d... new defs file for all things Atari
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff
changeset
|
271 PORTB EQU $D301 ;port B direction register or memory control |
f27161fc2926
Added atari.d... new defs file for all things Atari
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff
changeset
|
272 |
f27161fc2926
Added atari.d... new defs file for all things Atari
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff
changeset
|
273 PACTL EQU $D302 ;port A control |
f27161fc2926
Added atari.d... new defs file for all things Atari
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff
changeset
|
274 PBCTL EQU $D303 ;port B control |
f27161fc2926
Added atari.d... new defs file for all things Atari
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff
changeset
|
275 |
f27161fc2926
Added atari.d... new defs file for all things Atari
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff
changeset
|
276 |
f27161fc2926
Added atari.d... new defs file for all things Atari
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff
changeset
|
277 ** ANTIC Address Equates |
f27161fc2926
Added atari.d... new defs file for all things Atari
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff
changeset
|
278 ANTIC EQU $D400 ;ANTIC area |
f27161fc2926
Added atari.d... new defs file for all things Atari
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff
changeset
|
279 |
f27161fc2926
Added atari.d... new defs file for all things Atari
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff
changeset
|
280 * Read Addresses |
f27161fc2926
Added atari.d... new defs file for all things Atari
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff
changeset
|
281 VCOUNT EQU $D40B ;vertical line counter |
f27161fc2926
Added atari.d... new defs file for all things Atari
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff
changeset
|
282 PENH EQU $D40C ;light pen horizontal position |
f27161fc2926
Added atari.d... new defs file for all things Atari
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff
changeset
|
283 PENV EQU $D40D ;light pen vertical position |
f27161fc2926
Added atari.d... new defs file for all things Atari
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff
changeset
|
284 NMIST EQU $D40F ;NMI interrupt status |
f27161fc2926
Added atari.d... new defs file for all things Atari
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff
changeset
|
285 |
f27161fc2926
Added atari.d... new defs file for all things Atari
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff
changeset
|
286 * Write Addresses |
f27161fc2926
Added atari.d... new defs file for all things Atari
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff
changeset
|
287 DMACTL EQU $D400 ;DMA control |
f27161fc2926
Added atari.d... new defs file for all things Atari
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff
changeset
|
288 CHACTL EQU $D401 ;character control |
f27161fc2926
Added atari.d... new defs file for all things Atari
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff
changeset
|
289 DLISTL EQU $D402 ;low display list address |
f27161fc2926
Added atari.d... new defs file for all things Atari
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff
changeset
|
290 DLISTH EQU $D403 ;high disply list address |
f27161fc2926
Added atari.d... new defs file for all things Atari
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff
changeset
|
291 HSCROL EQU $D404 ;horizontal scroll |
f27161fc2926
Added atari.d... new defs file for all things Atari
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff
changeset
|
292 VSCROL EQU $D405 ;vertical scroll |
f27161fc2926
Added atari.d... new defs file for all things Atari
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff
changeset
|
293 PMBASE EQU $D407 ;player-missle base address |
f27161fc2926
Added atari.d... new defs file for all things Atari
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff
changeset
|
294 CHBASE EQU $D409 ;character base address |
f27161fc2926
Added atari.d... new defs file for all things Atari
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff
changeset
|
295 WSYNC EQU $D40A ;wait for HBLANK synchronization |
f27161fc2926
Added atari.d... new defs file for all things Atari
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff
changeset
|
296 NMIEN EQU $D40E ;NMI enable |
f27161fc2926
Added atari.d... new defs file for all things Atari
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff
changeset
|
297 NMIRES EQU $D40F ;NMI interrupt status reset |
f27161fc2926
Added atari.d... new defs file for all things Atari
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff
changeset
|
298 |
f27161fc2926
Added atari.d... new defs file for all things Atari
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff
changeset
|
299 |
f27161fc2926
Added atari.d... new defs file for all things Atari
Boisy Pitre <boisy.pitre@nuance.com>
parents:
diff
changeset
|
300 ENDC |