ds: add book opening scene

This commit is contained in:
Vince Weaver 2019-11-05 21:20:11 -05:00
parent 7391bb06b2
commit db7c2a7e84
17 changed files with 200 additions and 128 deletions

View File

@ -54,6 +54,7 @@ demosplash.o: demosplash.s \
pt3_lib_play_frame.s pt3_lib_write_frame.s \
interrupt_handler.s \
missing.s k_40_48d.inc create_update_type1.s \
open_book.s \
starbase.s keyboard.s \
starbase_action.s starbase_laser.s starbase_blast.s \
gr_run_sequence.s \
@ -62,7 +63,7 @@ demosplash.o: demosplash.s \
graphics/starbase/star_wipe.inc \
graphics/sprites/alien.inc graphics/sprites/astronaut.inc \
escape.s create_update_type2.s offsets_table2.s \
book.s book_40_48d.inc \
reading.s book_40_48d.inc \
credits.s credits_bg.inc offsets_table.s \
dya_space_demo2.pt3
ca65 -o demosplash.o demosplash.s -l demosplash.lst

View File

@ -92,18 +92,17 @@ Memory Map
0100-01ff stack
0200 fake store for graphics update
0200-02ff ?????
0300-03ff nibble table, irq vectors
0300-03ff irq vectors (also loader, nibble table)
0400-07FF lores page1
0800-0bff lores page2
0c00-0fff (used as page3)
0c00-0fff (used as page3) (also loader 200 )
1000-13ff (used for background masks) (also loader 1000-12ff)
1400-???? executable (31744 bytes)
1400-16ff Loader
1700-???? executable (30976 bytes)
9000-bfff audio buffer
9000-bfff graphics lookup / audio buffer
c000-cfff I/O
d000-ffff ROM
d000-ffff ROM (language card: music)

View File

@ -116,12 +116,10 @@ frame_decode_loop:
cli ; enable interrupts
;===========================
; book scene
; opening book scene
;============================
; jsr open_book
jsr open_book
;===========================
; starbase scene
@ -202,14 +200,17 @@ wait_until_keypressed:
; missing
.include "missing.s"
; missing
.include "open_book.s"
; Starbase
.include "starbase.s"
; escape
;.include "escape.s"
; book
.include "book.s"
; reading
.include "reading.s"
; credits
.include "credits.s"
@ -227,6 +228,7 @@ wait_until_keypressed:
; Pictures (no need to align)
.include "appleII_40_96.inc"
.include "graphics/book_open/book_open.inc"
.include "graphics/starbase/starbase.inc"
.include "graphics/starbase/ship_flames.inc"
.include "graphics/starbase/star_wipe.inc"

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.4 KiB

After

Width:  |  Height:  |  Size: 3.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.9 KiB

After

Width:  |  Height:  |  Size: 3.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.6 KiB

After

Width:  |  Height:  |  Size: 2.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.5 KiB

After

Width:  |  Height:  |  Size: 2.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.6 KiB

After

Width:  |  Height:  |  Size: 3.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.5 KiB

After

Width:  |  Height:  |  Size: 2.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.4 KiB

After

Width:  |  Height:  |  Size: 3.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.1 KiB

After

Width:  |  Height:  |  Size: 3.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.5 KiB

After

Width:  |  Height:  |  Size: 2.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.6 KiB

After

Width:  |  Height:  |  Size: 2.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.6 KiB

After

Width:  |  Height:  |  Size: 2.2 KiB

View File

