mirror of
https://github.com/mist64/msbasic.git
synced 2024-08-14 13:29:02 +00:00
cleanup
This commit is contained in:
parent
d73271b7bf
commit
292413f705
@ -29,43 +29,50 @@ CONFIG_PEEK_SAVE_LINNUM := 1
|
|||||||
|
|
||||||
.ifdef CBM1
|
.ifdef CBM1
|
||||||
; zero page
|
; zero page
|
||||||
ZP_START = $5A
|
ZP_START0 = $00
|
||||||
|
ZP_START = $57
|
||||||
ZP_HOLE = $00
|
ZP_HOLE = $00
|
||||||
|
|
||||||
|
CONFIG_NO_EXTRA_GO_PTRS := 1
|
||||||
|
|
||||||
JMPADRS = DSCLEN + 1
|
JMPADRS = DSCLEN + 1
|
||||||
LOWTRX = LOWTR
|
LOWTRX = LOWTR
|
||||||
|
|
||||||
USR := $0000
|
USR := $0000
|
||||||
GORESTART := $0000
|
|
||||||
INPUTBUFFERX := $0000
|
;GORESTART := $0000
|
||||||
Z03 := $0003
|
|
||||||
|
|
||||||
Z15 := $0004
|
Z15 := $0004
|
||||||
POSX := $0005
|
POSX := $0005
|
||||||
LINNUM := $0008
|
LINNUM := $0008
|
||||||
TXPSV := $0008
|
|
||||||
INPUTBUFFER := $000A
|
INPUTBUFFER := $000A
|
||||||
|
|
||||||
|
TXPSV := $0008
|
||||||
|
INPUTBUFFERX := $0000
|
||||||
|
|
||||||
|
Z03 := $0003
|
||||||
Z96 := $020C
|
Z96 := $020C
|
||||||
|
|
||||||
NULL_MAX := $0A
|
NULL_MAX := $0A
|
||||||
.else
|
.else
|
||||||
|
|
||||||
; zero page
|
; zero page
|
||||||
ZP_START = $03
|
ZP_START0 = $00
|
||||||
|
ZP_START = $00
|
||||||
ZP_HOLE = $05
|
ZP_HOLE = $05
|
||||||
|
|
||||||
|
CONFIG_NO_EXTRA_GO_PTRS := 1
|
||||||
|
|
||||||
JMPADRS = DSCLEN + 1
|
JMPADRS = DSCLEN + 1
|
||||||
LOWTRX = LOWTR
|
LOWTRX = LOWTR
|
||||||
|
|
||||||
USR := $0000
|
USR := GORESTART ; XXX
|
||||||
GORESTART := $0000
|
|
||||||
|
|
||||||
Z03 := $000E
|
|
||||||
LINNUM := $0011
|
LINNUM := $0011
|
||||||
|
|
||||||
Z96 := $0096
|
Z03 := $000E
|
||||||
POSX := $00C6
|
Z96 := $0096
|
||||||
|
POSX := $00C6
|
||||||
TXPSV = LASTOP
|
TXPSV = LASTOP
|
||||||
|
|
||||||
INPUTBUFFER := $0200
|
INPUTBUFFER := $0200
|
||||||
|
@ -16,6 +16,8 @@ CONFIG_SMALL := 1
|
|||||||
ZP_START = $06
|
ZP_START = $06
|
||||||
ZP_HOLE = $05
|
ZP_HOLE = $05
|
||||||
|
|
||||||
|
JMPADRS := $0093
|
||||||
|
LOWTRX := $0094 ; $AB also EXPSGN?
|
||||||
|
|
||||||
POSX := $0010
|
POSX := $0010
|
||||||
Z17 := $06FC
|
Z17 := $06FC
|
||||||
@ -26,8 +28,6 @@ TXPSV := $0049
|
|||||||
INPUTBUFFER := $0700
|
INPUTBUFFER := $0700
|
||||||
INPUTBUFFERX := $0700
|
INPUTBUFFERX := $0700
|
||||||
|
|
||||||
JMPADRS := $0093
|
|
||||||
LOWTRX := $0094 ; $AB also EXPSGN?
|
|
||||||
Z96 := $0096
|
Z96 := $0096
|
||||||
|
|
||||||
; magic memory locations
|
; magic memory locations
|
||||||
|
@ -23,8 +23,9 @@ Z17 := $0017
|
|||||||
Z18 := $0018
|
Z18 := $0018
|
||||||
LINNUM := $0019
|
LINNUM := $0019
|
||||||
|
|
||||||
TXPSV := $0019
|
|
||||||
INPUTBUFFER := $001B
|
INPUTBUFFER := $001B
|
||||||
|
|
||||||
|
TXPSV := $0019
|
||||||
INPUTBUFFERX := $0000
|
INPUTBUFFERX := $0000
|
||||||
|
|
||||||
; magic memory locations
|
; magic memory locations
|
||||||
|
@ -21,16 +21,16 @@ ZP_HOLE = $56
|
|||||||
JMPADRS = DSCLEN + 1
|
JMPADRS = DSCLEN + 1
|
||||||
LOWTRX = LOWTR
|
LOWTRX = LOWTR
|
||||||
|
|
||||||
USR := $0021
|
USR := $0021
|
||||||
|
|
||||||
Z15 := $002F
|
Z15 := $002F
|
||||||
POSX := $0030
|
POSX := $0030
|
||||||
Z17 := $0031
|
Z17 := $0031
|
||||||
Z18 := $0032
|
Z18 := $0032
|
||||||
LINNUM := $0033
|
LINNUM := $0033
|
||||||
|
INPUTBUFFER := $0035
|
||||||
|
|
||||||
TXPSV := $00BA
|
TXPSV := $00BA
|
||||||
INPUTBUFFER := $0035
|
|
||||||
INPUTBUFFERX := $0000
|
INPUTBUFFERX := $0000
|
||||||
|
|
||||||
; constants
|
; constants
|
||||||
|
@ -14,15 +14,14 @@ JMPADRS = DSCLEN + 1
|
|||||||
LOWTRX = LOWTR
|
LOWTRX = LOWTR
|
||||||
|
|
||||||
USR := $000A
|
USR := $000A
|
||||||
|
|
||||||
Z15 := $000D
|
Z15 := $000D
|
||||||
POSX := $000E
|
POSX := $000E
|
||||||
Z17 := $000F
|
Z17 := $000F
|
||||||
Z18 := $0010
|
Z18 := $0010
|
||||||
LINNUM := $0011
|
LINNUM := $0011
|
||||||
|
INPUTBUFFER := $0013
|
||||||
|
|
||||||
TXPSV := $0011
|
TXPSV := $0011
|
||||||
INPUTBUFFER := $0013
|
|
||||||
INPUTBUFFERX := $0000
|
INPUTBUFFERX := $0000
|
||||||
|
|
||||||
; constants
|
; constants
|
||||||
|
@ -5,12 +5,14 @@
|
|||||||
|
|
||||||
GORESTART:
|
GORESTART:
|
||||||
.res 3
|
.res 3
|
||||||
|
.ifndef CONFIG_NO_EXTRA_GO_PTRS
|
||||||
GOSTROUT:
|
GOSTROUT:
|
||||||
.res 3
|
.res 3
|
||||||
GOAYINT:
|
GOAYINT:
|
||||||
.res 2
|
.res 2
|
||||||
GOGIVEAYF:
|
GOGIVEAYF:
|
||||||
.res 2
|
.res 2
|
||||||
|
.endif
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
.res ZP_START
|
.res ZP_START
|
||||||
|
Loading…
Reference in New Issue
Block a user