1
0
mirror of https://github.com/cc65/cc65.git synced 2024-12-28 06:30:16 +00:00

tapeio.s updates

This commit is contained in:
Wayne Parham 2021-06-07 00:35:20 -05:00
parent dc9333a3bb
commit 88ee45e9ef
2 changed files with 4 additions and 13 deletions

View File

@ -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

View File

@ -1,9 +0,0 @@
// Traditional "Hello World" program
#include <stdio.h>
void main (void)
{
printf( "Hello World!\n" );
return;
}