From daf51b54744830b5bf78bcec8fd7e7b5880923ac Mon Sep 17 00:00:00 2001 From: Vince Weaver Date: Wed, 21 Feb 2018 22:50:55 -0500 Subject: [PATCH] chiptune_player: fix box drawing buffer overlow in filename spacing code turned the first char of the hlin_double routine to be a ldy instruction, calling the left bounds to go to zero. A pain to track down. --- asm_routines/dos33_routines.s | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/asm_routines/dos33_routines.s b/asm_routines/dos33_routines.s index db05df04..d96201c0 100644 --- a/asm_routines/dos33_routines.s +++ b/asm_routines/dos33_routines.s @@ -73,7 +73,7 @@ filename_pad_spaces: lda #$A0 ; filename needs ' ' padded sta (OUTL),y iny - cpy #31 ; fill 30 bytes + cpy #30 ; fill 30 bytes bne filename_pad_spaces