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.
32 lines
541 B
Plaintext
32 lines
541 B
Plaintext
FINPUT
|
|
PLA
|
|
STA RETADR
|
|
PLA
|
|
STA RETADR+1
|
|
PLA
|
|
STA ADDR1
|
|
PLA
|
|
STA ADDR1+1
|
|
LDX #0
|
|
JSR FGETLN
|
|
STX :SLEN
|
|
CPX #0
|
|
BEQ :EXIT
|
|
:INP_CLR
|
|
LDY #0
|
|
LDA :SLEN
|
|
STA (ADDR1),Y
|
|
:LP
|
|
LDA $0200,Y
|
|
INY
|
|
STA (ADDR1),Y
|
|
CPY :SLEN
|
|
BNE :LP
|
|
:EXIT
|
|
LDA RETADR+1
|
|
PHA
|
|
LDA RETADR
|
|
PHA
|
|
RTS
|
|
:SLEN DS 1
|