mirror of
https://github.com/deater/dos33fsprogs.git
synced 2024-11-16 23:20:43 +00:00
second: work on intro
This commit is contained in:
parent
30439c19fc
commit
33085807fe
@ -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
|
||||
|
||||
|
||||
####
|
||||
|
||||
|
27
demos/second/part01_intropan/Makefile
Normal file
27
demos/second/part01_intropan/Makefile
Normal 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
|
44
demos/second/part01_intropan/intro.s
Normal file
44
demos/second/part01_intropan/intro.s
Normal 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"
|
||||
|
@ -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, ?, ?
|
||||
|
@ -239,6 +239,7 @@ load_loop:
|
||||
;=======================
|
||||
|
||||
lda #2
|
||||
|
||||
sta WHICH_LOAD
|
||||
|
||||
jsr load_file
|
||||
|
Loading…
Reference in New Issue
Block a user