-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path2600.inc
56 lines (55 loc) · 4.01 KB
/
2600.inc
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
VSYNC := $00 ; 0000 00x0 Vertical Sync Set-Clear
VBLANK := $01 ; xx00 00x0 Vertical Blank Set-Clear
WSYNC := $02 ; ---- ---- Wait for Horizontal Blank
RSYNC := $03 ; ---- ---- Reset Horizontal Sync Counter
NUSIZ0 := $04 ; 00xx 0xxx Number-Size player/missle 0
NUSIZ1 := $05 ; 00xx 0xxx Number-Size player/missle 1
COLUP0 := $06 ; xxxx xxx0 Color-Luminance Player 0
COLUP1 := $07 ; xxxx xxx0 Color-Luminance Player 1
COLUPF := $08 ; xxxx xxx0 Color-Luminance Playfield
COLUBK := $09 ; xxxx xxx0 Color-Luminance Background
CTRLPF := $0A ; 00xx 0xxx Control Playfield, Ball, Collisions
REFP0 := $0B ; 0000 x000 Reflection Player 0
REFP1 := $0C ; 0000 x000 Reflection Player 1
PF0 := $0D ; xxxx 0000 Playfield Register Byte 0
PF1 := $0E ; xxxx xxxx Playfield Register Byte 1
PF2 := $0F ; xxxx xxxx Playfield Register Byte 2
RESP0 := $10 ; ---- ---- Reset Player 0
RESP1 := $11 ; ---- ---- Reset Player 1
RESM0 := $12 ; ---- ---- Reset Missle 0
RESM1 := $13 ; ---- ---- Reset Missle 1
RESBL := $14 ; ---- ---- Reset Ball
AUDC0 := $15 ; 0000 xxxx Audio Control 0
AUDC1 := $16 ; 0000 xxxx Audio Control 1
AUDF0 := $17 ; 000x xxxx Audio Frequency 0
AUDF1 := $18 ; 000x xxxx Audio Frequency 1
AUDV0 := $19 ; 0000 xxxx Audio Volume 0
AUDV1 := $1A ; 0000 xxxx Audio Volume 1
GRP0 := $1B ; xxxx xxxx Graphics Register Player 0
GRP1 := $1C ; xxxx xxxx Graphics Register Player 1
ENAM0 := $1D ; 0000 00x0 Graphics Enable Missle 0
ENAM1 := $1E ; 0000 00x0 Graphics Enable Missle 1
ENABL := $1F ; 0000 00x0 Graphics Enable Ball
HMP0 := $20 ; xxxx 0000 Horizontal Motion Player 0
HMP1 := $21 ; xxxx 0000 Horizontal Motion Player 1
HMM0 := $22 ; xxxx 0000 Horizontal Motion Missle 0
HMM1 := $23 ; xxxx 0000 Horizontal Motion Missle 1
HMBL := $24 ; xxxx 0000 Horizontal Motion Ball
VDELP0 := $25 ; 0000 000x Vertical Delay Player 0
VDELP1 := $26 ; 0000 000x Vertical Delay Player 1
VDELBL := $27 ; 0000 000x Vertical Delay Ball
RESMP0 := $28 ; 0000 00x0 Reset Missle 0 to Player 0
RESMP1 := $29 ; 0000 00x0 Reset Missle 1 to Player 1
HMOVE := $2A ; ---- ---- Apply Horizontal Motion
HMCLR := $2B ; ---- ---- Clear Horizontal Move Registers
CXCLR := $2C ; ---- ---- Clear Collision Latches
SWCHA := $280 ; Port A data register for joysticks:
; Bits 4-7 for player 1. Bits 0-3 for player 2.
SWACNT := $281 ; Port A data direction register (DDR)
SWCHB := $282 ; Port B data (console switches)
SWBCNT := $283 ; Port B DDR
INTIM := $284 ; Timer output
TIM1T := $294 ; set 1 clock interval
TIM8T := $295 ; set 8 clock interval
TIM64T := $296 ; set 64 clock interval
T1024T := $297 ; set 1024 clock interval