From 88ee45e9ef33d88cd95ec0cb03bc22a29c53ba26 Mon Sep 17 00:00:00 2001 From: Wayne Parham Date: Mon, 7 Jun 2021 00:35:20 -0500 Subject: [PATCH] tapeio.s updates --- libsrc/sym1/tapeio.s | 8 ++++---- samples/helloworld.c | 9 --------- 2 files changed, 4 insertions(+), 13 deletions(-) delete mode 100644 samples/helloworld.c diff --git a/libsrc/sym1/tapeio.s b/libsrc/sym1/tapeio.s index dbb6963ca..19eeb2444 100644 --- a/libsrc/sym1/tapeio.s +++ b/libsrc/sym1/tapeio.s @@ -21,8 +21,8 @@ ldy #$80 jsr LOADT ; Read data from tape bcs error - jmp return 0 ; Return 0 if sucessful -error: jmp return 1 ; or 1 if not + jmp return0 ; Return 0 if sucessful +error: jmp return1 ; or 1 if not .endproc @@ -40,8 +40,8 @@ error: jmp return 1 ; or 1 if not ldy #$80 jsr DUMPT ; Write data to tape bcs error - jmp return 0 ; Return 0 if sucessful -error: jmp return 1 ; or 1 if not + jmp return0 ; Return 0 if sucessful +error: jmp return1 ; or 1 if not .endproc diff --git a/samples/helloworld.c b/samples/helloworld.c deleted file mode 100644 index 057a153e8..000000000 --- a/samples/helloworld.c +++ /dev/null @@ -1,9 +0,0 @@ -// Traditional "Hello World" program - -#include - -void main (void) -{ - printf( "Hello World!\n" ); - return; -}