xmas24: compact scroll working

This commit is contained in:
Vince Weaver 2024-12-21 12:22:50 -05:00
parent c1317a14d6
commit 1bc69bdb78
4 changed files with 18 additions and 6 deletions

View File

@ -126,11 +126,11 @@ music.o: music.s zp.inc \
###
XMAS: xmas.o
ld65 -o XMAS xmas.o -C $(LINKER_SCRIPTS)/apple2_6000.inc
ld65 -o XMAS xmas.o -C $(LINKER_SCRIPTS)/apple2_6200.inc
xmas.o: xmas.s \
zp.inc hardware.inc qload.inc \
wipe_star.s \
wipe_star.s horiz_scroll.s \
graphics/gp_hgr.zx02
ca65 -o xmas.o xmas.s -l xmas.lst

View File

@ -167,11 +167,11 @@ which_disk_array:
.byte 1 ; GP
load_address_array:
.byte $D0,$60,$81,$40 ; MUSIC, XMAS, WIPE_STAR_DATA, MERRY_XMAS
.byte $D0,$62,$81,$40 ; MUSIC, XMAS, WIPE_STAR_DATA, MERRY_XMAS
.byte $40 ; GP
start_address:
.byte $D0,$60,$81,$40 ; MUSIC, XMAS, WIPE_STAR_DATA, MERRY_XMAS
.byte $D0,$62,$81,$40 ; MUSIC, XMAS, WIPE_STAR_DATA, MERRY_XMAS
.byte $40 ; GP
track_array:
@ -183,7 +183,7 @@ sector_array:
.byte 0 ; GP
length_array:
.byte 32,32,60,32 ; MUSIC, XMAS, WIPE_STAR_DATA, MERRY_XMAS
.byte 32,30,60,32 ; MUSIC, XMAS, WIPE_STAR_DATA, MERRY_XMAS
.byte 32 ; GP
PT3_ENABLE_APPLE_IIC = 1

View File

@ -164,7 +164,7 @@ load_xmas:
; start code
jsr $6000
jsr $6200
forever:
jmp forever

View File

@ -0,0 +1,12 @@
MEMORY {
ZP: start = $00, size = $1A, type = rw;
RAM: start = $6200, size = $5c00, file = %O;
}
SEGMENTS {
CODE: load = RAM, type = ro, align=$100;
RODATA: load = RAM, type = ro;
DATA: load = RAM, type = rw;
BSS: load = RAM, type = bss, define = yes;
ZEROPAGE: load = ZP, type = zp;
}