tiny_tracker: max out the space

This commit is contained in:
Vince Weaver 2022-01-19 11:41:31 -05:00
parent 681189eff0
commit cd024402ae
4 changed files with 11 additions and 9 deletions

View File

@ -15,7 +15,7 @@ submit: hgr_d2_1k.zip
hgr_d2.dsk: HELLO D2 VIZ
cp $(EMPTY_DISK)/empty.dsk ./hgr_d2.dsk
$(DOS33) -y hgr_d2.dsk SAVE A HELLO
$(DOS33) -y hgr_d2.dsk -t BIN -a 0x80 BSAVE D2
$(DOS33) -y hgr_d2.dsk -t BIN -a 0x7E BSAVE D2
$(DOS33) -y hgr_d2.dsk -t BIN -a 0xc00 BSAVE VIZ
####
@ -38,7 +38,7 @@ mA2E_2.s: mA2E_2.txt text_to_tiny
####
D2: d2.o
ld65 -o D2 d2.o -C ./apple2_80_zp.inc
ld65 -o D2 d2.o -C ./apple2_7e_zp.inc
d2.o: d2.s \
zp.inc hardware.inc \

View File

@ -1,5 +1,5 @@
MEMORY {
ZP: start = $80, size = $120, type = rw;
ZP: start = $7E, size = $120, type = rw;
RAM: start = $100, size = $8E00, file = %O;
}

View File

@ -34,6 +34,7 @@
; 237 bytes -- make song terminator #$FF so we don't have to load it
; 235 bytes -- note X is $FF on entry to mockingboard entry
; 233 bytes -- qkumba noticed we can execute the AY config
; 252 bytes -- max out visualization
.zeropage
;.globalzp frequencies_low
@ -92,16 +93,17 @@ viz_smc:
lda AY_REGS+4 ; 2 ; C channel low freq
sta $400,X ; 3
lda AY_REGS+2 ; 2 ; C channel low freq
lda AY_REGS+2 ; 2 ; B channel low freq
sta $500,X ; 3
lda AY_REGS+0 ; 2 ; C channel low freq
lda AY_REGS+0 ; 2 ; A channel low freq
sta $600,X ; 3
inc viz_smc+1 ; 2
; nop
; nop
nop ; 1
nop ; 1
;==============
; 21 bytes for visualization

View File

@ -9,7 +9,7 @@ GBASH = $27
BASL = $28
BASH = $29
AY_REGS = $80-$7
AY_REGS = $7E-$7
HGR_Y = $E2
HGR_COLOR = $E4