ds: add rotoscope

This commit is contained in:
Vince Weaver 2019-11-05 00:38:27 -05:00
parent af5383f58f
commit 98603308b3
13 changed files with 178 additions and 0 deletions

View File

@ -0,0 +1,30 @@
include ../../../Makefile.inc
PNG2RLE = ../../../gr-utils/png2rle
PNG2LZ4 = ../../../gr-utils/png2lz4
all: book_open.inc
#####
book_open.inc: $(PNG2RLE) \
book00.png book01.png book02.png book03.png book04.png book05.png \
book06.png book07.png book08.png book09.png book10.png
$(PNG2RLE) asm book00.png book00_rle > book_open.inc
$(PNG2RLE) asm book01.png book01_rle >> book_open.inc
$(PNG2RLE) asm book02.png book02_rle >> book_open.inc
$(PNG2RLE) asm book03.png book03_rle >> book_open.inc
$(PNG2RLE) asm book04.png book04_rle >> book_open.inc
$(PNG2RLE) asm book05.png book05_rle >> book_open.inc
$(PNG2RLE) asm book06.png book06_rle >> book_open.inc
$(PNG2RLE) asm book07.png book07_rle >> book_open.inc
$(PNG2RLE) asm book08.png book08_rle >> book_open.inc
$(PNG2RLE) asm book09.png book09_rle >> book_open.inc
$(PNG2RLE) asm book10.png book10_rle >> book_open.inc
#####
clean:
rm -f *~ *.o *.lst *.lzz *.inc

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.6 KiB

View File

