-
Notifications
You must be signed in to change notification settings - Fork 0
/
snakeass.txt
139 lines (139 loc) · 5.24 KB
/
snakeass.txt
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
-- MENU -- 0
0 => B"010111_1100_00_0000", -- "LOAD #0, Gr12"
1 => "0000000000000000", -- 0
2 => B"010111_1101_00_0000", -- "LOAD #0, Gr13"
3 => "0000000000000000", -- 0
-- MENULOOPX -- 4
4 => B"010111_1110_00_0000", -- "LOAD #MENULOOPXRETURN, Gr14" -- 4
5 => "0000000000001000", -- 8
6 => B"001001_0000_00_0000", -- "BRA #TOGMEM" -- 58
7 => "0000000000111010", -- 58
-- MENULOOPXRETURN -- 4
8 => B"010110_1101_01_0000", -- "STORE $D00, Gr13"
9 => "0000110100000000",
10 => B"010111_0010_01_0000", -- "LOAD $D00, Gr2"
11 => "0000110100000000",
12 => B"010011_0010_00_0000", -- "LSL #3, Gr2"
13 => "0000000000000011", -- 3
14 => B"010110_1100_01_0000", -- "STORE $D00, Gr12"
15 => "0000110100000000",
16 => B"010111_0011_01_0000", -- "LOAD $D00, Gr3"
17 => "0000110100000000",
18 => B"010010_0011_00_0000", -- "LSR #2, Gr3"
19 => "0000000000000010", -- 2
20 => B"010110_0011_01_0000", -- "STORE $D00, Gr3"
21 => "0000110100000000",
22 => B"000001_0010_01_0000", -- "ADD $D00, Gr2"
23 => "0000110100000000",
24 => B"010110_1100_01_0000", -- "STORE $D00, Gr12"
25 => "0000110100000000",
26 => B"010111_0011_01_0000", -- "LOAD $D00, Gr3"
27 => "0000110100000000",
28 => B"000101_0011_00_0000", -- "AND #$0003, Gr3"
29 => "0000000000000011", -- 3
30 => B"000010_0011_00_0000", -- "SUB #1, Gr3"
31 => "0000000000000001", -- 1
32 => B"010111_0100_11_0010", -- "LOAD $B00, Gr4, Gr2"
33 => "0000101100000000",
34 => B"010011_0011_00_0000", -- "LSL #2, Gr3"
35 => "0000000000000010", -- 2
36 => B"010110_0100_01_0000", -- "STORE $D00, Gr4"
37 => "0000110100000000",
38 => B"010011_0100_01_0000", -- "LSL $D00, Gr4"
39 => "0000110100000000",
40 => B"000101_0100_00_0000", -- "AND Gr4, #$F000"
41 => "0000000000000000", -- 0
42 => B"011000_0100_00_0000", -- "GSTORE Gr4"
43 => "0000000000000000", -- 0
44 => B"000001_1100_00_0000", -- "ADD #1, Gr12"
45 => "0000000000000001", -- 1
46 => B"000100_1100_00_0000", -- "CMP #32, Gr12"
47 => "0000000000100000", -- 32
48 => B"001010_0000_00_0000", -- "BNE #MENULOOPX" -- 4
49 => "0000000000000100", -- 4
50 => B"000001_1101_00_0000", -- "ADD #1, Gr13"
51 => "0000000000000001", -- 1
52 => B"000100_1101_00_0000", -- "CMP #32, Gr13"
53 => "0000000000100000", -- 32
54 => B"010111_1100_00_0000", -- "LOAD #0, Gr12"
55 => "0000000000000000", -- 0
56 => B"001010_0000_00_0000", -- "BNE #MENULOOPX" -- 4
57 => "0000000000000100", -- 4
-- TOGMEM -- 58
58 => B"010011_1101_00_0000", -- "LSL #5, Gr13"
59 => "0000000000000101", -- 5
60 => B"010110_1100_01_0000", -- "STORE $F00, Gr12"
61 => "0000111100000000",
62 => B"010110_1101_01_0000", -- "STORE $F01, Gr13"
63 => "0000111100000001",
64 => B"010111_1111_01_0000", -- "LOAD $F01, Gr15"
65 => "0000111100000001",
66 => B"000110_1111_01_0000", -- "OR $F00, Gr15"
67 => "0000111100000000",
68 => B"010110_1110_01_0000", -- "STORE $AF8, Gr14 "
69 => "0000101011111000",
70 => B"001001_0000_00_0000", -- "BRA $AF8"
71 => "0000101011111000",
-- FROMGMEM -- 72
72 => B"010110_1110_01_0000", -- "STORE $F00, Gr14"
73 => "0000111100000000",
74 => B"010111_1100_01_0000", -- "LOAD $F00, Gr12"
75 => "0000111100000000",
76 => B"000101_1100_00_0000", -- "AND #$001F, Gr12"
77 => "0000000000011111", -- 31
78 => B"010111_1101_01_0000", -- "LOAD $F00, Gr13"
79 => "0000111100000000",
80 => B"010010_1101_00_0000", -- "LSR #5, Gr13"
81 => "0000000000000101", -- 5
82 => B"010110_1110_01_0000", -- "STORE $AF8, Gr14 "
83 => "0000101011111000",
84 => B"001001_0000_00_0000", -- "BRA $AF8"
85 => "0000101011111000",
-- GETOBSTACLEBYGMEM -- 86
86 => B"010110_1111_01_0000", -- "STORE $F00, Gr15"
87 => "0000111100000000",
88 => B"010111_1100_01_0000", -- "LOAD $F00, Gr12"
89 => "0000111100000000",
90 => B"000101_1100_00_0000", -- "AND #$001F, Gr12"
91 => "0000000000011111", -- 31
92 => B"010010_1111_00_0000", -- "LSR #5, Gr15"
93 => "0000000000000101", -- 5
94 => B"010011_1111_00_0000", -- "LSL #5, Gr15"
95 => "0000000000000101", -- 5
96 => B"010110_1111_01_0000", -- "STORE $F00, Gr15"
97 => "0000111100000000",
98 => B"000001_1100_01_0000", -- "ADD $F00, Gr12"
99 => "0000111100000000",
100 => B"010110_1100_01_0000", -- "STORE $F00, Gr12"
101 => "0000111100000000",
102 => B"010111_1111_01_0000", -- "LOAD $F00, Gr15"
103 => "0000111100000000",
104 => B"010010_1111_00_0000", -- "LSR #4, Gr15"
105 => "0000000000000100", -- 4
106 => B"000101_1100_00_0000", -- "AND #$000F, Gr12"
107 => "0000000000001111", -- 15
108 => B"010111_1010_11_1111", -- "LOAD $C80, Gr10, Gr15"
109 => "0000110010000000",
110 => B"010110_1100_01_0000", -- "STORE $F00, Gr12"
111 => "0000111100000000",
112 => B"010011_1111_01_0000", -- "LSL $F00, Gr15"
113 => "0000111100000000",
114 => B"000101_1111_00_0000", -- "AND #$8000, Gr15"
115 => "1000000000000000",
116 => B"010111_1011_00_0000", -- "LOAD #$0000, Gr11"
117 => "0000000000000000", -- 0
118 => B"000100_1111_00_0000", -- "CMP #$8000, Gr15"
119 => "1000000000000000",
120 => B"001010_0000_00_0000", -- "BNE #WASNOTOBSTACLE" -- 124
121 => "0000000001111100", -- 124
122 => B"010111_1011_00_0000", -- "LOAD #$FFFF, Gr11"
123 => "1111111111111111",
-- WASNOTOBSTACLE -- 124
124 => B"010110_1110_01_0000", -- "STORE $AF8, Gr14 "
125 => "0000101011111000",
126 => B"001001_0000_00_0000", -- "BRA $AF8"
127 => "0000101011111000",
-- INFINITE -- 128
128 => B"001001_0000_00_0000", -- "BRA #INFINITE" -- 128
129 => "0000000010000000", -- 128
others => B"000000_0000_00_0000"