-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathinitnoprecalc.s
64 lines (54 loc) · 1.92 KB
/
initnoprecalc.s
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
COLOR1 = $0FF4
COLOR2 = $0420
COLOR3 = $0C80
COLORCOPPLATFORM1 = $0FF0
COLORCOPPLATFORM2 = $0FD0
COLORCOPPLATFORM3 = $0FC0
COLORCOPPLATFORM4 = $0FA0
COLORCOPPLATFORM5 = $0F80
COLORCOPPLATFORM6 = $0F50
COLORCOPPLATFORM7 = $0F30
_ammxmainloop3_init:
; set palette
lea $dff182,a0
move.w #COLOR1,(a0)+ ; color1
move.w #COLOR2,(a0)+ ; color2
move.w #COLOR3,(a0)+ ; color3
move.w #COLOR1,(a0)+ ; color4
move.w #COLOR1,(a0)+ ; color5
move.w #COLOR2,(a0)+ ; color6
move.w #COLOR3,(a0)+ ; color7
move.w #COLOR2,(a0)+ ; color8
move.w #COLOR3,(a0)+ ; color9
move.w #COLOR2,(a0)+ ; color10
move.w #COLOR2,(a0)+ ; color11
move.w #COLOR3,(a0)+ ; color12
move.w #COLOR3,(a0)+ ; color13
move.w #COLOR3,(a0)+ ; color14
move.w #COLOR3,(a0)+ ; color15
;move.w $1a0,$bfc ; color transparency
; start of sprite colors
lea $dff1a2,a0
move.l #$0a200ff0,(a0)+
;move.w #$a20,(a0)+ ; color17
;move.w #$ff0,(a0)+ ; color18
move.l #$00000f00,(a0)+
;move.w #$000,(a0)+ ; color19
;move.w #$f00,(a0)+ ; color20
move.l #$0c000800,(a0)+
;move.w #$c00,(a0)+ ; color21
;move.w #$800,(a0)+ ; color22
move.l #$0fff0ddd,(a0)+
;move.w #$fff,(a0)+ ; color23
;move.w #$ddd,(a0)+ ; color24
move.l #$0f0a0f0f,(a0)+
;move.w #$f0a,(a0)+ ; color25 ; sprites 4 and 5 (bomb) color 1
;move.w #$f0f,(a0)+ ; color26 ; sprites 4 and 5 (bomb) color 2
move.l #$0f060f0f,(a0)+
;move.w #$f06,(a0)+ ; color27 ; sprites 4 and 5 (bomb) color 3
;move.w #$f0f,(a0)+ ; color28
move.l #$05550888,(a0)+
;move.w #$555,(a0)+ ; color29
;move.w #$888,(a0)+ ; color30
move.w #$bbb,(a0)+ ; color31
rts