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:
parent
dc9333a3bb
commit
88ee45e9ef
@ -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
|
||||
|
||||
|
@ -1,9 +0,0 @@
|
||||
// Traditional "Hello World" program
|
||||
|
||||
#include <stdio.h>
|
||||
|
||||
void main (void)
|
||||
{
|
||||
printf( "Hello World!\n" );
|
||||
return;
|
||||
}
|
Loading…
Reference in New Issue
Block a user