mirror of
https://github.com/cc65/cc65.git
synced 2024-12-28 22:30:12 +00:00
tapeio.s updates
This commit is contained in:
parent
dc9333a3bb
commit
88ee45e9ef
@ -21,8 +21,8 @@
|
|||||||
ldy #$80
|
ldy #$80
|
||||||
jsr LOADT ; Read data from tape
|
jsr LOADT ; Read data from tape
|
||||||
bcs error
|
bcs error
|
||||||
jmp return 0 ; Return 0 if sucessful
|
jmp return0 ; Return 0 if sucessful
|
||||||
error: jmp return 1 ; or 1 if not
|
error: jmp return1 ; or 1 if not
|
||||||
|
|
||||||
.endproc
|
.endproc
|
||||||
|
|
||||||
@ -40,8 +40,8 @@ error: jmp return 1 ; or 1 if not
|
|||||||
ldy #$80
|
ldy #$80
|
||||||
jsr DUMPT ; Write data to tape
|
jsr DUMPT ; Write data to tape
|
||||||
bcs error
|
bcs error
|
||||||
jmp return 0 ; Return 0 if sucessful
|
jmp return0 ; Return 0 if sucessful
|
||||||
error: jmp return 1 ; or 1 if not
|
error: jmp return1 ; or 1 if not
|
||||||
|
|
||||||
.endproc
|
.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