mirror of
https://github.com/nathanriggs/AppleIIAsm-Collection.git
synced 2024-12-02 12:52:03 +00:00
c8cac53c5e
Massive updates that changes the way most subroutines are handled. Major bugfixes, various utilities added, started higher-level libraries.
38 lines
777 B
Plaintext
38 lines
777 B
Plaintext
DOSCMD
|
|
PLA
|
|
STA RETADR
|
|
PLA
|
|
STA RETADR+1
|
|
PLA
|
|
STA ADDR1
|
|
PLA
|
|
STA ADDR1+1
|
|
LDA #1
|
|
STA $AAB6 ; DOS LANG FLAG
|
|
STA $75+1 ; NOT DIRECT MODE
|
|
STA $33 ; NOT DIRECT MODE
|
|
LDA #$8D
|
|
JSR FCOUT
|
|
LDA #$84 ; CTRL-D
|
|
JSR FCOUT
|
|
LDY #0
|
|
LDA (ADDR1),Y
|
|
STA :SLEN
|
|
LDY #$01 ; POINT TO NEXT INSTR
|
|
:LP
|
|
LDA (ADDR1),Y
|
|
JSR FCOUT
|
|
INY
|
|
CPY :SLEN
|
|
BCC :LP
|
|
BEQ :LP
|
|
:DONE
|
|
LDA #$8D
|
|
JSR FCOUT
|
|
LDA RETADR+1
|
|
PHA
|
|
LDA RETADR
|
|
PHA
|
|
RTS
|
|
:SLEN DS 1
|