mirror of
https://github.com/mist64/msbasic.git
synced 2024-09-21 02:27:33 +00:00
cleanup
This commit is contained in:
parent
57be95bb4a
commit
0213247f06
16
init.s
16
init.s
@ -308,20 +308,20 @@ L4136:
|
||||
L4157:
|
||||
ldx #<IQERR
|
||||
ldy #>IQERR
|
||||
stx UNFNC+(13*2)
|
||||
sty UNFNC+(13*2)+1
|
||||
stx UNFNC_ATN
|
||||
sty UNFNC_ATN+1
|
||||
ldx #<ATN ; overwrite starting
|
||||
ldy #>ATN ; with ATN
|
||||
cmp #'A'
|
||||
beq L4183
|
||||
ldx #<IQERR
|
||||
ldy #>IQERR
|
||||
stx UNFNC+(10*2)
|
||||
sty UNFNC+(10*2)+1
|
||||
stx UNFNC+(12*2)
|
||||
sty UNFNC+(12*2)+1
|
||||
stx UNFNC+(11*2)
|
||||
sty UNFNC+(11*2)+1
|
||||
stx UNFNC_COS
|
||||
sty UNFNC_COS+1
|
||||
stx UNFNC_TAN
|
||||
sty UNFNC_TAN+1
|
||||
stx UNFNC_SIN
|
||||
sty UNFNC_SIN+1
|
||||
ldx #<SIN_COS_TAN_ATN ; overwrite
|
||||
ldy #>SIN_COS_TAN_ATN ; all of trig.s
|
||||
L4183:
|
||||
|
8
token.s
8
token.s
@ -124,9 +124,17 @@ UNFNC:
|
||||
keyword_addr "RND", RND
|
||||
keyword_addr "LOG", LOG
|
||||
keyword_addr "EXP", EXP
|
||||
.segment "VECTORS"
|
||||
UNFNC_COS:
|
||||
keyword_addr "COS", COS
|
||||
.segment "VECTORS"
|
||||
UNFNC_SIN:
|
||||
keyword_addr "SIN", SIN
|
||||
.segment "VECTORS"
|
||||
UNFNC_TAN:
|
||||
keyword_addr "TAN", TAN
|
||||
.segment "VECTORS"
|
||||
UNFNC_ATN:
|
||||
keyword_addr "ATN", ATN
|
||||
.ifdef KBD
|
||||
keyword_addr "GETC", GETC
|
||||
|
Loading…
Reference in New Issue
Block a user