mirror of
https://github.com/a2stuff/prodos-path.git
synced 2024-06-01 02:41:28 +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") |