mirror of
https://github.com/mist64/msbasic.git
synced 2024-12-22 08:29:21 +00:00
cleanup
This commit is contained in:
parent
bfdcc79260
commit
7051d3fe9a
@ -10,6 +10,7 @@ CONFIG_SCRTCH_ORDER := 3
|
|||||||
|
|
||||||
; zero page
|
; zero page
|
||||||
ZP_START0 = $00
|
ZP_START0 = $00
|
||||||
|
ZP_START0A = $4F
|
||||||
ZP_START1 = $0D
|
ZP_START1 = $0D
|
||||||
ZP_START2 = $55
|
ZP_START2 = $55
|
||||||
|
|
||||||
@ -18,10 +19,10 @@ LOWTRX = LOWTR
|
|||||||
|
|
||||||
USR := $000A
|
USR := $000A
|
||||||
|
|
||||||
POSX := $0050
|
;POSX := $0050
|
||||||
Z17 := $0051
|
;Z17 := $0051
|
||||||
Z18 := $0052
|
;Z18 := $0052
|
||||||
LINNUM := $0053
|
;LINNUM := $0053
|
||||||
|
|
||||||
TXPSV := $0053
|
TXPSV := $0053
|
||||||
INPUTBUFFER := $0200
|
INPUTBUFFER := $0200
|
||||||
|
@ -30,6 +30,7 @@ CONFIG_PEEK_SAVE_LINNUM := 1
|
|||||||
.ifdef CBM1
|
.ifdef CBM1
|
||||||
; zero page
|
; zero page
|
||||||
ZP_START0 = $00
|
ZP_START0 = $00
|
||||||
|
ZP_START0A = $04
|
||||||
ZP_START1 = $5A
|
ZP_START1 = $5A
|
||||||
ZP_START2 = $65
|
ZP_START2 = $65
|
||||||
|
|
||||||
@ -40,9 +41,9 @@ USR := $0000
|
|||||||
|
|
||||||
;GORESTART := $0000
|
;GORESTART := $0000
|
||||||
|
|
||||||
Z15 := $0004
|
;Z15 := $0004
|
||||||
POSX := $0005
|
;POSX := $0005
|
||||||
LINNUM := $0008
|
;LINNUM := $0008
|
||||||
INPUTBUFFER := $000A
|
INPUTBUFFER := $000A
|
||||||
|
|
||||||
TXPSV := $0008
|
TXPSV := $0008
|
||||||
@ -56,6 +57,7 @@ NULL_MAX := $0A
|
|||||||
|
|
||||||
; zero page
|
; zero page
|
||||||
ZP_START0 = $00
|
ZP_START0 = $00
|
||||||
|
ZP_START0A = $0E
|
||||||
ZP_START1 = $03
|
ZP_START1 = $03
|
||||||
ZP_START2 = $13
|
ZP_START2 = $13
|
||||||
|
|
||||||
@ -64,11 +66,14 @@ LOWTRX = LOWTR
|
|||||||
|
|
||||||
USR := GORESTART ; XXX
|
USR := GORESTART ; XXX
|
||||||
|
|
||||||
LINNUM := $0011
|
;LINNUM := $0011
|
||||||
|
|
||||||
Z03 := $000E
|
Z03 := $000E
|
||||||
Z96 := $0096
|
Z96 := $0096
|
||||||
|
|
||||||
|
; override
|
||||||
POSX := $00C6
|
POSX := $00C6
|
||||||
|
|
||||||
TXPSV = LASTOP
|
TXPSV = LASTOP
|
||||||
|
|
||||||
INPUTBUFFER := $0200
|
INPUTBUFFER := $0200
|
||||||
|
@ -14,16 +14,20 @@ CONFIG_SMALL := 1
|
|||||||
|
|
||||||
; zero page
|
; zero page
|
||||||
ZP_START0 = $00
|
ZP_START0 = $00
|
||||||
|
ZP_START0A = $0F
|
||||||
ZP_START1 = $06
|
ZP_START1 = $06
|
||||||
ZP_START2 = $15
|
ZP_START2 = $15
|
||||||
|
|
||||||
JMPADRS := $0093
|
JMPADRS := $0093
|
||||||
LOWTRX := $0094 ; $AB also EXPSGN?
|
LOWTRX := $0094 ; $AB also EXPSGN?
|
||||||
|
|
||||||
POSX := $0010
|
;POSX := $0010
|
||||||
|
;LINNUM := $0013
|
||||||
|
|
||||||
|
; overrides
|
||||||
Z17 := $06FC
|
Z17 := $06FC
|
||||||
Z18 := $06FD
|
Z18 := $06FD
|
||||||
LINNUM := $0013
|
|
||||||
|
|
||||||
TXPSV := $0049
|
TXPSV := $0049
|
||||||
INPUTBUFFER := $0700
|
INPUTBUFFER := $0700
|
||||||
|
@ -11,17 +11,18 @@ CONFIG_SCRTCH_ORDER := 2
|
|||||||
|
|
||||||
; zero page
|
; zero page
|
||||||
ZP_START0 = $00
|
ZP_START0 = $00
|
||||||
|
ZP_START0A = $15
|
||||||
ZP_START1 = $0A
|
ZP_START1 = $0A
|
||||||
ZP_START2 = $63
|
ZP_START2 = $63
|
||||||
|
|
||||||
JMPADRS = DSCLEN + 1
|
JMPADRS = DSCLEN + 1
|
||||||
LOWTRX = LOWTR
|
LOWTRX = LOWTR
|
||||||
|
|
||||||
Z15 := $0015
|
;Z15 := $0015
|
||||||
POSX := $0016
|
;POSX := $0016
|
||||||
Z17 := $0017
|
;Z17 := $0017
|
||||||
Z18 := $0018
|
;Z18 := $0018
|
||||||
LINNUM := $0019
|
;LINNUM := $0019
|
||||||
|
|
||||||
INPUTBUFFER := $001B
|
INPUTBUFFER := $001B
|
||||||
|
|
||||||
|
@ -15,6 +15,7 @@ CONFIG_SCRTCH_ORDER := 1
|
|||||||
|
|
||||||
; zero page
|
; zero page
|
||||||
ZP_START0 = $17
|
ZP_START0 = $17
|
||||||
|
ZP_START0A = $2F
|
||||||
ZP_START1 = $24
|
ZP_START1 = $24
|
||||||
ZP_START2 = $85
|
ZP_START2 = $85
|
||||||
|
|
||||||
@ -23,11 +24,11 @@ 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
|
INPUTBUFFER := $0035
|
||||||
|
|
||||||
TXPSV := $00BA
|
TXPSV := $00BA
|
||||||
|
@ -7,6 +7,7 @@ CONFIG_SMALL := 1
|
|||||||
|
|
||||||
; zero page
|
; zero page
|
||||||
ZP_START0 = $00
|
ZP_START0 = $00
|
||||||
|
ZP_START0A = $D
|
||||||
ZP_START1 = $5B
|
ZP_START1 = $5B
|
||||||
ZP_START2 = $65
|
ZP_START2 = $65
|
||||||
|
|
||||||
@ -14,11 +15,11 @@ 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
|
INPUTBUFFER := $0013
|
||||||
|
|
||||||
TXPSV := $0011
|
TXPSV := $0011
|
||||||
|
18
zeropage.s
18
zeropage.s
@ -13,6 +13,24 @@ GOAYINT:
|
|||||||
GOGIVEAYF:
|
GOGIVEAYF:
|
||||||
.res 2
|
.res 2
|
||||||
|
|
||||||
|
.org ZP_START0A
|
||||||
|
Z15:
|
||||||
|
.res 1
|
||||||
|
.ifndef POSX
|
||||||
|
POSX:
|
||||||
|
.res 1
|
||||||
|
.endif
|
||||||
|
.ifndef Z17
|
||||||
|
Z17:
|
||||||
|
.endif
|
||||||
|
.res 1
|
||||||
|
.ifndef Z18
|
||||||
|
Z18:
|
||||||
|
.endif
|
||||||
|
.res 1
|
||||||
|
LINNUM:
|
||||||
|
.res 2
|
||||||
|
|
||||||
.ifdef ZP_START1
|
.ifdef ZP_START1
|
||||||
.org ZP_START1
|
.org ZP_START1
|
||||||
.endif
|
.endif
|
||||||
|
Loading…
Reference in New Issue
Block a user