-
Notifications
You must be signed in to change notification settings - Fork 7
/
grid_structure.txt
157 lines (141 loc) · 1.75 KB
/
grid_structure.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
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
GRID STRUCTURE
$ 1 SWITCH
$ 2
$ 3
$ 4
$ 5
$ 6
$ 7 GRID SETUP
$ 8 HANDLE BUTTON PRESS
PN 3 0 FIRST SCENE
PN 3 1 NB SCENES
PN 3 2 SWITCH LEN
PN 3 3 DISP LEN
PN 3 4 DISP DIV (TMP)
PN 3 5 NEXT SCENE (TMP)
#1
G.GBTN.V 1 0
G.BTN.V + SCENE 32 1
IF == SCENE PN 3 5: BRK
G.BTN.V + PN 3 5 32 % T 2
IF % T PN 3 2: BRK
SCENE.G PN 3 5; $ 10
#2
IF G.BTN.V 1: TR.P 1
IF ! % T 4: TR.P 4
#3
#4
#5
#6
#7
M.RESET; PN 3 5 SCENE
J + 32 PN 3 0; K PN 3 1
G.GBX 0 1 0 7 1 1 1 5 0 9 1
G.GBX 1 J 10 7 1 1 1 5 8 K 1
G.GBT 0 0 15 7 1 1 1 5 8
PN 3 4 / PN 3 2 PN 3 3
#8
J G.GRPI; K * J ! M.ACT
IF J: PN 3 5 - G.BTNI 32
IF K: SCENE.G PN 3 5
IF J: G.BTN.SW G.BTNI; BRK
M.ACT G.BTN.V 0; $ 10
#M
G.REC 0 6 16 1 0 0; J PN 3 3
G.REC 0 6 J 1 5 5; Y % T J
G.LED % / T PN 3 4 PN 3 3 6 15
L 1 6: $ I
T + T 1
#I
M RRND 100 200; T 0; $ 7
L 1 4: TR.TIME I 20
#P
0 0 0 5
1 1 1 1
0 0 0 0
63 63 63 63
0 0 0 0
0 0 0 1
0 0 0 16
0 0 0 16
0 0 0 1
0 0 0 12
0 0 0 0
0 0 0 0
0 0 0 0
0 0 0 0
0 0 0 0
0 0 0 0
0 0 0 0
0 0 0 0
0 0 0 0
0 0 0 0
0 0 0 0
0 0 0 0
0 0 0 0
0 0 0 0
0 0 0 0
0 0 0 0
0 0 0 0
0 0 0 0
0 0 0 0
0 0 0 0
0 0 0 0
0 0 0 0
0 0 0 0
0 0 0 0
0 0 0 0
0 0 0 0
0 0 0 0
0 0 0 0
0 0 0 0
0 0 0 0
0 0 0 0
0 0 0 0
0 0 0 0
0 0 0 0
0 0 0 0
0 0 0 0
0 0 0 0
0 0 0 0
0 0 0 0
0 0 0 0
0 0 0 0
0 0 0 0
0 0 0 0
0 0 0 0
0 0 0 0
0 0 0 0
0 0 0 0
0 0 0 0
0 0 0 0
0 0 0 0
0 0 0 0
0 0 0 0
0 0 0 0
0 0 0 0
0 0 0 0
0 0 0 0
0 0 0 0
0 0 0 0
#G
0000000000000000
0000000000000000
0000000000000000
0000000000000000
0000000000000000
0000000000000000
0000000000000000
0000000000000000
0000000000000000
0000000000000000
0000000000000000
0000000000000000
0000000000000000
0000000000000000
0000000000000000
0000000000000000
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0