shave a byte

This commit is contained in:
4am 2020-08-11 14:55:38 -04:00
parent 6f7f8f7aa5
commit 2929be8f2c
2 changed files with 5 additions and 5 deletions

View File

@ -144,7 +144,7 @@ CHEATS_ENABLED = %00001000
; shared symbols
iProDOS_enter = $D66E
LoadFileDirect = $DAFB
LoadFileDirect = $DAFA
launchpatch = $D613
iAddToPath = $FEC3
itraverse = $D8D9

View File

@ -16,16 +16,16 @@ DrawPageInternal
; drawing starts at VTAB 0
; each line starts at column X which was passed in (0-indexed)
; clobbers PTR
; clobbers $FF
; clobbers A/X/Y
; preserves all flags, by a quirk of implementation
php
stx @leftMargin
stx $FF
ldx #0
stx VTAB
+ST16 PTR
@drawLine
@leftMargin=*+1
lda #$FD ; SMC
lda $FF
sta HTAB
ldy #0
@parseLine
@ -75,7 +75,7 @@ DrawPageInternal
Draw40CharsInternal
; A/Y contains address of character buffer
; carry bit clear -> draw on page 1
; carry bit set -> draw on page 2
;v carry bit set -> draw on page 2
; $25 contains textpage line (0..23) (this is the standard VTAB address)
; drawing starts at HTAB 0
; increments VTAB