mirror of
https://github.com/bobbimanners/Applecorn.git
synced 2024-12-27 23:31:04 +00:00
Added *CODE, *LINE.
This commit is contained in:
parent
dea712e0d9
commit
3107f11720
@ -417,8 +417,9 @@ GETADDR1 RTS
|
||||
* OSBYTE routines
|
||||
*****************
|
||||
|
||||
BYTE88 LDA #$01 ; $88 = *CODE
|
||||
WORDE0 JMP (USERV) ; OSWORD &E0+
|
||||
BYTE88 LDA #$81 ; *CODE -> A=&01
|
||||
CMDLINE EOR #$80 ; *LINE -> A=&00
|
||||
WORDE0 JMP (USERV) ; OSWORD &E0+ -> A=&E0+
|
||||
|
||||
* Low OSBYTE converted into Set Variable
|
||||
BYTE02 LDA #$F7 ; -> &B1
|
||||
|
@ -89,6 +89,9 @@ CMDFILE ASC 'CAT'
|
||||
CMDMOS ASC 'BASIC'
|
||||
DB $FF
|
||||
DW STARBASIC-1 ; BASIC -> (LPTR)=>params
|
||||
ASC 'CODE'
|
||||
DB $88
|
||||
DW STARBYTE-1 ; CODE -> OSBYTE &88,X,Y XY=>params
|
||||
ASC 'ECHO'
|
||||
DB $FF
|
||||
DW CMDECHO-1 ; ECHO -> (LPTR)=>params
|
||||
@ -104,6 +107,9 @@ CMDMOS ASC 'BASIC'
|
||||
ASC 'KEY'
|
||||
DB $FF
|
||||
DW STARKEY-1 ; KEY -> (LPTR)=>params
|
||||
ASC 'LINE'
|
||||
DB $80
|
||||
DW CMDLINE-1 ; LINE -> XY=>params
|
||||
ASC 'QUIT'
|
||||
DB $FF
|
||||
DW STARQUIT-1 ; QUIT -> (LPTR)=>params
|
||||
|
Loading…
Reference in New Issue
Block a user