snes_utils 0.1.1 → 0.3.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/bin/png2snes +20 -1
- data/bin/tmx2snes +2 -1
- data/bin/vas +17 -0
- data/lib/mini_assembler/definitions.rb +16 -9
- data/lib/mini_assembler/mini_assembler.rb +236 -88
- data/lib/mini_assembler/spc700/definitions.rb +457 -455
- data/lib/mini_assembler/superfx/definitions.rb +158 -0
- data/lib/mini_assembler/wdc65816/definitions.rb +61 -59
- data/lib/png2snes/png2snes.rb +53 -21
- data/lib/snes_utils.rb +4 -4
- data/lib/tmx2snes/tmx2snes.rb +2 -7
- data/lib/vas/vas.rb +609 -0
- data/spec/mini_assembler_spec.rb +136 -0
- data/spec/spc700_spec.rb +322 -0
- data/spec/spec_helper.rb +100 -0
- data/spec/vas_spec.rb +5 -0
- data/spec/wdc65816_spec.rb +322 -0
- metadata +21 -26
@@ -0,0 +1,322 @@
|
|
1
|
+
require 'spec_helper'
|
2
|
+
require 'snes_utils'
|
3
|
+
|
4
|
+
describe SnesUtils::MiniAssembler do
|
5
|
+
let(:mini_asm) { SnesUtils::MiniAssembler.new }
|
6
|
+
let(:memory) do
|
7
|
+
["00", "11", "01", "11", "02", "11", "03", "11", "04", "11", "05", "11", "06", "11", "07", "11",
|
8
|
+
"08", "09", "11", "0A", "0B", "0C", "22", "11", "0D", "22", "11", "0E", "22", "11", "0F", "33",
|
9
|
+
"22", "11", "10", "11", "11", "11", "12", "11", "13", "11", "14", "11", "15", "11", "16", "11",
|
10
|
+
"17", "11", "18", "19", "22", "11", "1A", "1B", "1C", "22", "11", "1D", "22", "11", "1E", "22",
|
11
|
+
"11", "1F", "33", "22", "11", "20", "22", "11", "21", "11", "22", "33", "22", "11", "23", "11",
|
12
|
+
"24", "11", "25", "11", "26", "11", "27", "11", "28", "29", "11", "2A", "2B", "2C", "22", "11",
|
13
|
+
"2D", "22", "11", "2E", "22", "11", "2F", "33", "22", "11", "30", "11", "31", "11", "32", "11",
|
14
|
+
"33", "11", "34", "11", "35", "11", "36", "11", "37", "11", "38", "39", "22", "11", "3A", "3B",
|
15
|
+
"3C", "22", "11", "3D", "22", "11", "3E", "22", "11", "3F", "33", "22", "11", "40", "41", "11",
|
16
|
+
"42", "11", "43", "11", "44", "22", "11", "45", "11", "46", "11", "47", "11", "48", "49", "11",
|
17
|
+
"4A", "4B", "4C", "22", "11", "4D", "22", "11", "4E", "22", "11", "4F", "33", "22", "11", "50",
|
18
|
+
"11", "51", "11", "52", "11", "53", "11", "54", "22", "11", "55", "11", "56", "11", "57", "11",
|
19
|
+
"58", "59", "22", "11", "5A", "5B", "5C", "33", "22", "11", "5D", "22", "11", "5E", "22", "11",
|
20
|
+
"5F", "33", "22", "11", "60", "61", "11", "62", "22", "11", "63", "11", "64", "11", "65", "11",
|
21
|
+
"66", "11", "67", "11", "68", "69", "11", "6A", "6B", "6C", "22", "11", "6D", "22", "11", "6E",
|
22
|
+
"22", "11", "6F", "33", "22", "11", "70", "11", "71", "11", "72", "11", "73", "11", "74", "11",
|
23
|
+
"75", "11", "76", "11", "77", "11", "78", "79", "22", "11", "7A", "7B", "7C", "22", "11", "7D",
|
24
|
+
"22", "11", "7E", "22", "11", "7F", "33", "22", "11", "80", "11", "81", "11", "82", "22", "11",
|
25
|
+
"83", "11", "84", "11", "85", "11", "86", "11", "87", "11", "88", "89", "11", "8A", "8B", "8C",
|
26
|
+
"22", "11", "8D", "22", "11", "8E", "22", "11", "8F", "33", "22", "11", "90", "11", "91", "11",
|
27
|
+
"92", "11", "93", "11", "94", "11", "95", "11", "96", "11", "97", "11", "98", "99", "22", "11",
|
28
|
+
"9A", "9B", "9C", "22", "11", "9D", "22", "11", "9E", "22", "11", "9F", "33", "22", "11", "A0",
|
29
|
+
"11", "A1", "11", "A2", "11", "A3", "11", "A4", "11", "A5", "11", "A6", "11", "A7", "11", "A8",
|
30
|
+
"A9", "11", "AA", "AB", "AC", "22", "11", "AD", "22", "11", "AE", "22", "11", "AF", "33", "22",
|
31
|
+
"11", "B0", "11", "B1", "11", "B2", "11", "B3", "11", "B4", "11", "B5", "11", "B6", "11", "B7",
|
32
|
+
"11", "B8", "B9", "22", "11", "BA", "BB", "BC", "22", "11", "BD", "22", "11", "BE", "22", "11",
|
33
|
+
"BF", "33", "22", "11", "C0", "11", "C1", "11", "C2", "00", "C3", "11", "C4", "11", "C5", "11",
|
34
|
+
"C6", "11", "C7", "11", "C8", "C9", "11", "CA", "CB", "CC", "22", "11", "CD", "22", "11", "CE",
|
35
|
+
"22", "11", "CF", "33", "22", "11", "D0", "11", "D1", "11", "D2", "11", "D3", "11", "D4", "11",
|
36
|
+
"D5", "11", "D6", "11", "D7", "11", "D8", "D9", "22", "11", "DA", "DB", "DC", "22", "11", "DD",
|
37
|
+
"22", "11", "DE", "22", "11", "DF", "33", "22", "11", "E0", "11", "E1", "11", "E2", "00", "E3",
|
38
|
+
"11", "E4", "11", "E5", "11", "E6", "11", "E7", "11", "E8", "E9", "11", "EA", "EB", "EC", "22",
|
39
|
+
"11", "ED", "22", "11", "EE", "22", "11", "EF", "33", "22", "11", "F0", "11", "F1", "11", "F2",
|
40
|
+
"11", "F3", "11", "F4", "22", "11", "F5", "11", "F6", "11", "F7", "11", "F8", "F9", "22", "11",
|
41
|
+
"FA", "FB", "FC", "22", "11", "FD", "22", "11", "FE", "22", "11", "FF", "33", "22", "11"]
|
42
|
+
end
|
43
|
+
|
44
|
+
describe 'when assembling' do
|
45
|
+
let(:file) { 'spec/fixtures/wdc65816.asm' }
|
46
|
+
before { mini_asm.read(file) }
|
47
|
+
|
48
|
+
it 'sets memory correctly' do
|
49
|
+
expect(mini_asm.instance_variable_get(:@memory)).to eq memory
|
50
|
+
end
|
51
|
+
end
|
52
|
+
|
53
|
+
describe 'when disassembling' do
|
54
|
+
subject { mini_asm.disassemble_range(0, 256) }
|
55
|
+
|
56
|
+
before do
|
57
|
+
mini_asm.instance_variable_set(:@memory, memory)
|
58
|
+
mini_asm.instance_variable_set(:@cpu, :wdc65816)
|
59
|
+
end
|
60
|
+
|
61
|
+
it 'disassembles correctly' do
|
62
|
+
expect(subject).to eq [
|
63
|
+
'00/0000: 00 11 BRK 11',
|
64
|
+
'00/0002: 01 11 ORA (11,X)',
|
65
|
+
'00/0004: 02 11 COP 11',
|
66
|
+
'00/0006: 03 11 ORA 11,S',
|
67
|
+
'00/0008: 04 11 TSB 11',
|
68
|
+
'00/000A: 05 11 ORA 11',
|
69
|
+
'00/000C: 06 11 ASL 11',
|
70
|
+
'00/000E: 07 11 ORA [11]',
|
71
|
+
'00/0010: 08 PHP',
|
72
|
+
'00/0011: 09 11 ORA #11',
|
73
|
+
'00/0013: 0A ASL',
|
74
|
+
'00/0014: 0B PHD',
|
75
|
+
'00/0015: 0C 22 11 TSB 1122',
|
76
|
+
'00/0018: 0D 22 11 ORA 1122',
|
77
|
+
'00/001B: 0E 22 11 ASL 1122',
|
78
|
+
'00/001E: 0F 33 22 11 ORA 112233',
|
79
|
+
'00/0022: 10 11 BPL 0035 {+11}',
|
80
|
+
'00/0024: 11 11 ORA (11),Y',
|
81
|
+
'00/0026: 12 11 ORA (11)',
|
82
|
+
'00/0028: 13 11 ORA (11,S),Y',
|
83
|
+
'00/002A: 14 11 TRB 11',
|
84
|
+
'00/002C: 15 11 ORA 11,X',
|
85
|
+
'00/002E: 16 11 ASL 11,X',
|
86
|
+
'00/0030: 17 11 ORA [11],Y',
|
87
|
+
'00/0032: 18 CLC',
|
88
|
+
'00/0033: 19 22 11 ORA 1122,Y',
|
89
|
+
'00/0036: 1A INC',
|
90
|
+
'00/0037: 1B TCS',
|
91
|
+
'00/0038: 1C 22 11 TRB 1122',
|
92
|
+
'00/003B: 1D 22 11 ORA 1122,X',
|
93
|
+
'00/003E: 1E 22 11 ASL 1122,X',
|
94
|
+
'00/0041: 1F 33 22 11 ORA 112233,X',
|
95
|
+
'00/0045: 20 22 11 JSR 1122',
|
96
|
+
'00/0048: 21 11 AND (11,X)',
|
97
|
+
'00/004A: 22 33 22 11 JSL 112233',
|
98
|
+
'00/004E: 23 11 AND 11,S',
|
99
|
+
'00/0050: 24 11 BIT 11',
|
100
|
+
'00/0052: 25 11 AND 11',
|
101
|
+
'00/0054: 26 11 ROL 11',
|
102
|
+
'00/0056: 27 11 AND [11]',
|
103
|
+
'00/0058: 28 PLP',
|
104
|
+
'00/0059: 29 11 AND #11',
|
105
|
+
'00/005B: 2A ROL',
|
106
|
+
'00/005C: 2B PLD',
|
107
|
+
'00/005D: 2C 22 11 BIT 1122',
|
108
|
+
'00/0060: 2D 22 11 AND 1122',
|
109
|
+
'00/0063: 2E 22 11 ROL 1122',
|
110
|
+
'00/0066: 2F 33 22 11 AND 112233',
|
111
|
+
'00/006A: 30 11 BMI 007D {+11}',
|
112
|
+
'00/006C: 31 11 AND (11),Y',
|
113
|
+
'00/006E: 32 11 AND (11)',
|
114
|
+
'00/0070: 33 11 AND (11,S),Y',
|
115
|
+
'00/0072: 34 11 BIT 11,X',
|
116
|
+
'00/0074: 35 11 AND 11,X',
|
117
|
+
'00/0076: 36 11 ROL 11,X',
|
118
|
+
'00/0078: 37 11 AND [11],Y',
|
119
|
+
'00/007A: 38 SEC',
|
120
|
+
'00/007B: 39 22 11 AND 1122,Y',
|
121
|
+
'00/007E: 3A DEC',
|
122
|
+
'00/007F: 3B TSC',
|
123
|
+
'00/0080: 3C 22 11 BIT 1122,X',
|
124
|
+
'00/0083: 3D 22 11 AND 1122,X',
|
125
|
+
'00/0086: 3E 22 11 ROL 1122,X',
|
126
|
+
'00/0089: 3F 33 22 11 AND 112233,X',
|
127
|
+
'00/008D: 40 RTI',
|
128
|
+
'00/008E: 41 11 EOR (11,X)',
|
129
|
+
'00/0090: 42 11 WDM 11',
|
130
|
+
'00/0092: 43 11 EOR 11,S',
|
131
|
+
'00/0094: 44 22 11 MVP 11,22',
|
132
|
+
'00/0097: 45 11 EOR 11',
|
133
|
+
'00/0099: 46 11 LSR 11',
|
134
|
+
'00/009B: 47 11 EOR [11]',
|
135
|
+
'00/009D: 48 PHA',
|
136
|
+
'00/009E: 49 11 EOR #11',
|
137
|
+
'00/00A0: 4A LSR',
|
138
|
+
'00/00A1: 4B PHK',
|
139
|
+
'00/00A2: 4C 22 11 JMP 1122',
|
140
|
+
'00/00A5: 4D 22 11 EOR 1122',
|
141
|
+
'00/00A8: 4E 22 11 LSR 1122',
|
142
|
+
'00/00AB: 4F 33 22 11 EOR 112233',
|
143
|
+
'00/00AF: 50 11 BVC 00C2 {+11}',
|
144
|
+
'00/00B1: 51 11 EOR (11),Y',
|
145
|
+
'00/00B3: 52 11 EOR (11)',
|
146
|
+
'00/00B5: 53 11 EOR (11,S),Y',
|
147
|
+
'00/00B7: 54 22 11 MVN 11,22',
|
148
|
+
'00/00BA: 55 11 EOR 11,X',
|
149
|
+
'00/00BC: 56 11 LSR 11,X',
|
150
|
+
'00/00BE: 57 11 EOR [11],Y',
|
151
|
+
'00/00C0: 58 CLI',
|
152
|
+
'00/00C1: 59 22 11 EOR 1122,Y',
|
153
|
+
'00/00C4: 5A PHY',
|
154
|
+
'00/00C5: 5B TCD',
|
155
|
+
'00/00C6: 5C 33 22 11 JMP 112233',
|
156
|
+
'00/00CA: 5D 22 11 EOR 1122,X',
|
157
|
+
'00/00CD: 5E 22 11 LSR 1122,X',
|
158
|
+
'00/00D0: 5F 33 22 11 EOR 112233,X',
|
159
|
+
'00/00D4: 60 RTS',
|
160
|
+
'00/00D5: 61 11 ADC (11,X)',
|
161
|
+
'00/00D7: 62 22 11 PER 11FC {+1122}',
|
162
|
+
'00/00DA: 63 11 ADC 11,S',
|
163
|
+
'00/00DC: 64 11 STZ 11',
|
164
|
+
'00/00DE: 65 11 ADC 11',
|
165
|
+
'00/00E0: 66 11 ROR 11',
|
166
|
+
'00/00E2: 67 11 ADC [11]',
|
167
|
+
'00/00E4: 68 PLA',
|
168
|
+
'00/00E5: 69 11 ADC #11',
|
169
|
+
'00/00E7: 6A ROR',
|
170
|
+
'00/00E8: 6B RTL',
|
171
|
+
'00/00E9: 6C 22 11 JMP (1122)',
|
172
|
+
'00/00EC: 6D 22 11 ADC 1122',
|
173
|
+
'00/00EF: 6E 22 11 ROR 1122',
|
174
|
+
'00/00F2: 6F 33 22 11 ADC 112233',
|
175
|
+
'00/00F6: 70 11 BVS 0109 {+11}',
|
176
|
+
'00/00F8: 71 11 ADC (11),Y',
|
177
|
+
'00/00FA: 72 11 ADC (11)',
|
178
|
+
'00/00FC: 73 11 ADC (11,S),Y',
|
179
|
+
'00/00FE: 74 11 STZ 11,X',
|
180
|
+
'00/0100: 75 11 ADC 11,X',
|
181
|
+
'00/0102: 76 11 ROR 11,X',
|
182
|
+
'00/0104: 77 11 ADC [11],Y',
|
183
|
+
'00/0106: 78 SEI',
|
184
|
+
'00/0107: 79 22 11 ADC 1122,Y',
|
185
|
+
'00/010A: 7A PLY',
|
186
|
+
'00/010B: 7B TDC',
|
187
|
+
'00/010C: 7C 22 11 JMP (1122,X)',
|
188
|
+
'00/010F: 7D 22 11 ADC 1122,X',
|
189
|
+
'00/0112: 7E 22 11 ROR 1122,X',
|
190
|
+
'00/0115: 7F 33 22 11 ADC 112233,X',
|
191
|
+
'00/0119: 80 11 BRA 012C {+11}',
|
192
|
+
'00/011B: 81 11 STA (11,X)',
|
193
|
+
'00/011D: 82 22 11 BRL 1242 {+1122}',
|
194
|
+
'00/0120: 83 11 STA 11,S',
|
195
|
+
'00/0122: 84 11 STY 11',
|
196
|
+
'00/0124: 85 11 STA 11',
|
197
|
+
'00/0126: 86 11 STX 11',
|
198
|
+
'00/0128: 87 11 STA [11]',
|
199
|
+
'00/012A: 88 DEY',
|
200
|
+
'00/012B: 89 11 BIT #11',
|
201
|
+
'00/012D: 8A TXA',
|
202
|
+
'00/012E: 8B PHB',
|
203
|
+
'00/012F: 8C 22 11 STY 1122',
|
204
|
+
'00/0132: 8D 22 11 STA 1122',
|
205
|
+
'00/0135: 8E 22 11 STX 1122',
|
206
|
+
'00/0138: 8F 33 22 11 STA 112233',
|
207
|
+
'00/013C: 90 11 BCC 014F {+11}',
|
208
|
+
'00/013E: 91 11 STA (11),Y',
|
209
|
+
'00/0140: 92 11 STA (11)',
|
210
|
+
'00/0142: 93 11 STA (11,S),Y',
|
211
|
+
'00/0144: 94 11 STY 11,X',
|
212
|
+
'00/0146: 95 11 STA 11,X',
|
213
|
+
'00/0148: 96 11 STX 11,Y',
|
214
|
+
'00/014A: 97 11 STA [11],Y',
|
215
|
+
'00/014C: 98 TYA',
|
216
|
+
'00/014D: 99 22 11 STA 1122,Y',
|
217
|
+
'00/0150: 9A TXS',
|
218
|
+
'00/0151: 9B TXY',
|
219
|
+
'00/0152: 9C 22 11 STZ 1122',
|
220
|
+
'00/0155: 9D 22 11 STA 1122,X',
|
221
|
+
'00/0158: 9E 22 11 STZ 1122,X',
|
222
|
+
'00/015B: 9F 33 22 11 STA 112233,X',
|
223
|
+
'00/015F: A0 11 LDY #11',
|
224
|
+
'00/0161: A1 11 LDA (11,X)',
|
225
|
+
'00/0163: A2 11 LDX #11',
|
226
|
+
'00/0165: A3 11 LDA 11,S',
|
227
|
+
'00/0167: A4 11 LDY 11',
|
228
|
+
'00/0169: A5 11 LDA 11',
|
229
|
+
'00/016B: A6 11 LDX 11',
|
230
|
+
'00/016D: A7 11 LDA [11]',
|
231
|
+
'00/016F: A8 TAY',
|
232
|
+
'00/0170: A9 11 LDA #11',
|
233
|
+
'00/0172: AA TAX',
|
234
|
+
'00/0173: AB PLB',
|
235
|
+
'00/0174: AC 22 11 LDY 1122',
|
236
|
+
'00/0177: AD 22 11 LDA 1122',
|
237
|
+
'00/017A: AE 22 11 LDX 1122',
|
238
|
+
'00/017D: AF 33 22 11 LDA 112233',
|
239
|
+
'00/0181: B0 11 BCS 0194 {+11}',
|
240
|
+
'00/0183: B1 11 LDA (11),Y',
|
241
|
+
'00/0185: B2 11 LDA (11)',
|
242
|
+
'00/0187: B3 11 LDA (11,S),Y',
|
243
|
+
'00/0189: B4 11 LDY 11,X',
|
244
|
+
'00/018B: B5 11 LDA 11,X',
|
245
|
+
'00/018D: B6 11 LDX 11,Y',
|
246
|
+
'00/018F: B7 11 LDA [11],Y',
|
247
|
+
'00/0191: B8 CLV',
|
248
|
+
'00/0192: B9 22 11 LDA 1122,Y',
|
249
|
+
'00/0195: BA TSX',
|
250
|
+
'00/0196: BB TYX',
|
251
|
+
'00/0197: BC 22 11 LDY 1122,X',
|
252
|
+
'00/019A: BD 22 11 LDA 1122,X',
|
253
|
+
'00/019D: BE 22 11 LDX 1122,Y',
|
254
|
+
'00/01A0: BF 33 22 11 LDA 112233,X',
|
255
|
+
'00/01A4: C0 11 CPY #11',
|
256
|
+
'00/01A6: C1 11 CMP (11,X)',
|
257
|
+
'00/01A8: C2 00 REP #00',
|
258
|
+
'00/01AA: C3 11 CMP 11,S',
|
259
|
+
'00/01AC: C4 11 CPY 11',
|
260
|
+
'00/01AE: C5 11 CMP 11',
|
261
|
+
'00/01B0: C6 11 DEC 11',
|
262
|
+
'00/01B2: C7 11 CMP [11]',
|
263
|
+
'00/01B4: C8 INY',
|
264
|
+
'00/01B5: C9 11 CMP #11',
|
265
|
+
'00/01B7: CA DEX',
|
266
|
+
'00/01B8: CB WAI',
|
267
|
+
'00/01B9: CC 22 11 CPY 1122',
|
268
|
+
'00/01BC: CD 22 11 CMP 1122',
|
269
|
+
'00/01BF: CE 22 11 DEC 1122',
|
270
|
+
'00/01C2: CF 33 22 11 CMP 112233',
|
271
|
+
'00/01C6: D0 11 BNE 01D9 {+11}',
|
272
|
+
'00/01C8: D1 11 CMP (11),Y',
|
273
|
+
'00/01CA: D2 11 CMP (11)',
|
274
|
+
'00/01CC: D3 11 CMP (11,S),Y',
|
275
|
+
'00/01CE: D4 11 PEI 11',
|
276
|
+
'00/01D0: D5 11 CMP 11,X',
|
277
|
+
'00/01D2: D6 11 DEC 11,X',
|
278
|
+
'00/01D4: D7 11 CMP [11],Y',
|
279
|
+
'00/01D6: D8 CLD',
|
280
|
+
'00/01D7: D9 22 11 CMP 1122,Y',
|
281
|
+
'00/01DA: DA PHX',
|
282
|
+
'00/01DB: DB STP',
|
283
|
+
'00/01DC: DC 22 11 JMP [1122]',
|
284
|
+
'00/01DF: DD 22 11 CMP 1122,X',
|
285
|
+
'00/01E2: DE 22 11 DEC 1122,X',
|
286
|
+
'00/01E5: DF 33 22 11 CMP 112233,X',
|
287
|
+
'00/01E9: E0 11 CPX #11',
|
288
|
+
'00/01EB: E1 11 SBC (11,X)',
|
289
|
+
'00/01ED: E2 00 SEP #00',
|
290
|
+
'00/01EF: E3 11 SBC 11,S',
|
291
|
+
'00/01F1: E4 11 CPX 11',
|
292
|
+
'00/01F3: E5 11 SBC 11',
|
293
|
+
'00/01F5: E6 11 INC 11',
|
294
|
+
'00/01F7: E7 11 SBC [11]',
|
295
|
+
'00/01F9: E8 INX',
|
296
|
+
'00/01FA: E9 11 SBC #11',
|
297
|
+
'00/01FC: EA NOP',
|
298
|
+
'00/01FD: EB XBA',
|
299
|
+
'00/01FE: EC 22 11 CPX 1122',
|
300
|
+
'00/0201: ED 22 11 SBC 1122',
|
301
|
+
'00/0204: EE 22 11 INC 1122',
|
302
|
+
'00/0207: EF 33 22 11 SBC 112233',
|
303
|
+
'00/020B: F0 11 BEQ 021E {+11}',
|
304
|
+
'00/020D: F1 11 SBC (11),Y',
|
305
|
+
'00/020F: F2 11 SBC (11)',
|
306
|
+
'00/0211: F3 11 SBC (11,S),Y',
|
307
|
+
'00/0213: F4 22 11 PEA 1122',
|
308
|
+
'00/0216: F5 11 SBC 11,X',
|
309
|
+
'00/0218: F6 11 INC 11,X',
|
310
|
+
'00/021A: F7 11 SBC [11],Y',
|
311
|
+
'00/021C: F8 SED',
|
312
|
+
'00/021D: F9 22 11 SBC 1122,Y',
|
313
|
+
'00/0220: FA PLX',
|
314
|
+
'00/0221: FB XCE',
|
315
|
+
'00/0222: FC 22 11 JSR (1122,X)',
|
316
|
+
'00/0225: FD 22 11 SBC 1122,X',
|
317
|
+
'00/0228: FE 22 11 INC 1122,X',
|
318
|
+
'00/022B: FF 33 22 11 SBC 112233,X'
|
319
|
+
]
|
320
|
+
end
|
321
|
+
end
|
322
|
+
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: snes_utils
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.3.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Vivien Bihl
|
@@ -16,89 +16,84 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version:
|
19
|
+
version: 3.12.0
|
20
20
|
type: :development
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version:
|
26
|
+
version: 3.12.0
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
|
-
name:
|
28
|
+
name: debug
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
31
|
- - "~>"
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: '
|
34
|
-
type: :
|
33
|
+
version: '1.8'
|
34
|
+
type: :development
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
38
|
- - "~>"
|
39
39
|
- !ruby/object:Gem::Version
|
40
|
-
version: '
|
40
|
+
version: '1.8'
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: chunky_png
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
44
44
|
requirements:
|
45
45
|
- - "~>"
|
46
46
|
- !ruby/object:Gem::Version
|
47
|
-
version:
|
48
|
-
type: :runtime
|
49
|
-
prerelease: false
|
50
|
-
version_requirements: !ruby/object:Gem::Requirement
|
51
|
-
requirements:
|
52
|
-
- - "~>"
|
53
|
-
- !ruby/object:Gem::Version
|
54
|
-
version: '1.3'
|
55
|
-
- !ruby/object:Gem::Dependency
|
56
|
-
name: nokogiri
|
57
|
-
requirement: !ruby/object:Gem::Requirement
|
58
|
-
requirements:
|
59
|
-
- - "~>"
|
60
|
-
- !ruby/object:Gem::Version
|
61
|
-
version: '1.10'
|
47
|
+
version: 1.4.0
|
62
48
|
type: :runtime
|
63
49
|
prerelease: false
|
64
50
|
version_requirements: !ruby/object:Gem::Requirement
|
65
51
|
requirements:
|
66
52
|
- - "~>"
|
67
53
|
- !ruby/object:Gem::Version
|
68
|
-
version:
|
54
|
+
version: 1.4.0
|
69
55
|
- !ruby/object:Gem::Dependency
|
70
56
|
name: rb-readline
|
71
57
|
requirement: !ruby/object:Gem::Requirement
|
72
58
|
requirements:
|
73
59
|
- - "~>"
|
74
60
|
- !ruby/object:Gem::Version
|
75
|
-
version:
|
61
|
+
version: 0.5.5
|
76
62
|
type: :runtime
|
77
63
|
prerelease: false
|
78
64
|
version_requirements: !ruby/object:Gem::Requirement
|
79
65
|
requirements:
|
80
66
|
- - "~>"
|
81
67
|
- !ruby/object:Gem::Version
|
82
|
-
version:
|
68
|
+
version: 0.5.5
|
83
69
|
description: A collection of tools to create or edit SNES games
|
84
70
|
email: vivienbihl@gmail.com
|
85
71
|
executables:
|
86
72
|
- mini_assembler
|
87
73
|
- png2snes
|
88
74
|
- tmx2snes
|
75
|
+
- vas
|
89
76
|
extensions: []
|
90
77
|
extra_rdoc_files: []
|
91
78
|
files:
|
92
79
|
- bin/mini_assembler
|
93
80
|
- bin/png2snes
|
94
81
|
- bin/tmx2snes
|
82
|
+
- bin/vas
|
95
83
|
- lib/mini_assembler/definitions.rb
|
96
84
|
- lib/mini_assembler/mini_assembler.rb
|
97
85
|
- lib/mini_assembler/spc700/definitions.rb
|
86
|
+
- lib/mini_assembler/superfx/definitions.rb
|
98
87
|
- lib/mini_assembler/wdc65816/definitions.rb
|
99
88
|
- lib/png2snes/png2snes.rb
|
100
89
|
- lib/snes_utils.rb
|
101
90
|
- lib/tmx2snes/tmx2snes.rb
|
91
|
+
- lib/vas/vas.rb
|
92
|
+
- spec/mini_assembler_spec.rb
|
93
|
+
- spec/spc700_spec.rb
|
94
|
+
- spec/spec_helper.rb
|
95
|
+
- spec/vas_spec.rb
|
96
|
+
- spec/wdc65816_spec.rb
|
102
97
|
homepage: https://rubygems.org/gems/snes_utils
|
103
98
|
licenses:
|
104
99
|
- MIT
|
@@ -119,7 +114,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
119
114
|
- !ruby/object:Gem::Version
|
120
115
|
version: '0'
|
121
116
|
requirements: []
|
122
|
-
rubygems_version: 3.
|
117
|
+
rubygems_version: 3.4.10
|
123
118
|
signing_key:
|
124
119
|
specification_version: 4
|
125
120
|
summary: SNES Utils
|