2018-12-24 08:14:04 +00:00
|
|
|
DOSCMD
|
|
|
|
PLA
|
|
|
|
STA RETADR
|
|
|
|
PLA
|
|
|
|
STA RETADR+1
|
2019-04-26 22:49:10 +00:00
|
|
|
PLA
|
|
|
|
STA ADDR1
|
|
|
|
PLA
|
|
|
|
STA ADDR1+1
|
2019-01-23 19:12:29 +00:00
|
|
|
LDA #1
|
|
|
|
STA $AAB6 ; DOS LANG FLAG
|
|
|
|
STA $75+1 ; NOT DIRECT MODE
|
|
|
|
STA $33 ; NOT DIRECT MODE
|
2019-04-26 22:49:10 +00:00
|
|
|
LDA #$8D
|
|
|
|
JSR FCOUT
|
|
|
|
LDA #$84 ; CTRL-D
|
|
|
|
JSR FCOUT
|
|
|
|
LDY #0
|
|
|
|
LDA (ADDR1),Y
|
|
|
|
STA :SLEN
|
2019-01-23 19:12:29 +00:00
|
|
|
LDY #$01 ; POINT TO NEXT INSTR
|
2018-12-24 08:14:04 +00:00
|
|
|
:LP
|
2019-04-26 22:49:10 +00:00
|
|
|
LDA (ADDR1),Y
|
2018-12-24 08:14:04 +00:00
|
|
|
JSR FCOUT
|
|
|
|
INY
|
2019-04-26 22:49:10 +00:00
|
|
|
CPY :SLEN
|
|
|
|
BCC :LP
|
|
|
|
BEQ :LP
|
2018-12-24 08:14:04 +00:00
|
|
|
:DONE
|
2019-04-26 22:49:10 +00:00
|
|
|
LDA #$8D
|
|
|
|
JSR FCOUT
|
2018-12-24 08:14:04 +00:00
|
|
|
LDA RETADR+1
|
|
|
|
PHA
|
|
|
|
LDA RETADR
|
|
|
|
PHA
|
|
|
|
RTS
|
2019-04-26 22:49:10 +00:00
|
|
|
:SLEN DS 1
|