From 851c26e4dddef934cf8c48a2e2d7c3fefcb4a15b Mon Sep 17 00:00:00 2001 From: Byron Lathi Date: Mon, 21 Aug 2023 20:02:57 -0700 Subject: [PATCH] Print out filenames as we read them --- sw/bios/boot2.s | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/sw/bios/boot2.s b/sw/bios/boot2.s index 501a1ac..3d06d98 100644 --- a/sw/bios/boot2.s +++ b/sw/bios/boot2.s @@ -53,7 +53,9 @@ _start: lda ptr3 adc #$20 sta ptr3 - lda #word_str jsr pushax lda ptr3 @@ -78,7 +80,11 @@ _start: pha ldx ptr3 + 1 phx - ; jsr _cputs ; print out short filenames as we read them + jsr _cputs ; print out short filenames as we read them + lda #$0d + jsr _cputc + lda #$0a + jsr _cputc lda #kernel_str jsr pushax