second: work on intro

This commit is contained in:
Vince Weaver 2023-10-05 15:02:28 -04:00
parent 30439c19fc
commit 33085807fe
5 changed files with 79 additions and 4 deletions

View File

@ -14,6 +14,7 @@ all: second.dsk
# $(DOS33) -y second.dsk BSAVE -a 0x6000 ZW
second.dsk: QBOOT QLOAD SECOND MUSIC START \
./part01_intropan/INTRO \
./part18_3d/THREED
cp $(EMPTY_DISK) second.dsk
$(DOS33_RAW) second.dsk 0 0 QBOOT 0 1
@ -23,7 +24,9 @@ second.dsk: QBOOT QLOAD SECOND MUSIC START \
$(DOS33_RAW) second.dsk 3 0 MUSIC 0 0
# $(DOS33_RAW) second.dsk 5 0 SECOND 0 0
$(DOS33_RAW) second.dsk 5 0 START 0 0
$(DOS33_RAW) second.dsk 8 0 ./part18_3d/THREED 0 0
$(DOS33_RAW) second.dsk 8 0 ./part01_intropan/INTRO 0 0
$(DOS33_RAW) second.dsk 11 0 ./part18_3d/THREED 0 0
####

View File

@ -0,0 +1,27 @@
include ../../../Makefile.inc
DOS33 = ../../../utils/dos33fs-utils/dos33
DOS33_RAW = ../../../utils/dos33fs-utils/dos33_raw
EMPTY_DISK = ../../../empty_disk/empty.dsk
TOKENIZE = ../../../utils/asoft_basic-utils/tokenize_asoft
LINKER_SCRIPTS = ../../../linker_scripts/
all: INTRO
####
INTRO: intro.o
ld65 -o INTRO intro.o -C $(LINKER_SCRIPTS)/apple2_6000.inc
intro.o: intro.s ../zx02_optim.s \
graphics/igl.hgr.zx02 \
graphics/igr.hgr.zx02 \
graphics/fc_sr_logo.hgr.zx02 \
../zp.inc ../hardware.inc ../qload.inc
ca65 -o intro.o intro.s -l intro.lst
###
clean:
rm -f *~ *.o *.lst INTRO

View File

@ -0,0 +1,44 @@
; Intro
;
; by deater (Vince Weaver) <vince@deater.net>
.include "../zp.inc"
.include "../hardware.inc"
.include "../qload.inc"
intro_start:
;=====================
; initializations
;=====================
;===================
; Load graphics
;===================
load_loop:
bit SET_GR
bit HIRES
bit FULLGR
bit PAGE1
lda #<fc_sr_logo_data
sta zx_src_l+1
lda #>fc_sr_logo_data
sta zx_src_h+1
lda #$20
jsr zx02_full_decomp
jsr wait_until_keypress
.align $100
.include "../wait_keypress.s"
.include "../zx02_optim.s"
fc_sr_logo_data:
.incbin "graphics/fc_sr_logo.hgr.zx02"

View File

@ -160,13 +160,13 @@ error_string:
.endif
which_disk_array:
.byte 1,1,1,1 ; SECOND, MUSIC, 3D , ?
.byte 1,1,1,1 ; SECOND, MUSIC, INTRO, 3D
load_address_array:
.byte $40,$D0,$60,$90 ; SECOND, MUSIC, ?, ?
.byte $40,$D0,$60,$60 ; SECOND, MUSIC, INTRO, 3D
track_array:
.byte 5, 3, 8,12 ; SECOND, MUSIC, ?, ?
.byte 5, 3, 8,11 ; SECOND, MUSIC, ?, ?
sector_array:
.byte 0, 0, 0, 0 ; SECOND, MUSIC, ?, ?

View File

@ -239,6 +239,7 @@ load_loop:
;=======================
lda #2
sta WHICH_LOAD
jsr load_file