mirror of
https://github.com/mist64/msbasic.git
synced 2025-02-10 21:31:45 +00:00
cleanup
This commit is contained in:
parent
3c64e1acab
commit
8f31aae968
4
TODO.txt
4
TODO.txt
@ -9,4 +9,6 @@
|
||||
* check for KBD whether it's CONFIG_2 && CONFIG_SMALL (float
|
||||
etc.)
|
||||
* there must be no platform ifdefs in generic files
|
||||
* reconstruct pre-CBM1, i.e. CBM1 without the patches
|
||||
* reconstruct pre-CBM1, i.e. CBM1 without the patches
|
||||
* add some comments to every file
|
||||
* clean up all CONFIG_*, maybe some should go away
|
@ -11,10 +11,10 @@ CONFIG_SCRTCH_ORDER := 3
|
||||
BYTES_PER_ELEMENT := 6 ; XXX override
|
||||
|
||||
; zero page
|
||||
ZP_START0 = $00
|
||||
ZP_START0A = $4F
|
||||
ZP_START1 = $0D
|
||||
ZP_START2 = $55
|
||||
ZP_START1 = $00
|
||||
ZP_START2 = $4F
|
||||
ZP_START3 = $0D
|
||||
ZP_START4 = $55
|
||||
|
||||
;extra ZP variables
|
||||
USR := $000A
|
||||
|
@ -39,10 +39,10 @@ CONFIG_PRINTNULLS := 1; whether PRINTNULLS does anything
|
||||
CONFIG_SPC_IS_CRSR_RIGHT := 1; always print CRSR RIGHT for SPC() (otherwise only for screen output)
|
||||
|
||||
; zero page
|
||||
ZP_START0 = $00
|
||||
ZP_START0A = $04
|
||||
ZP_START1 = $5A
|
||||
ZP_START2 = $65
|
||||
ZP_START1 = $00
|
||||
ZP_START2 = $04
|
||||
ZP_START3 = $5A
|
||||
ZP_START4 = $65
|
||||
|
||||
; extra ZP variables
|
||||
CURDVC := $0003
|
||||
|
@ -14,10 +14,10 @@ CONFIG_NO_READ_Y_IS_ZERO_HACK := 1
|
||||
CONFIG_PEEK_SAVE_LINNUM := 1
|
||||
|
||||
; zero page
|
||||
ZP_START0 = $00
|
||||
ZP_START0A = $0D
|
||||
ZP_START1 = $03
|
||||
ZP_START2 = $13
|
||||
ZP_START1 = $00
|
||||
ZP_START2 = $0D
|
||||
ZP_START3 = $03
|
||||
ZP_START4 = $13
|
||||
|
||||
; extra/override ZP variables
|
||||
CURDVC := $000E
|
||||
|
@ -8,10 +8,10 @@ CONFIG_SCRTCH_ORDER := 3
|
||||
CONFIG_SMALL := 1
|
||||
|
||||
; zero page
|
||||
ZP_START0 = $00
|
||||
ZP_START0A = $0F
|
||||
ZP_START1 = $06
|
||||
ZP_START2 = $15
|
||||
ZP_START1 = $00
|
||||
ZP_START2 = $0F
|
||||
ZP_START3 = $06
|
||||
ZP_START4 = $15
|
||||
|
||||
; extra/override ZP variables
|
||||
TXPSV := $0049
|
||||
|
@ -10,10 +10,10 @@ CONFIG_SAFE_NAMENOTFOUND := 1
|
||||
CONFIG_SCRTCH_ORDER := 2
|
||||
|
||||
; zero page
|
||||
ZP_START0 = $00
|
||||
ZP_START0A = $15
|
||||
ZP_START1 = $0A
|
||||
ZP_START2 = $63
|
||||
ZP_START1 = $00
|
||||
ZP_START2 = $15
|
||||
ZP_START3 = $0A
|
||||
ZP_START4 = $63
|
||||
|
||||
; constants
|
||||
STACK_TOP := $FC
|
||||
|
@ -10,10 +10,10 @@ CONFIG_SAFE_NAMENOTFOUND := 1
|
||||
CONFIG_SCRTCH_ORDER := 1
|
||||
|
||||
; zero page
|
||||
ZP_START0 = $17
|
||||
ZP_START0A = $2F
|
||||
ZP_START1 = $24
|
||||
ZP_START2 = $85
|
||||
ZP_START1 = $17
|
||||
ZP_START2 = $2F
|
||||
ZP_START3 = $24
|
||||
ZP_START4 = $85
|
||||
|
||||
;extra ZP variables
|
||||
USR := $0021
|
||||
|
@ -8,10 +8,10 @@ CONFIG_SCRTCH_ORDER := 3
|
||||
CONFIG_SMALL := 1
|
||||
|
||||
; zero page
|
||||
ZP_START0 = $00
|
||||
ZP_START0A = $0D
|
||||
ZP_START1 = $5B
|
||||
ZP_START2 = $65
|
||||
ZP_START1 = $00
|
||||
ZP_START2 = $0D
|
||||
ZP_START3 = $5B
|
||||
ZP_START4 = $65
|
||||
|
||||
;extra ZP variables
|
||||
USR := $000A
|
||||
|
10
zeropage.s
10
zeropage.s
@ -2,7 +2,7 @@
|
||||
.feature org_per_seg
|
||||
.zeropage
|
||||
|
||||
.org ZP_START0
|
||||
.org ZP_START1
|
||||
|
||||
GORESTART:
|
||||
.res 3
|
||||
@ -13,7 +13,7 @@ GOAYINT:
|
||||
GOGIVEAYF:
|
||||
.res 2
|
||||
|
||||
.org ZP_START0A
|
||||
.org ZP_START2
|
||||
Z15:
|
||||
.res 1
|
||||
.ifndef POSX; allow override
|
||||
@ -37,9 +37,7 @@ TXPSV:
|
||||
INPUTBUFFER:
|
||||
.endif
|
||||
|
||||
.ifdef ZP_START1
|
||||
.org ZP_START1
|
||||
.endif
|
||||
.org ZP_START3
|
||||
|
||||
CHARAC:
|
||||
.res 1
|
||||
@ -66,7 +64,7 @@ CPRMASK:
|
||||
Z14:
|
||||
.res 1
|
||||
|
||||
.org ZP_START2
|
||||
.org ZP_START4
|
||||
|
||||
TEMPPT:
|
||||
.res 1
|
||||
|
Loading…
x
Reference in New Issue
Block a user