mirror of
https://github.com/deater/dos33fsprogs.git
synced 2025-02-05 06:31:25 +00:00
sa: got it just barely squeezed into memory
This commit is contained in:
parent
e7dc17a39a
commit
fa188dbfe0
12
linker_scripts/apple2_5900.inc
Normal file
12
linker_scripts/apple2_5900.inc
Normal file
@ -0,0 +1,12 @@
|
||||
MEMORY {
|
||||
ZP: start = $00, size = $1A, type = rw;
|
||||
RAM: start = $5900, size = $5000, 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;
|
||||
}
|
@ -6,14 +6,14 @@ TOKENIZE = ../asoft_basic-utils/tokenize_asoft
|
||||
all: still_alive.dsk
|
||||
|
||||
still_alive.dsk: SA_COMPRESSED STILL_ALIVE TITLE.BAS ENDING
|
||||
$(DOS33) -y still_alive.dsk BSAVE -a 0x5a00 SA_COMPRESSED
|
||||
$(DOS33) -y still_alive.dsk BSAVE -a 0x5900 SA_COMPRESSED
|
||||
$(DOS33) -y still_alive.dsk BSAVE -a 0x0800 STILL_ALIVE
|
||||
$(DOS33) -y still_alive.dsk BSAVE -a 0x1800 ENDING
|
||||
$(DOS33) -y still_alive.dsk SAVE A TITLE.BAS
|
||||
# $(DOS33) -y still_alive.dsk SAVE B GLADOS.HGR
|
||||
|
||||
SA_COMPRESSED: sa_compressed.o
|
||||
ld65 -o SA_COMPRESSED sa_compressed.o -C ../linker_scripts/apple2_5a00.inc
|
||||
ld65 -o SA_COMPRESSED sa_compressed.o -C ../linker_scripts/apple2_5900.inc
|
||||
|
||||
sa_compressed.o: sa_compressed.s \
|
||||
STILL_ALIVE.lz4 ENDING.lz4 SA.ED.lz4 SA.KR4.lz4
|
||||
|
@ -121,6 +121,7 @@ clear_ay_left_loop:
|
||||
bpl clear_ay_left_loop
|
||||
rts
|
||||
|
||||
.if 0
|
||||
;=======================================
|
||||
; Detect a Mockingboard card
|
||||
;=======================================
|
||||
@ -204,3 +205,4 @@ mb4_not_in_this_slot:
|
||||
ldx #00
|
||||
beq done_mb4_detect
|
||||
|
||||
.endif
|
||||
|
@ -21,13 +21,15 @@ still_alive_mb:
|
||||
|
||||
; call mockingboard detect?
|
||||
|
||||
jsr mockingboard_detect_slot4 ; call detection routine
|
||||
cpx #$1
|
||||
beq mockingboard_found
|
||||
; ASSUME FOUND TO SAVE ROOM
|
||||
|
||||
; jsr mockingboard_detect_slot4 ; call detection routine
|
||||
; cpx #$1
|
||||
; beq mockingboard_found
|
||||
|
||||
; Not found.
|
||||
; Print a message for debugging?
|
||||
jmp forever_loop ; and wait forever
|
||||
; jmp forever_loop ; and wait forever
|
||||
|
||||
mockingboard_found:
|
||||
|
||||
|
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user