@ -2,12 +2,10 @@ 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 $10, $A9,$00, $10, $AF,$11, $AE,$51, $01, $A9,$00
.byte $11, $A0,$1D,$55, $AA,$00, $11, $A0,$1D,$55, $AA,$00, $11
.byte $A0,$1D,$55, $AB,$00, $11, $A0,$1C,$55, $AB,$00, $11, $A0,$1C,$55
.byte $AB,$00, $11, $A0,$1C,$55, $AB,$00, $01, $A0,$1C,$15, $10
.byte $A0,$57,$00
.byte $A1
book01_rle: .byte $28 ; ysize=48
@ -16,133 +14,130 @@ book01_rle: .byte $28 ; ysize=48
.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 $F0, $AF,$FF, $AE,$5F, $AA,$00, $11, $A0,$1D,$55, $AA,$00
.byte $11, $A0,$1D,$55, $AA,$00, $11, $A0,$1D,$55, $AB,$00, $11
.byte $A0,$1C,$55, $AB,$00, $11, $A0,$1C,$55, $AB,$00, $11, $A0,$1C,$55
.byte $AB,$00, $01, $A0,$1C,$15, $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 $A0,$F2,$AA, $A7,$BA, $A0,$1F,$AA, $BA, $A8,$BB, $A0,$1F,$AA, $A4,$BB
.byte $3B, $33, $BB, $A0,$01,$AB, $A0,$20,$AA, $A3,$BB, $33,$33
.byte $BB, $A0,$22,$AA, $BB, $3B, $33,$33, $BB, $A0,$23,$AA
.byte $33,$33, $B3, $BB, $A0,$24,$AA, $B3, $BB,$BB, $A4,$AA
.byte $A3,$BA, $A0,$1E,$AA, $BB,$BB, $A3,$AA, $BA, $BB,$BB, $3B
.byte $BB,$BB, $A0,$1D,$AA, $BB, $A3,$AA, $BB,$BB, $3B, $33
.byte $BB,$BB, $A0,$1E,$AA, $BB, $A0,$02,$AA, $BB,$BB, $A4,$33, $A0,$1F,$AA
.byte $BB, $A0,$01,$AA, $BB,$BB, $A4,$33, $A0,$20,$AA, $A3,$BB, $A4,$33
.byte $A0,$21,$AA, $A3,$BB, $A3,$33, $A0,$22,$AA, $A3,$BB, $B3, $33
.byte $A0,$23,$AA, $A3,$BB, $A0,$01,$AB, $A0,$24,$AA, $BB, $A0,$01,$AB, $A0,$26,$AA
.byte $A0,$01,$AB, $A0,$4F,$AA
.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 $A0,$FF,$AA, $A0,$69,$AA, $33, $A3,$3A, $33, $A5,$B3, $3A,$3A
.byte $A0,$1C,$AA, $A3,$33, $B3, $A7,$BB, $B3, $3A, $A0,$1B,$AA
.byte $A3,$33, $A9,$BB, $B3, $A0,$1B,$AA, $33,$33, $B3, $A6,$BB
.byte $A3,$3B, $33, $3A, $A0,$1A,$AA, $33,$33, $A3,$BB, $3B
.byte $A0,$02,$A3, $33, $B3, $A3,$BB, $33, $A0,$1A,$AA, $33,$33
.byte $A3,$BB, $A0,$02,$AA, $3A, $A4,$BB, $33, $A0,$01,$A3, $A0,$1A,$AA
.byte $33, $3B, $BB,$BB, $A3,$33, $A4,$BB, $A0,$02,$AB, $A0,$1B,$AA
.byte $33,$33, $3B, $BB, $B3,$B3, $A3,$BB, $A0,$01,$AB, $A0,$1E,$AA
.byte $A3,$33, $A5,$BB, $A0,$20,$AA, $A4,$33, $A3,$BB, $A0,$21,$AA, $A4,$33
.byte $BB, $A0,$01,$AB, $A0,$22,$AA, $A4,$33, $A0,$01,$AB, $A0,$23,$AA, $33,$33
.byte $A0,$01,$A3, $A0,$25,$AA, $33, $A0,$4F,$AA
.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 $A0,$FF,$AA, $A0,$41,$AA, $3A, $A0,$27,$AA, $33,$33, $B3,$B3, $A3,$3A
.byte $A0,$21,$AA, $33, $BB,$BB, $3B, $B3,$B3, $BB, $B3,$B3
.byte $3A, $A0,$1E,$AA, $A4,$33, $A6,$BB, $B3, $33, $3A
.byte $A0,$1B,$AA, $A3,$33, $B3, $A9,$BB, $33, $A0,$1A,$AA, $33,$33
.byte $B3, $A4,$BB, $A5,$3B, $33,$33, $A0,$1A,$AA, $33,$33, $A3,$BB
.byte $33, $A0,$02,$A3, $A0,$01,$AA, $A5,$33, $3A, $A0,$19,$AA, $33,$33
.byte $A3,$BB, $33, $A3,$3A, $B3, $A3,$BB, $A3,$B3, $A0,$18,$AA
.byte $33,$33, $A3,$BB, $B3, $33, $B3, $A6,$BB, $A0,$01,$AB
.byte $A0,$19,$AA, $A3,$33, $A7,$BB, $A0,$02,$AB, $A0,$1C,$AA, $A4,$33, $A4,$BB
.byte $A0,$01,$AB, $A0,$1F,$AA, $A5,$33, $BB, $A0,$01,$AB, $A0,$21,$AA, $A5,$33
.byte $A0,$01,$AB, $A0,$22,$AA, $33, $A0,$01,$A3, $A0,$76,$AA
.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 $A0,$FF,$AA, $A0,$41,$AA, $3A,$3A, $A0,$26,$AA, $A3,$33, $B3,$B3, $33
.byte $3A,$3A, $A0,$20,$AA, $33,$33, $B3, $A4,$BB, $B3,$B3, $33
.byte $3A, $A0,$1D,$AA, $33,$33, $A8,$BB, $B3, $33, $A0,$1C,$AA
.byte $33,$33, $AA,$BB, $B3,$B3, $3A, $A0,$19,$AA, $33,$33, $AB,$BB
.byte $3B, $A0,$01,$A3, $A0,$19,$AA, $33,$33, $3B, $BB, $33,$33
.byte $BB,$BB, $A3,$3B, $BB, $B3, $33, $3A,$3A, $A0,$18,$AA
.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 $A0,$18,$AA, $A4,$33, $BB,$BB, $33, $B3, $A4,$BB, $A4,$AB
.byte $A0,$18,$AA, $A4,$33, $A6,$BB, $A0,$01,$AB, $A0,$1D,$AA, $A5,$33, $A3,$BB
.byte $A0,$01,$AB, $A0,$1F,$AA, $A6,$33, $A0,$01,$AB, $A0,$21,$AA, $A0,$01,$A3, $A0,$01,$AA
.byte $A0,$02,$A3, $A0,$9C,$AA
.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 $A0,$B5,$AA, $1A, $11,$11, $1A, $A0,$22,$AA, $1A, $A6,$11
.byte $1A, $A0,$1E,$AA, $1A, $A9,$11, $1A, $A0,$1B,$AA, $1A
.byte $AB,$11, $A0,$01,$A1, $AC,$AA, $33,$33, $B3, $33, $A3,$3A
.byte $A6,$AA, $1A, $AB,$11, $A0,$02,$A1, $AD,$AA, $33, $A6,$BB
.byte $B3, $33, $3A, $A0,$01,$AA, $1A, $AA,$11, $A0,$02,$A1
.byte $A0,$10,$AA, $33,$33, $BB, $3B, $A5,$BB, $B3,$B3, $31,$31
.byte $A6,$11, $A0,$02,$A1, $A0,$13,$AA, $A4,$33, $A8,$BB, $33,$33, $11,$11
.byte $A0,$01,$A1, $A0,$17,$AA, $A4,$33, $3B, $A8,$BB, $B3, $33
.byte $A0,$19,$AA, $A5,$33, $BB, $3B,$3B, $33, $A3,$BB, $3B
.byte $33, $A0,$01,$A3, $A0,$19,$AA, $A4,$33, $B3, $A3,$33, $BB,$BB
.byte $3B, $33, $A0,$1C,$AA, $A3,$33, $BB,$BB, $B3,$B3, $BB,$BB
.byte $A0,$02,$AB, $A0,$1D,$AA, $A3,$33, $A5,$BB, $A0,$20,$AA, $A4,$33, $3B
.byte $BB,$BB, $A0,$21,$AA, $A5,$33, $BB, $A0,$22,$AA, $A4,$33, $A0,$01,$A3
.byte $A0,$C3,$AA
.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 $A0,$13,$AA, $11,$11, $55,$55, $A0,$23,$AA, $11,$11, $55,$55, $A0,$23,$AA
.byte $11,$11, $55,$55, $A0,$23,$AA, $11,$11, $55,$55, $A0,$23,$AA, $11,$11
.byte $55,$55, $A0,$23,$AA, $11,$11, $55,$55, $A0,$16,$AA, $A3,$33, $A3,$3A
.byte $A7,$AA, $11,$11, $55,$55, $A0,$17,$AA, $33, $A4,$BB, $B3,$B3
.byte $33, $3A,$3A, $33, $B3, $11,$11, $55,$55, $A0,$18,$AA
.byte $33, $AB,$BB, $11, $55,$55, $A0,$19,$AA, $33, $3B
.byte $A8,$BB, $1B, $11, $51, $55, $A0,$1A,$AA, $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 $51, $55, $A0,$1B,$AA, $33, $BB,$BB, $A3,$33, $BB,$BB
.byte $1B, $11, $51, $55, $A0,$01,$A5, $A0,$1B,$AA, $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 $55, $A0,$01,$A5, $A0,$1C,$AA, $33, $A5,$BB, $1B, $11,$11
.byte $55,$55, $A0,$1D,$AA, $33,$33, $A4,$BB, $11,$11, $55,$55, $A0,$1E,$AA
.byte $A3,$33, $3B, $BB, $11,$11, $51, $55, $A0,$1F,$AA
.byte $A3,$33, $A0,$01,$A3, $A0,$24,$AA, $33,$33, $A0,$01,$A3, $A0,$25,$AA, $A0,$01,$A3
.byte $A0,$EF,$AA
.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 $A7,$AA, $11, $A9,$55, $11, $A0,$1C,$AA, $11,$11, $A9,$55
.byte $11, $A0,$1C,$AA, $11, $A9,$55, $11, $A0,$01,$A1, $A0,$19,$AA
.byte $3A, $33, $BB, $B1, $A9,$55, $11, $A0,$17,$AA
.byte $A3,$3A, $B3, $A3,$BB, $A9,$55, $11, $A0,$17,$AA, $BB,$BB
.byte $B3, $A3,$BB, $5B, $A8,$55, $15, $11, $A0,$17,$AA
.byte $A6,$BB, $A9,$55, $11, $A0,$18,$AA, $3B, $A4,$BB, $AA,$55
.byte $11, $A0,$18,$AA, $33, $B3, $BB,$BB, $33, $AA,$55
.byte $A0,$01,$A1, $A0,$18,$AA, $B3, $BB,$BB, $33, $13, $A8,$55
.byte $A0,$01,$A5, $A0,$1A,$AA, $A3,$BB, $33, $11, $A7,$55, $A0,$01,$A5
.byte $A0,$1B,$AA, $BB,$BB, $33, $A0,$01,$AA, $11, $A6,$55, $A0,$1D,$AA
.byte $BB,$BB, $33, $A0,$01,$AA, $11, $A4,$55, $A0,$01,$A5, $A0,$1E,$AA
.byte $BB, $33, $A0,$01,$A3, $1A, $11, $A3,$55, $A0,$01,$A5
.byte $A0,$1F,$AA, $33,$33, $A0,$01,$AA, $11, $51, $55, $A0,$22,$AA
.byte $33, $A0,$02,$AA, $A0,$01,$A1, $A0,$01,$A5, $A0,$FF,$AA, $A0,$64,$AA
.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 $AC,$55, $11, $A0,$1B,$AA, $AC,$55, $11, $A0,$1B,$AA, $AC,$55
.byte $51, $11, $A0,$1A,$AA, $AD,$55, $11, $A0,$1A,$AA, $AD,$55
.byte $11, $A0,$1A,$AA, $AD,$55, $11,$11, $A0,$19,$AA, $AE,$55, $11
.byte $A0,$19,$AA, $15, $AD,$55, $11, $A0,$19,$AA, $11, $AD,$55
.byte $11,$11, $A0,$18,$AA, $11, $15, $AB,$55, $A0,$01,$A5, $A0,$1B,$AA
.byte $11, $AA,$55, $A0,$01,$A5, $A0,$1C,$AA, $11, $15, $A6,$55
.byte $A0,$02,$A5, $A0,$1D,$AA, $B3, $3A, $11, $A4,$55, $A0,$01,$A5
.byte $A0,$20,$AA, $A0,$01,$AB, $A0,$01,$A3, $11, $A3,$55, $A0,$01,$A5, $A0,$23,$AA
.byte $11, $55, $A0,$01,$A5, $A0,$FF,$AA, $A0,$8C,$AA
.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 $A0,$F0,$AA, $A3,$1A, $A0,$25,$AA, $55,$55, $A5,$51, $11, $A5,$1A
.byte $A0,$1B,$AA, $AC,$55, $51,$51, $1A, $A0,$19,$AA, $AD,$55, $A0,$1B,$AA
.byte $AB,$55, $A0,$01,$A5, $A0,$1C,$AA, $A9,$55, $A0,$01,$A5, $A0,$1E,$AA, $A8,$55
.byte $A0,$01,$A5, $A0,$1F,$AA, $A7,$55, $A0,$01,$A5, $A0,$20,$AA, $A0,$01,$A1, $11
.byte $15, $55,$55, $A0,$01,$A5, $A0,$24,$AA, $A0,$02,$A1, $A0,$24,$AA, $3A
.byte $A0,$27,$AA, $33, $A0,$27,$AA, $BB, $33, $A0,$26,$AA, $A0,$02,$A3
.byte $A0,$C6,$AA
.byte $A1