@ -0,0 +1,148 @@
book00_rle: .byte $28 ; ysize=48
.byte $A0,$FF,$00, $A0,$4F,$00, $10, $AF,$11, $A0,$16,$00, $10, $A0,$11,$11
.byte $10, $A0,$13,$00, $10, $A0,$14,$11, $A0,$11,$00, $10, $A0,$16,$11
.byte $10, $AE,$00, $10, $A0,$19,$11, $AC,$00, $10, $A0,$1B,$11
.byte $10, $A9,$00, $10, $AF,$11, $A6,$51, $A8,$A1, $01
.byte $A9,$00, $11, $A4,$55, $A7,$A5, $A0,$12,$AA, $AA,$00, $11
.byte $A0,$01,$AA, $A3,$55, $A0,$19,$AA, $AA,$00, $11, $5A, $A4,$55
.byte $A0,$18,$AA, $AB,$00, $11, $A4,$55, $A0,$18,$AA, $AB,$00, $11
.byte $A0,$01,$AA, $A3,$55, $5A, $A0,$17,$AA, $AB,$00, $11, $5A
.byte $A4,$55, $A0,$17,$AA, $AB,$00, $01, $A6,$15, $A0,$16,$1A, $10
.byte $A0,$57,$00
.byte $A1
book01_rle: .byte $28 ; ysize=48
.byte $A0,$FF,$00, $A0,$4F,$00, $AF,$F0, $A0,$17,$00, $F0, $A0,$10,$FF, $F0
.byte $A0,$14,$00, $F0, $FF,$FF, $0F, $10, $AC,$00, $A3,$FF
.byte $A0,$12,$00, $F0, $A3,$FF, $0F, $A3,$00, $40, $AB,$00
.byte $FF,$FF, $F0, $AF,$00, $F0, $A4,$FF, $A4,$00, $A0,$10,$FF
.byte $AD,$00, $F0, $A5,$FF, $A4,$00, $A0,$11,$FF, $F0, $AA,$00
.byte $F0, $AF,$FF, $A6,$5F, $A8,$AF, $AA,$00, $11, $A4,$55
.byte $A7,$A5, $A0,$12,$AA, $AA,$00, $11, $A0,$01,$AA, $A3,$55, $A0,$19,$AA
.byte $AA,$00, $11, $5A, $A4,$55, $A0,$18,$AA, $AB,$00, $11
.byte $A4,$55, $A0,$18,$AA, $AB,$00, $11, $A0,$01,$AA, $A3,$55, $5A
.byte $A0,$17,$AA, $AB,$00, $11, $5A, $A4,$55, $A0,$17,$AA, $AB,$00
.byte $01, $A6,$15, $A0,$16,$1A, $10, $A0,$57,$00
.byte $A1
book02_rle: .byte $28 ; ysize=48
.byte $A0,$F2,$00, $A7,$B0, $A0,$1F,$00, $B0, $A8,$BB, $A0,$1F,$00, $A4,$BB
.byte $3B, $33, $BB, $0B, $A0,$20,$00, $A3,$BB, $33,$33
.byte $BB, $A0,$22,$00, $BB, $3B, $33,$33, $BB, $A0,$23,$00
.byte $33,$33, $B3, $BB, $A0,$24,$00, $B3, $BB,$BB, $A4,$00
.byte $A3,$B0, $A0,$1E,$00, $BB,$BB, $A3,$00, $B0, $BB,$BB, $3B
.byte $BB,$BB, $A0,$1D,$00, $BB, $A3,$00, $BB,$BB, $3B, $33
.byte $BB,$BB, $A0,$1E,$00, $BB, $00,$00, $BB,$BB, $A4,$33, $A0,$1F,$00
.byte $BB, $00, $BB,$BB, $A4,$33, $A0,$20,$00, $A3,$BB, $A4,$33
.byte $A0,$21,$00, $A3,$BB, $A3,$33, $A0,$22,$00, $A3,$BB, $B3, $33
.byte $A0,$23,$00, $A3,$BB, $0B, $A0,$24,$00, $BB, $0B, $A0,$26,$00
.byte $0B, $A0,$4F,$00
.byte $A1
book03_rle: .byte $28 ; ysize=48
.byte $A0,$FF,$00, $A0,$69,$00, $33, $A3,$30, $33, $A5,$B3, $30,$30
.byte $A0,$1C,$00, $A3,$33, $B3, $A7,$BB, $B3, $30, $A0,$1B,$00
.byte $A3,$33, $A9,$BB, $B3, $A0,$1B,$00, $33,$33, $B3, $A6,$BB
.byte $A3,$3B, $33, $30, $A0,$1A,$00, $33,$33, $A3,$BB, $3B
.byte $03,$03, $33, $B3, $A3,$BB, $33, $A0,$1A,$00, $33,$33
.byte $A3,$BB, $00,$00, $30, $A4,$BB, $33, $03, $A0,$1A,$00
.byte $33, $3B, $BB,$BB, $A3,$33, $A4,$BB, $0B,$0B, $A0,$1B,$00
.byte $33,$33, $3B, $BB, $B3,$B3, $A3,$BB, $0B, $A0,$1E,$00
.byte $A3,$33, $A5,$BB, $A0,$20,$00, $A4,$33, $A3,$BB, $A0,$21,$00, $A4,$33
.byte $BB, $0B, $A0,$22,$00, $A4,$33, $0B, $A0,$23,$00, $33,$33
.byte $03, $A0,$25,$00, $33, $A0,$4F,$00
.byte $A1
book04_rle: .byte $28 ; ysize=48
.byte $A0,$FF,$00, $A0,$41,$00, $30, $A0,$27,$00, $33,$33, $B3,$B3, $A3,$30
.byte $A0,$21,$00, $33, $BB,$BB, $3B, $B3,$B3, $BB, $B3,$B3
.byte $30, $A0,$1E,$00, $A4,$33, $A6,$BB, $B3, $33, $30
.byte $A0,$1B,$00, $A3,$33, $B3, $A9,$BB, $33, $A0,$1A,$00, $33,$33
.byte $B3, $A4,$BB, $A5,$3B, $33,$33, $A0,$1A,$00, $33,$33, $A3,$BB
.byte $33, $03,$03, $00, $A5,$33, $30, $A0,$19,$00, $33,$33
.byte $A3,$BB, $33, $A3,$30, $B3, $A3,$BB, $A3,$B3, $A0,$18,$00
.byte $33,$33, $A3,$BB, $B3, $33, $B3, $A6,$BB, $0B
.byte $A0,$19,$00, $A3,$33, $A7,$BB, $0B,$0B, $A0,$1C,$00, $A4,$33, $A4,$BB
.byte $0B, $A0,$1F,$00, $A5,$33, $BB, $0B, $A0,$21,$00, $A5,$33
.byte $0B, $A0,$22,$00, $33, $03, $A0,$76,$00
.byte $A1
book05_rle: .byte $28 ; ysize=48
.byte $A0,$FF,$00, $A0,$41,$00, $30,$30, $A0,$26,$00, $A3,$33, $B3,$B3, $33
.byte $30,$30, $A0,$20,$00, $33,$33, $B3, $A4,$BB, $B3,$B3, $33
.byte $30, $A0,$1D,$00, $33,$33, $A8,$BB, $B3, $33, $A0,$1C,$00
.byte $33,$33, $AA,$BB, $B3,$B3, $30, $A0,$19,$00, $33,$33, $AB,$BB
.byte $3B, $03, $A0,$19,$00, $33,$33, $3B, $BB, $33,$33
.byte $BB,$BB, $A3,$3B, $BB, $B3, $33, $30,$30, $A0,$18,$00
.byte $A4,$33, $BB, $B3, $A4,$33, $B3, $A4,$BB, $B3
.byte $A0,$18,$00, $A4,$33, $BB,$BB, $33, $B3, $A4,$BB, $A4,$0B
.byte $A0,$18,$00, $A4,$33, $A6,$BB, $0B, $A0,$1D,$00, $A5,$33, $A3,$BB
.byte $0B, $A0,$1F,$00, $A6,$33, $0B, $A0,$21,$00, $03, $00
.byte $03,$03, $A0,$9C,$00
.byte $A1
book06_rle: .byte $28 ; ysize=48
.byte $A0,$B5,$00, $10, $11,$11, $10, $A0,$22,$00, $10, $A6,$11
.byte $10, $A0,$1E,$00, $10, $A9,$11, $10, $A0,$1B,$00, $10
.byte $AB,$11, $01, $AC,$00, $33,$33, $B3, $33, $A3,$30
.byte $A6,$00, $10, $AB,$11, $01,$01, $AD,$00, $33, $A6,$BB
.byte $B3, $33, $30, $00, $10, $AA,$11, $01,$01
.byte $A0,$10,$00, $33,$33, $BB, $3B, $A5,$BB, $B3,$B3, $31,$31
.byte $A6,$11, $01,$01, $A0,$13,$00, $A4,$33, $A8,$BB, $33,$33, $11,$11
.byte $01, $A0,$17,$00, $A4,$33, $3B, $A8,$BB, $B3, $33
.byte $A0,$19,$00, $A5,$33, $BB, $3B,$3B, $33, $A3,$BB, $3B
.byte $33, $03, $A0,$19,$00, $A4,$33, $B3, $A3,$33, $BB,$BB
.byte $3B, $33, $A0,$1C,$00, $A3,$33, $BB,$BB, $B3,$B3, $BB,$BB
.byte $5B,$5B, $A4,$50, $A0,$19,$00, $A3,$33, $A5,$BB, $55,$55, $05
.byte $A0,$1D,$00, $A4,$33, $3B, $BB,$BB, $55,$55, $A0,$1F,$00, $A5,$33
.byte $BB, $55,$55, $05, $A0,$1F,$00, $A4,$33, $53, $A4,$55
.byte $A0,$23,$00, $A5,$55, $50, $A0,$23,$00, $A9,$05, $A0,$6A,$00
.byte $A1
book07_rle: .byte $28 ; ysize=48
.byte $A0,$13,$00, $11,$11, $55,$55, $A0,$23,$00, $11,$11, $55,$55, $A0,$23,$00
.byte $11,$11, $55,$55, $A0,$23,$00, $11,$11, $55,$55, $A0,$23,$00, $11,$11
.byte $55,$55, $A0,$23,$00, $11,$11, $55,$55, $A0,$16,$00, $A3,$33, $A3,$30
.byte $A7,$00, $11,$11, $55,$55, $A0,$17,$00, $33, $A4,$BB, $B3,$B3
.byte $33, $30,$30, $33, $B3, $11,$11, $55,$55, $A0,$18,$00
.byte $33, $AB,$BB, $11, $55,$55, $A0,$19,$00, $33, $3B
.byte $A8,$BB, $1B, $11, $51, $55, $A0,$1A,$00, $33
.byte $B3, $BB, $3B, $33,$33, $A3,$BB, $1B, $11
.byte $51, $55, $A0,$1B,$00, $33, $BB,$BB, $A3,$33, $BB,$BB
.byte $1B, $11, $51, $55, $05, $A0,$1B,$00, $33
.byte $BB,$BB, $33, $B3, $BB,$BB, $1B, $11, $51
.byte $55, $05, $A0,$1C,$00, $33, $A5,$BB, $1B, $11,$11
.byte $55,$55, $A0,$1D,$00, $33,$33, $A4,$BB, $11,$11, $55,$55, $A0,$1E,$00
.byte $A3,$33, $3B, $BB, $11,$11, $51, $55, $A0,$1F,$00
.byte $A3,$33, $03, $A0,$24,$00, $33,$33, $03, $A0,$25,$00, $03
.byte $A0,$EF,$00
.byte $A1
book08_rle: .byte $28 ; ysize=48
.byte $A7,$00, $11, $A9,$55, $11, $A0,$1C,$00, $11,$11, $A9,$55
.byte $11, $A0,$1C,$00, $11, $A9,$55, $11, $01, $A0,$19,$00
.byte $30, $33, $BB, $B1, $A9,$55, $11, $A0,$17,$00
.byte $A3,$30, $B3, $A3,$BB, $A9,$55, $11, $A0,$17,$00, $BB,$BB
.byte $B3, $A3,$BB, $5B, $A8,$55, $15, $11, $A0,$17,$00
.byte $A6,$BB, $A9,$55, $11, $A0,$18,$00, $3B, $A4,$BB, $AA,$55
.byte $11, $A0,$18,$00, $33, $B3, $BB,$BB, $33, $AA,$55
.byte $01, $A0,$18,$00, $B3, $BB,$BB, $33, $13, $A8,$55
.byte $05, $A0,$1A,$00, $A3,$BB, $33, $11, $A7,$55, $05
.byte $A0,$1B,$00, $BB,$BB, $33, $00, $11, $A6,$55, $A0,$1D,$00
.byte $BB,$BB, $33, $00, $11, $A4,$55, $05, $A0,$1E,$00
.byte $BB, $33, $03, $10, $11, $A3,$55, $05
.byte $A0,$1F,$00, $33,$33, $00, $11, $51, $55, $A0,$22,$00
.byte $33, $00,$00, $01, $05, $A0,$FF,$00, $A0,$64,$00
.byte $A1
book09_rle: .byte $28 ; ysize=48
.byte $AC,$55, $11, $A0,$1B,$00, $AC,$55, $11, $A0,$1B,$00, $AC,$55
.byte $51, $11, $A0,$1A,$00, $AD,$55, $11, $A0,$1A,$00, $AD,$55
.byte $11, $A0,$1A,$00, $AD,$55, $11,$11, $A0,$19,$00, $AE,$55, $11
.byte $A0,$19,$00, $15, $AD,$55, $11, $A0,$19,$00, $11, $AD,$55
.byte $11,$11, $A0,$18,$00, $11, $15, $AB,$55, $05, $A0,$1B,$00
.byte $11, $AA,$55, $05, $A0,$1C,$00, $11, $15, $A6,$55
.byte $05,$05, $A0,$1D,$00, $B3, $30, $11, $A4,$55, $05
.byte $A0,$20,$00, $0B, $03, $11, $A3,$55, $05, $A0,$23,$00
.byte $11, $55, $05, $A0,$FF,$00, $A0,$8C,$00
.byte $A1
book10_rle: .byte $28 ; ysize=48
.byte $A0,$F0,$00, $A3,$10, $A0,$25,$00, $55,$55, $A5,$51, $11, $A5,$10
.byte $A0,$1B,$00, $AC,$55, $51, $01, $A0,$1A,$00, $AC,$55, $A0,$1C,$00
.byte $AB,$55, $05, $A0,$1C,$00, $A9,$55, $05, $A0,$1E,$00, $A8,$55
.byte $05, $A0,$1F,$00, $A7,$55, $05, $A0,$20,$00, $01, $11
.byte $15, $55,$55, $05, $A0,$24,$00, $01,$01, $A0,$24,$00, $30
.byte $A0,$27,$00, $33, $A0,$27,$00, $BB, $33, $A0,$26,$00, $03,$03
.byte $A0,$C6,$00
.byte $A1