ds: work on missing

This commit is contained in:
Vince Weaver 2019-10-15 00:27:27 -04:00
parent c654c96304
commit b312da2ed9
6 changed files with 3481 additions and 3367 deletions

View File

@ -53,6 +53,7 @@ musictest.o: musictest.s \
pt3_lib_init.s pt3_lib_core.s pt3_lib_mockingboard.s \
pt3_lib_play_frame.s pt3_lib_write_frame.s \
interrupt_handler.s \
missing.s missing_screen_update.s \
dya_space_demo2.pt3
ca65 -o musictest.o musictest.s -l musictest.lst

90
demosplash/NOTES Normal file
View File

@ -0,0 +1,90 @@
14 * 256 = 3.5k, 4.2s
* 5 =17.5k, 21s
compact=11
11*256=2.75k
* 6 = 16.5k, 25s
30 unique tracks
64*4=256
0=A_low
1=A_high (half)
2=B_low
3=B_high (half)
4=C_low
5=C_high (half)
6=Noise (5bits)
7=enable
8=A_amp (4+envelope)
9=B_amp (4+envelope)
10=C_amp (4+envelope)
11=EnvelopeL
12=EnvelopeH
13=Envelope_Shape (half)
0 1 0 1 2 3 2 4
5 6 7 8 9 10 9 11
12 13 14 15 19 16 17 18
20 21 22 23 24 25 30 26
27 28 29
35 segments = 64*3= 192 bytes each, 3.2s*35 = 112 1:52s
; Possible solution
; Text message transition
; if 15%, can decode 6 frames for each one played?
;
2:07
:30 to start of actual music
:43 start upbeat
1:30 end of second blank spot
loop
cyc APPLE II logo (pixel transition)
cyc AGT FROGYSUE
BOOK w GUN
STARBASE
cyc ESCAPE
message about book?
cyc BOOK
cyc CREDITS
4*11*256=11k
Memory Map
~~~~~~~~~~
0000-00ff zero page
0100-01ff stack
0200-02ff ?????
0300-03ff nibble table, irq vectors
0400-07FF lores page1
0800-0bff lores page2
0c00-0fff (used as page3)
1400-16ff Loader
1700-???? executable
9000-bfff audio buffer
c000-cfff I/O
d000-ffff ROM
Size:
base+music+a2intro = 10k (compress to 6k)
+ missing = additional 10k
missing = 20k, comment out displaycode 12k, so 8k of display code

View File

@ -53,6 +53,8 @@ gr_copy_line:
dey ; decrement pointer ; 2
bpl gr_copy_line ; ; 2nt/3
gr_copy_line_end:
rts ; 6
.assert >gr_copy_line = >gr_copy_line_end, error, "gr_copy_to_current crosses page"

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -90,7 +90,19 @@ frame_decode_loop:
; apple II intro
;============================
jsr appleII_intro
nop
nop
nop
; jsr appleII_intro
;===========================
; missing scene
;===========================
jsr missing_intro
;===========================
; show some pictures
@ -101,11 +113,7 @@ frame_decode_loop:
; cli ; enable interrupts
;===========================
; missing scene
;===========================
; jsr missing_intro
;===========================
; starbase scene
@ -147,6 +155,8 @@ wait_until_keypressed:
; Apple II intro
.include "appleII_intro.s"
.include "appleII_40_96.inc"
.align $100
.include "vapor_lock.s"
.include "delay_a.s"
.include "gr_unrle.s"
@ -163,7 +173,7 @@ wait_until_keypressed:
; missing
;.include "missing.s"
.include "missing.s"
; Starbase
;.include "starbase.s"