xmas24: load merry christmas message

This commit is contained in:
Vince Weaver 2024-12-21 10:44:43 -05:00
parent c5b2b0a43d
commit 3ccff47d58
5 changed files with 35 additions and 8 deletions

View File

@ -9,7 +9,8 @@ LINKER_SCRIPTS = ../../linker_scripts/
all: xmas_2024.dsk
xmas_2024.dsk: QBOOT QLOAD music.inc qload.inc \
MUSIC XMAS WIPE_STAR_DATA
MUSIC XMAS WIPE_STAR_DATA \
./graphics/MERRY_XMAS
cp $(EMPTY_DISK) xmas_2024.dsk
$(DOS33_RAW) xmas_2024.dsk 0 0 QBOOT 0 1
$(DOS33_RAW) xmas_2024.dsk 0 2 QBOOT 1 1
@ -18,6 +19,7 @@ xmas_2024.dsk: QBOOT QLOAD music.inc qload.inc \
$(DOS33_RAW) xmas_2024.dsk 4 0 MUSIC 0 0
$(DOS33_RAW) xmas_2024.dsk 12 0 XMAS 0 0
$(DOS33_RAW) xmas_2024.dsk 16 0 WIPE_STAR_DATA 0 0
$(DOS33_RAW) xmas_2024.dsk 20 0 ./graphics/MERRY_XMAS 0 0

View File

@ -5,7 +5,18 @@ PNG_TO_HGR = ../../../utils/hgr-utils/png2hgr
PNG2GR = ../../../utils/gr-utils/png2gr
HGR_SPRITE = ../../../utils/hgr-utils/hgr_make_sprite
all: gp_hgr.zx02
all: gp_hgr.zx02 merry_christmas.zx02 MERRY_XMAS
####
MERRY_XMAS: merry_christmas.hgr
cp merry_christmas.hgr MERRY_XMAS
merry_christmas.zx02: merry_christmas.hgr
$(ZX02) merry_christmas.hgr merry_christmas.zx02
merry_christmas.hgr: merry_christmas.png
$(PNG_TO_HGR) merry_christmas.png > merry_christmas.hgr
####
@ -15,6 +26,7 @@ gp_hgr.zx02: gp_hgr.hgr
gp_hgr.hgr: gp_hgr.png
$(PNG_TO_HGR) gp_hgr.png > gp_hgr.hgr
####
clean:

Binary file not shown.

After

Width:  |  Height:  |  Size: 22 KiB

View File

@ -163,22 +163,22 @@ error_string:
.endif
which_disk_array:
.byte 1,1,1 ; MUSIC, XMAS, WIPE_STAR_DATA
.byte 1,1,1,1 ; MUSIC, XMAS, WIPE_STAR_DATA, MERRY_XMAS
load_address_array:
.byte $D0,$60,$81 ; MUSIC, XMAS, WIPE_STAR_DATA
.byte $D0,$60,$81,$40 ; MUSIC, XMAS, WIPE_STAR_DATA, MERRY_XMAS
start_address:
.byte $D0,$60,$81 ; MUSIC, XMAS, WIPE_STAR_DATA
.byte $D0,$60,$81,$40 ; MUSIC, XMAS, WIPE_STAR_DATA, MERRY_XMAS
track_array:
.byte 4,12,16 ; MUSIC, XMAS, WIPE_STAR_DATA
.byte 4,12,16,20 ; MUSIC, XMAS, WIPE_STAR_DATA, MERRY_XMAS
sector_array:
.byte 0,0,0 ; MUSIC, XMAS, WIPE_STAR_DATA
.byte 0,0,0,0 ; MUSIC, XMAS, WIPE_STAR_DATA, MERRY_XMAS
length_array:
.byte 32,32,60 ; MUSIC, XMAS, WIPE_STAR_DATA
.byte 32,32,60,32 ; MUSIC, XMAS, WIPE_STAR_DATA, MERRY_XMAS
PT3_ENABLE_APPLE_IIC = 1

View File

@ -128,6 +128,19 @@ done_set_message:
jsr move_and_print_list
;===============================
;===============================
; Load Merry Christmas to page2
;===============================
;===============================
; load from disk
lda #3 ; load MERRY_XMAS
sta WHICH_LOAD ; to $4000
jsr load_file
;=======================
;=======================
; Load xmas