-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathzeropage.s
More file actions
146 lines (107 loc) · 3.77 KB
/
zeropage.s
File metadata and controls
146 lines (107 loc) · 3.77 KB
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
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
* = $02 "Zeropage" virtual
game_state: .byte $0
game_state_counter: .byte $0
// some address pointers to use
address_low: .byte $0
address_high: .byte $0
address_low_2: .byte $0
address_high_2: .byte $0
address_low_3: .byte $0
address_high_3: .byte $0
address_low_4: .byte $0
address_high_4: .byte $0
copy_to_low: .byte $0
copy_to_high: .byte $0
temp: .byte $0
temp1: .byte $0
temp2: .byte $0
temp3: .byte $0
temp4: .byte $0
row: .byte $0
col: .byte $0
// used in actors.s
virtual_sprites_enabled: .byte $0
virtual_spritex_msb: .byte $0
sprite_xl: .byte $0
sprite_xh: .byte $0
sprite_y: .byte $0
actor_y_offset: .byte $0
actor_x_offset: .byte $0
// used in player.s
player_button_down: .byte $0
player_jump_counter: .byte $0
player_coyote_counter: .byte $0
player_wall_stick_counter: .byte $0
player_wall_jump_counter: .byte $0
player_can_boost: .byte $0
player_boost_counter: .byte $0
player_touching_door: .byte $0
blink_timer: .byte $0
blink_time: .byte $0
// used in levels.s
level_current: .byte $0
level_data_low: .byte $0
level_data_high: .byte $0
level_line_count: .byte $0
level_enemy_count: .byte $0
level_line_color: .byte $0
level_line_type: .byte $0
level_line_direction: .byte $0
door_address_low: .byte $0
door_address_high: .byte $0
door_flash_counter: .byte $0
door_flash_state: .byte $0
// number of dots to collect
dot_count: .byte $0
door_color_address_low: .byte $0
door_color_address_high: .byte $0
// used in animatedtiles.s
tile_type: .byte $0
animated_tile_time: .byte $0
// used in collisions.s
collision_switch: .byte $0
collision_char_register: .byte $0
collision_sprite_register: .byte $0
// used in switches.s
switch_type: .byte $0
// use in sound.s
sound_last_channel: .byte $0
// used in spriteCollisionsasm
sprites_enabled: .byte 0
sprite_to_check: .byte 0
sprite_to_check_xl: .byte 0
sprite_to_check_xh: .byte 0
sprite_to_check_yl: .byte 0
sprite_to_check_yh: .byte 0
sprite_collisions: .byte 0
sprite_check_xl: .byte 0
sprite_check_xh: .byte 0
sprite_check_yl: .byte 0
sprite_check_yh: .byte 0
sprite_check_pixel_x: .byte 0
sprite_check_pixel_y: .byte 0
sprite_check_pixel: .byte 0
sprite_pixel_x: .byte 0
sprite_pixel_y: .byte 0
sprite_col: .byte 0
sprite_row: .byte 0
tile_pixel_xl: .byte 0
tile_pixel_xh: .byte 0
tile_pixel_yl: .byte 0
tile_pixel_yh: .byte 0
tile_address_low: .byte 0
tile_address_high: .byte 0
grid_cell: .byte 0
grid_cell_tile: .byte 0
sprite_to_tile_low: .byte 0
sprite_to_tile_high: .byte 0
sprite_to_tile_col_low: .byte 0
sprite_to_tile_col_high: .byte 0
sprite_to_tile_row_low: .byte 0
sprite_to_tile_row_high: .byte 0
// used in text.s
text_address_low: .byte 0
text_address_high: .byte 0
// used in statusbar
status_address_low: .byte 0
status_address_high: .byte 0