mirror of
https://github.com/a2stuff/prodos-path.git
synced 2024-06-09 09:29:29 +00:00
22 lines
297 B
ArmAsm
22 lines
297 B
ArmAsm
|
|
||
|
.include "apple2.inc"
|
||
|
|
||
|
CROUT := $FD8E
|
||
|
COUT := $FDED
|
||
|
INBUF := $200
|
||
|
|
||
|
.org $4000
|
||
|
|
||
|
jsr CROUT
|
||
|
|
||
|
ldx #cmd_length
|
||
|
: lda INBUF,x
|
||
|
inx
|
||
|
jsr COUT
|
||
|
cmp #$8D
|
||
|
bne :-
|
||
|
|
||
|
rts
|
||
|
|
||
|
|
||
|
cmd_length = .strlen("echo")
|