75
demosplash/open_book.s Normal file
View File

@ -0,0 +1,75 @@
; Open book
; just plain gr animation
; by deater (Vince Weaver) <vince@deater.net>
open_book:
;===================
; init screen
; jsr TEXT
; jsr HOME
bit KEYRESET
jsr gr_clear_all
;===================
; init vars
lda #0
sta DRAW_PAGE
; GR part
bit PAGE0
bit FULLGR ; 4
;================================================
; Display Loop
;================================================
book_open_loop:
lda #<open_book_sequence
sta INTRO_LOOPL
lda #>open_book_sequence
sta INTRO_LOOPH
jsr run_sequence
lda #100
jsr long_wait
rts
BOOK_FRAMERATE = 25
open_book_sequence:
.byte 255
.word book00_rle
.byte BOOK_FRAMERATE
.word book02_rle
.byte BOOK_FRAMERATE
.word book03_rle
.byte BOOK_FRAMERATE
.word book04_rle
.byte BOOK_FRAMERATE
.word book05_rle
.byte 255
.word book01_rle
.byte BOOK_FRAMERATE
.word book06_rle
.byte BOOK_FRAMERATE
.word book07_rle
.byte BOOK_FRAMERATE
.word book08_rle
.byte BOOK_FRAMERATE
.word book09_rle
.byte BOOK_FRAMERATE
.word book10_rle
.byte 0
.word book10_rle