Publish the reproducible Sound Lab and FPGA Colour Lab sources

This commit is contained in:
bholman committed 2026-11-18 12:28:31 -07:00
commit 88254d7e24
27 files changed
+4574

No files matched your search

+54
View File
@@ -0,0 +1,54 @@
# FPGA Colour Lab
Assembly-only, user-facing diagnostic for the optional CoCo3FPGA/MiSTer
256-color extension and VCC Plus's matching core option. It is **not a standard
CoCo graphics mode**. Use a fresh disposable BASIC machine; the diagnostic uses
physical RAM4000..B7FF as its framebuffer. Eject SSC and enable the extension.
No private ROM bytes are included in the source or disk.
## Build
Python3.9+ and LWASM4.25 are sufficient, on Windows or Mac/Linux:
```sh
python3 examples/fpga256/build.py --lwasm /absolute/path/to/lwasm --output .build/colourlab-run1
```
On Windows, supply `lwasm.exe` and the installed Python executable. The builder
requires a fresh output folder and preserves prior disks. VCC Plus on Mac
bundles LWASM in its compiler stack; no C/CMOC build is needed here.
The tracked `generated.inc` also lets the native assembly workspace assemble
`colorlab.asm` directly. The Python builder regenerates that include and creates
the complete test disk; the include is authored test data, not a private ROM.
Outputs: COLORLAB.DSK (35-track DECB), COLORLAB.BIN, ASCII COLORLAB.BAS, listing,
generated banner/palette input and a source/artifact SHA256 manifest. Keep the
master and manifest together; copy the disk for interactive tests.
## Play and inspect
In the Mac development build, enable **FPGA 256-color support** in Machine
Settings and apply the change. Mount a writable copy in FD0 in Disk BASIC.
Type `RUN"COLORLAB"`, read the instructions, then
press any key. The launch assumes ordinary32-column BASIC and returns to that
mode; it does not attempt to read back write-only GIME registers.
- **Grid:** 16 columns ×16 rows,256 distinct colors. Small cells are ordered
left-to-right, then top-to-bottom. Look for missing/duplicated cells or colors.
- **Space:** cycle grid, byte ramp and one-pixel alternating stripes. Look for
stable edges and consistent pixel ordering/row alignment.
- **A:** toggle palette animation. Colors move without redrawing the picture;
the black/white header entries are retained for readable controls.
- **Q:** restore the saved MMU mapping, standard BASIC video/ROM setup and caller
stack, then return. The keyboard is scanned directly and debounced, avoiding
patched BASIC POLCAT hooks while in the temporary graphics mapping.
Take a gallery photograph/screenshot, note platform/core/version and which
controls worked, then report any missing colors, seams or unexpected resets.
The disk does not claim to measure analog calibration. It does not yet save a
result file; automatic native tests record exact pixel/control checks separately.
Guest validation covers actual assembly on both 6809 and 6309 engines and a real
Disk BASIC RUN/LOADM/EXEC path. This is distinct from native Mac UI or physical
MiSTer acceptance. See the [Mac validation record](../../docs/development/FPGA256_MAC_VALIDATION.md)
for the separate host checks.
+79
View File
@@ -0,0 +1,79 @@
#!/usr/bin/env python3
# SPDX-License-Identifier: GPL-3.0-or-later
"""Build the assembly-only FPGA Colour Lab disk with native LWASM/Python."""
import argparse
import hashlib
import itertools
import json
from pathlib import Path
import shutil
import subprocess
PROJECT = Path(__file__).resolve().parent
FONT = dict(zip('ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789 ', [
'25755','65656','34443','65556','74647','74644','34553','55755','72227',
'11152','55655','44447','57755','57775','25552','65644','25573','65655',
'34216','72222','55557','55552','55575','55255','55222','71247',
'75557','26227','61247','61216','55711','74616','34652','71111','25652','25716','00000']))
def main():
parser = argparse.ArgumentParser(description=__doc__)
parser.add_argument('--lwasm', type=Path, required=True)
parser.add_argument('--output', type=Path, required=True)
a = parser.parse_args()
output = a.output.resolve()
if output.exists(): parser.error('Use a fresh output folder; preserve prior disks.')
output.mkdir(parents=True)
version = subprocess.check_output([str(a.lwasm.resolve()), '--version'], text=True).strip()
image = bytearray(160*32)
for text, y in [('FPGA COLOUR LAB 256',2),('SPACE NEXT A AUTO Q QUIT',12),('1 GRID 2 RAMP 3 STRIPES',22)]:
left = (160 - len(text)*4)//2
for n,c in enumerate(text):
for row, bits in enumerate(FONT[c]):
for bit in range(3):
if int(bits)&(4>>bit): image[(y+row)*160+left+n*4+bit]=255
runs=[]
for value, group in itertools.groupby(image):
count=len(list(group))
while count:
part=min(count,255); runs.extend([part,value]);count-=part
runs.append(0)
words=[]
for i in range(256):
r,g,b=i>>5,(i>>2)&7,i&3
value=((r>>2)<<11)|(((r>>1)&1)<<8)|((r&1)<<5)|((g>>2)<<10)|(((g>>1)&1)<<7)|((g&1)<<4)|((b>>1)<<9)|((b&1)<<6)
words.extend([value>>6,value&63])
with (output/'generated.inc').open('w') as f:
for label,data in [('colours',words),('banner',runs)]:
f.write(label+'\n')
for start in range(0,len(data),16):f.write(' fcb '+','.join('$%02x'%v for v in data[start:start+16])+'\n')
shutil.copy2(PROJECT/'colorlab.asm',output/'colorlab.asm')
subprocess.run([str(a.lwasm.resolve()),'--format=decb','--output=COLORLAB.BIN','--list=COLORLAB.lst','colorlab.asm'],cwd=output,check=True)
binary=(output/'COLORLAB.BIN').read_bytes()
assert binary[0]==0 and int.from_bytes(binary[3:5],'big')==0x2000
assert 0x2000+int.from_bytes(binary[1:3],'big')<0x4000,'Code must stay below remapped framebuffer'
basic=b'10 PCLEAR1:CLEAR200,&H1FFF:CLS\r20 PRINT"FPGA COLOUR LAB - EXTENSION ONLY"\r30 PRINT"ENABLE 256 COLOURS; EJECT SSC."\r40 PRINT"GRID: 16 BY 16 DISTINCT COLOURS"\r50 PRINT"SPACE: NEXT PATTERN A: ANIMATE"\r60 PRINT"Q: RETURN. STANDARD COCO UNSUPPORTED"\r70 PRINT"PRESS ANY KEY TO START"\r80 IF INKEY$="" THEN80\r90 LOADM"COLORLAB":EXEC\r100 PRINT"RETURNED FROM COLOUR LAB"\r'
(output/'COLORLAB.BAS').write_bytes(basic)
disk=bytearray(b'\xff'*(35*18*256)); fat=(17*18+1)*256; directory=(17*18+2)*256; nextgranule=0
for index,(name,data,kind,ascii_flag) in enumerate([('COLORLAB.BAS',basic,0,255),('COLORLAB.BIN',binary,2,0)]):
first=nextgranule; count=(len(data)+2303)//2304
for n in range(count):
g=nextgranule; nextgranule+=1; chunk=data[n*2304:(n+1)*2304]
offset=((g//2+(g>=34))*18+(g%2)*9)*256
disk[offset:offset+len(chunk)]=chunk
disk[fat+g]=(g+1) if n+1<count else 0xc0+(len(chunk)+255)//256
base,ext=name.split('.'); entry=bytearray(32)
entry[:11]=(base.ljust(8)+ext.ljust(3)).encode();entry[11:14]=bytes([kind,ascii_flag,first])
entry[14:16]=(len(data)%256 or 256).to_bytes(2,'big');disk[directory+index*32:directory+(index+1)*32]=entry
(output/'COLORLAB.DSK').write_bytes(disk)
digest=lambda p:hashlib.sha256(p.read_bytes()).hexdigest()
manifest={'assembler':version,'cpu':'MC6809','requires':'FPGA 256-color extension; SSC absent',
'hardware_tested':False,'org':8192,'framebuffer':'physical 4000..B7FF; 160x192',
'source_sha256':{n:digest(PROJECT/n) for n in ['colorlab.asm','build.py']},
'artifacts':{n:{'bytes':(output/n).stat().st_size,'sha256':digest(output/n)} for n in ['COLORLAB.BIN','COLORLAB.BAS','COLORLAB.DSK','generated.inc']}}
(output/'manifest.json').write_text(json.dumps(manifest,indent=2)+'\n')
print('Built assembly-only Colour Lab:',output/'COLORLAB.DSK')
if __name__=='__main__':main()
+208
View File
@@ -0,0 +1,208 @@
* SPDX-License-Identifier: GPL-3.0-or-later
* Original MC6809 diagnostic; LWASM DECB output. No CMOC or private ROM bytes.
org $2000
start pshs cc,d,dp,x,y,u
sts oldstack
orcc #$50
lds #$0dff
* GIME video/INIT registers are write-only on a standard CoCo. Start this
* diagnostic from ordinary 32-column BASIC; return to that documented mode.
ldx #$ffa2
ldu #oldmmu
ldb #4
savem lda ,x+
sta ,u+
decb
bne savem
lda #2
ldx #$ffa2
mapram sta ,x+
inca
cmpa #6
bne mapram
lda #$4c * Native graphics, MMU, internal 32 KiB ROM
sta $ff90
clr $ff9a
clr $ff9c
clr $ff9f
lda #8
sta $ff9d
clr $ff9e
lda #$80
sta $ff98
lda #$1f * HRES7, CRES3 = 160 x 192, one byte/pixel
sta $ff99
clr phase
clr animate
clr page
clr lastkey
jsr palette
jsr draw
keys jsr readkey * Direct matrix scan; no BASIC ROM hook dependency
tsta
beq release
cmpa lastkey
beq idle
sta lastkey
cmpa #'Q
lbeq quit
cmpa #'q
lbeq quit
cmpa #'A
beq toggle
cmpa #'a
beq toggle
cmpa #32
beq next
idle tst animate
beq keys
ldx #2000
delay leax -1,x
bne delay
inc phase
jsr palette
bra keys
release clr lastkey
bra idle
toggle com animate
bra keys
next inc page
lda page
cmpa #3
blo redraw
clr page
redraw jsr draw
bra keys
readkey lda #$fd * Column 1: A is row0, Q is row2
sta $ff02
lda $ff00
bita #4
bne checka
lda #'Q
rts
checka bita #1
bne checks
lda #'A
rts
checks lda #$7f * Column 7, row3: SPACE
sta $ff02
lda $ff00
bita #8
bne nokey
lda #32
rts
nokey clra
rts
palette ldu #colours
ldy #256
ldb phase
pal lda ,u+
sta $ffb0 * Upper and lower six bits
lda ,u+
ora #$80 * Preserve upper six bits, replace lower
sta $ffb0
tst phase
beq commit
tstb
beq skippal
cmpb #255
beq skippal
commit
stb $ff7e * Index, not RGB data
skippal
incb
leay -1,y
bne pal
rts
draw ldx #$4000
ldu #banner
rle ldb ,u+
beq body
lda ,u+
run sta ,x+
decb
bne run
bra rle
body lda page
beq gallery
cmpa #1
beq ramp
ldy #160
stripe clra
ldb #160
strpx eora #$ff
sta ,x+
decb
bne strpx
leay -1,y
bne stripe
rts
ramp ldy #160
clra
ramprow ldb #160
ramppx sta ,x+
inca
decb
bne ramppx
leay -1,y
bne ramprow
rts
gallery clr rowbase
lda #16
sta rows
cellrow lda #10
sta lines
gridrow lda rowbase
ldb #16
cell ldu #10
cellpx sta ,x+
leau -1,u
cmpu #0 * LEAU does not update Z on a 6809
bne cellpx
inca
decb
bne cell
dec lines
bne gridrow
lda rowbase
adda #16
sta rowbase
dec rows
bne cellrow
rts
quit ldx #$ffa2
ldu #oldmmu
ldb #4
restm lda ,u+
sta ,x+
decb
bne restm
lda #$cc * Standard BASIC text, internal 32 KiB ROM
sta $ff90
ldx #$ff98
ldu #oldvideo
ldb #8
restv lda ,u+
sta ,x+
decb
bne restv
lds oldstack
lda #$ff
sta $ff02
puls cc,d,dp,x,y,u,pc
oldstack rmb 2
oldvideo fcb 0,0,0,0,$0f,$e0,0,0
oldmmu rmb 4
phase rmb 1
animate rmb 1
page rmb 1
rowbase rmb 1
rows rmb 1
lines rmb 1
lastkey rmb 1
include "generated.inc"
end start
+122
View File
@@ -0,0 +1,122 @@
colours
fcb $00,$00,$01,$00,$08,$00,$09,$00,$00,$10,$01,$10,$08,$10,$09,$10
fcb $02,$00,$03,$00,$0a,$00,$0b,$00,$02,$10,$03,$10,$0a,$10,$0b,$10
fcb $10,$00,$11,$00,$18,$00,$19,$00,$10,$10,$11,$10,$18,$10,$19,$10
fcb $12,$00,$13,$00,$1a,$00,$1b,$00,$12,$10,$13,$10,$1a,$10,$1b,$10
fcb $00,$20,$01,$20,$08,$20,$09,$20,$00,$30,$01,$30,$08,$30,$09,$30
fcb $02,$20,$03,$20,$0a,$20,$0b,$20,$02,$30,$03,$30,$0a,$30,$0b,$30
fcb $10,$20,$11,$20,$18,$20,$19,$20,$10,$30,$11,$30,$18,$30,$19,$30
fcb $12,$20,$13,$20,$1a,$20,$1b,$20,$12,$30,$13,$30,$1a,$30,$1b,$30
fcb $04,$00,$05,$00,$0c,$00,$0d,$00,$04,$10,$05,$10,$0c,$10,$0d,$10
fcb $06,$00,$07,$00,$0e,$00,$0f,$00,$06,$10,$07,$10,$0e,$10,$0f,$10
fcb $14,$00,$15,$00,$1c,$00,$1d,$00,$14,$10,$15,$10,$1c,$10,$1d,$10
fcb $16,$00,$17,$00,$1e,$00,$1f,$00,$16,$10,$17,$10,$1e,$10,$1f,$10
fcb $04,$20,$05,$20,$0c,$20,$0d,$20,$04,$30,$05,$30,$0c,$30,$0d,$30
fcb $06,$20,$07,$20,$0e,$20,$0f,$20,$06,$30,$07,$30,$0e,$30,$0f,$30
fcb $14,$20,$15,$20,$1c,$20,$1d,$20,$14,$30,$15,$30,$1c,$30,$1d,$30
fcb $16,$20,$17,$20,$1e,$20,$1f,$20,$16,$30,$17,$30,$1e,$30,$1f,$30
fcb $20,$00,$21,$00,$28,$00,$29,$00,$20,$10,$21,$10,$28,$10,$29,$10
fcb $22,$00,$23,$00,$2a,$00,$2b,$00,$22,$10,$23,$10,$2a,$10,$2b,$10
fcb $30,$00,$31,$00,$38,$00,$39,$00,$30,$10,$31,$10,$38,$10,$39,$10
fcb $32,$00,$33,$00,$3a,$00,$3b,$00,$32,$10,$33,$10,$3a,$10,$3b,$10
fcb $20,$20,$21,$20,$28,$20,$29,$20,$20,$30,$21,$30,$28,$30,$29,$30
fcb $22,$20,$23,$20,$2a,$20,$2b,$20,$22,$30,$23,$30,$2a,$30,$2b,$30
fcb $30,$20,$31,$20,$38,$20,$39,$20,$30,$30,$31,$30,$38,$30,$39,$30
fcb $32,$20,$33,$20,$3a,$20,$3b,$20,$32,$30,$33,$30,$3a,$30,$3b,$30
fcb $24,$00,$25,$00,$2c,$00,$2d,$00,$24,$10,$25,$10,$2c,$10,$2d,$10
fcb $26,$00,$27,$00,$2e,$00,$2f,$00,$26,$10,$27,$10,$2e,$10,$2f,$10
fcb $34,$00,$35,$00,$3c,$00,$3d,$00,$34,$10,$35,$10,$3c,$10,$3d,$10
fcb $36,$00,$37,$00,$3e,$00,$3f,$00,$36,$10,$37,$10,$3e,$10,$3f,$10
fcb $24,$20,$25,$20,$2c,$20,$2d,$20,$24,$30,$25,$30,$2c,$30,$2d,$30
fcb $26,$20,$27,$20,$2e,$20,$2f,$20,$26,$30,$27,$30,$2e,$30,$2f,$30
fcb $34,$20,$35,$20,$3c,$20,$3d,$20,$34,$30,$35,$30,$3c,$30,$3d,$30
fcb $36,$20,$37,$20,$3e,$20,$3f,$20,$36,$30,$37,$30,$3e,$30,$3f,$30
banner
fcb $ff,$00,$6b,$00,$03,$ff,$01,$00,$02,$ff,$03,$00,$02,$ff,$02,$00
fcb $01,$ff,$07,$00,$02,$ff,$02,$00,$01,$ff,$02,$00,$01,$ff,$04,$00
fcb $01,$ff,$02,$00,$01,$ff,$01,$00,$01,$ff,$01,$00,$02,$ff,$06,$00
fcb $01,$ff,$04,$00,$01,$ff,$02,$00,$02,$ff,$06,$00,$02,$ff,$02,$00
fcb $03,$ff,$02,$00,$02,$ff,$55,$00,$01,$ff,$03,$00,$01,$ff,$01,$00
fcb $01,$ff,$01,$00,$01,$ff,$03,$00,$01,$ff,$01,$00,$01,$ff,$05,$00
fcb $01,$ff,$03,$00,$01,$ff,$01,$00,$01,$ff,$01,$00,$01,$ff,$03,$00
fcb $01,$ff,$01,$00,$01,$ff,$01,$00,$01,$ff,$01,$00,$01,$ff,$01,$00
fcb $01,$ff,$01,$00,$01,$ff,$05,$00,$01,$ff,$03,$00,$01,$ff,$01,$00
fcb $01,$ff,$01,$00,$01,$ff,$01,$00,$01,$ff,$07,$00,$01,$ff,$01,$00
fcb $01,$ff,$03,$00,$01,$ff,$57,$00,$02,$ff,$02,$00,$02,$ff,$02,$00
fcb $01,$ff,$01,$00,$01,$ff,$01,$00,$03,$ff,$05,$00,$01,$ff,$03,$00
fcb $01,$ff,$01,$00,$01,$ff,$01,$00,$01,$ff,$03,$00,$01,$ff,$01,$00
fcb $01,$ff,$01,$00,$01,$ff,$01,$00,$01,$ff,$01,$00,$02,$ff,$06,$00
fcb $01,$ff,$03,$00,$03,$ff,$01,$00,$02,$ff,$07,$00,$01,$ff,$02,$00
fcb $02,$ff,$02,$00,$02,$ff,$56,$00,$01,$ff,$03,$00,$01,$ff,$03,$00
fcb $01,$ff,$01,$00,$01,$ff,$01,$00,$01,$ff,$01,$00,$01,$ff,$05,$00
fcb $01,$ff,$03,$00,$01,$ff,$01,$00,$01,$ff,$01,$00,$01,$ff,$03,$00
fcb $01,$ff,$01,$00,$01,$ff,$01,$00,$01,$ff,$01,$00,$01,$ff,$01,$00
fcb $01,$ff,$01,$00,$01,$ff,$05,$00,$01,$ff,$03,$00,$01,$ff,$01,$00
fcb $01,$ff,$01,$00,$01,$ff,$01,$00,$01,$ff,$05,$00,$01,$ff,$05,$00
fcb $01,$ff,$01,$00,$01,$ff,$01,$00,$01,$ff,$55,$00,$01,$ff,$03,$00
fcb $01,$ff,$04,$00,$02,$ff,$01,$00,$01,$ff,$01,$00,$01,$ff,$06,$00
fcb $02,$ff,$02,$00,$01,$ff,$02,$00,$03,$ff,$02,$00,$01,$ff,$02,$00
fcb $03,$ff,$01,$00,$01,$ff,$01,$00,$01,$ff,$05,$00,$03,$ff,$01,$00
fcb $01,$ff,$01,$00,$01,$ff,$01,$00,$02,$ff,$06,$00,$03,$ff,$01,$00
fcb $02,$ff,$03,$00,$01,$ff,$ff,$00,$ff,$00,$ff,$00,$6c,$00,$02,$ff
fcb $01,$00,$02,$ff,$03,$00,$01,$ff,$03,$00,$02,$ff,$01,$00,$03,$ff
fcb $05,$00,$01,$ff,$01,$00,$01,$ff,$01,$00,$03,$ff,$01,$00,$01,$ff
fcb $01,$00,$01,$ff,$01,$00,$03,$ff,$0a,$00,$01,$ff,$07,$00,$01,$ff
fcb $02,$00,$01,$ff,$01,$00,$01,$ff,$01,$00,$03,$ff,$02,$00,$01,$ff
fcb $0b,$00,$01,$ff,$07,$00,$01,$ff,$02,$00,$01,$ff,$01,$00,$01,$ff
fcb $01,$00,$03,$ff,$01,$00,$03,$ff,$39,$00,$01,$ff,$03,$00,$01,$ff
fcb $01,$00,$01,$ff,$01,$00,$01,$ff,$01,$00,$01,$ff,$01,$00,$01,$ff
fcb $03,$00,$01,$ff,$07,$00,$03,$ff,$01,$00,$01,$ff,$03,$00,$01,$ff
fcb $01,$00,$01,$ff,$02,$00,$01,$ff,$0a,$00,$01,$ff,$01,$00,$01,$ff
fcb $05,$00,$01,$ff,$01,$00,$01,$ff,$01,$00,$01,$ff,$01,$00,$01,$ff
fcb $02,$00,$01,$ff,$02,$00,$01,$ff,$01,$00,$01,$ff,$09,$00,$01,$ff
fcb $01,$00,$01,$ff,$05,$00,$01,$ff,$01,$00,$01,$ff,$01,$00,$01,$ff
fcb $01,$00,$01,$ff,$02,$00,$01,$ff,$03,$00,$01,$ff,$3b,$00,$01,$ff
fcb $02,$00,$02,$ff,$02,$00,$03,$ff,$01,$00,$01,$ff,$03,$00,$02,$ff
fcb $06,$00,$03,$ff,$01,$00,$02,$ff,$03,$00,$01,$ff,$03,$00,$01,$ff
fcb $0a,$00,$03,$ff,$05,$00,$03,$ff,$01,$00,$01,$ff,$01,$00,$01,$ff
fcb $02,$00,$01,$ff,$02,$00,$01,$ff,$01,$00,$01,$ff,$09,$00,$01,$ff
fcb $01,$00,$01,$ff,$05,$00,$01,$ff,$01,$00,$01,$ff,$01,$00,$01,$ff
fcb $01,$00,$01,$ff,$02,$00,$01,$ff,$03,$00,$01,$ff,$3c,$00,$01,$ff
fcb $01,$00,$01,$ff,$03,$00,$01,$ff,$01,$00,$01,$ff,$01,$00,$01,$ff
fcb $03,$00,$01,$ff,$07,$00,$03,$ff,$01,$00,$01,$ff,$03,$00,$01,$ff
fcb $01,$00,$01,$ff,$02,$00,$01,$ff,$0a,$00,$01,$ff,$01,$00,$01,$ff
fcb $05,$00,$01,$ff,$01,$00,$01,$ff,$01,$00,$01,$ff,$01,$00,$01,$ff
fcb $02,$00,$01,$ff,$02,$00,$01,$ff,$01,$00,$01,$ff,$09,$00,$03,$ff
fcb $05,$00,$03,$ff,$01,$00,$01,$ff,$01,$00,$01,$ff,$02,$00,$01,$ff
fcb $03,$00,$01,$ff,$3a,$00,$02,$ff,$02,$00,$01,$ff,$03,$00,$01,$ff
fcb $01,$00,$01,$ff,$02,$00,$02,$ff,$01,$00,$03,$ff,$05,$00,$01,$ff
fcb $01,$00,$01,$ff,$01,$00,$03,$ff,$01,$00,$01,$ff,$01,$00,$01,$ff
fcb $02,$00,$01,$ff,$0a,$00,$01,$ff,$01,$00,$01,$ff,$05,$00,$01,$ff
fcb $01,$00,$01,$ff,$01,$00,$03,$ff,$02,$00,$01,$ff,$03,$00,$01,$ff
fcb $0b,$00,$02,$ff,$06,$00,$02,$ff,$01,$00,$03,$ff,$01,$00,$03,$ff
fcb $02,$00,$01,$ff,$ff,$00,$ff,$00,$ff,$00,$60,$00,$01,$ff,$07,$00
fcb $02,$ff,$01,$00,$02,$ff,$02,$00,$03,$ff,$01,$00,$02,$ff,$0a,$00
fcb $02,$ff,$06,$00,$02,$ff,$03,$00,$01,$ff,$02,$00,$01,$ff,$01,$00
fcb $01,$ff,$01,$00,$02,$ff,$0a,$00,$02,$ff,$07,$00,$02,$ff,$01,$00
fcb $03,$ff,$01,$00,$02,$ff,$02,$00,$03,$ff,$01,$00,$02,$ff,$02,$00
fcb $03,$ff,$02,$00,$02,$ff,$3d,$00,$02,$ff,$06,$00,$01,$ff,$03,$00
fcb $01,$ff,$01,$00,$01,$ff,$02,$00,$01,$ff,$02,$00,$01,$ff,$01,$00
fcb $01,$ff,$0b,$00,$01,$ff,$05,$00,$01,$ff,$01,$00,$01,$ff,$01,$00
fcb $01,$ff,$01,$00,$01,$ff,$01,$00,$03,$ff,$01,$00,$01,$ff,$01,$00
fcb $01,$ff,$0b,$00,$01,$ff,$05,$00,$01,$ff,$04,$00,$01,$ff,$02,$00
fcb $01,$ff,$01,$00,$01,$ff,$02,$00,$01,$ff,$02,$00,$01,$ff,$01,$00
fcb $01,$ff,$01,$00,$01,$ff,$03,$00,$01,$ff,$40,$00,$01,$ff,$06,$00
fcb $01,$ff,$01,$00,$01,$ff,$01,$00,$02,$ff,$03,$00,$01,$ff,$02,$00
fcb $01,$ff,$01,$00,$01,$ff,$0a,$00,$01,$ff,$06,$00,$02,$ff,$02,$00
fcb $03,$ff,$01,$00,$03,$ff,$01,$00,$02,$ff,$0b,$00,$01,$ff,$07,$00
fcb $01,$ff,$03,$00,$01,$ff,$02,$00,$02,$ff,$03,$00,$01,$ff,$02,$00
fcb $02,$ff,$02,$00,$02,$ff,$03,$00,$01,$ff,$3f,$00,$01,$ff,$06,$00
fcb $01,$ff,$01,$00,$01,$ff,$01,$00,$01,$ff,$01,$00,$01,$ff,$02,$00
fcb $01,$ff,$02,$00,$01,$ff,$01,$00,$01,$ff,$09,$00,$01,$ff,$07,$00
fcb $01,$ff,$01,$00,$01,$ff,$01,$00,$01,$ff,$01,$00,$01,$ff,$01,$00
fcb $01,$ff,$01,$00,$01,$ff,$01,$00,$01,$ff,$0d,$00,$01,$ff,$07,$00
fcb $01,$ff,$02,$00,$01,$ff,$02,$00,$01,$ff,$01,$00,$01,$ff,$02,$00
fcb $01,$ff,$02,$00,$01,$ff,$03,$00,$01,$ff,$05,$00,$01,$ff,$3d,$00
fcb $03,$ff,$06,$00,$02,$ff,$01,$00,$01,$ff,$01,$00,$01,$ff,$01,$00
fcb $03,$ff,$01,$00,$02,$ff,$0a,$00,$03,$ff,$05,$00,$01,$ff,$01,$00
fcb $01,$ff,$01,$00,$01,$ff,$01,$00,$01,$ff,$01,$00,$01,$ff,$01,$00
fcb $01,$ff,$01,$00,$01,$ff,$0b,$00,$02,$ff,$06,$00,$02,$ff,$03,$00
fcb $01,$ff,$02,$00,$01,$ff,$01,$00,$01,$ff,$01,$00,$03,$ff,$01,$00
fcb $01,$ff,$03,$00,$03,$ff,$01,$00,$02,$ff,$ff,$00,$ff,$00,$ff,$00
fcb $43,$00,$00