mirror of
https://github.com/mist64/msbasic.git
synced 2024-12-21 01:30:42 +00:00
cleanup
This commit is contained in:
parent
3c4bdcfda8
commit
bc6f5d0380
@ -1,5 +1,12 @@
|
|||||||
.ifdef CBM1
|
; common:
|
||||||
|
CONFIG_CBM_ALL := 1
|
||||||
|
|
||||||
|
CONFIG_FILE := 1; support PRINT#, INPUT#, GET#, CMD
|
||||||
|
CONFIG_NO_CR := 1; terminal doesn't need explicit CRs on line ends
|
||||||
|
CONFIG_NO_LINE_EDITING := 1; support for "@", "_", BEL etc.
|
||||||
|
CONFIG_SCRTCH_ORDER := 2
|
||||||
|
|
||||||
|
.ifdef CBM1
|
||||||
CONFIG_BUG_GET_ERROR := 1; treat GET error like READ error
|
CONFIG_BUG_GET_ERROR := 1; treat GET error like READ error
|
||||||
CONFIG_CBM1_PATCHES := 1 ; ** don't turn off! **
|
CONFIG_CBM1_PATCHES := 1 ; ** don't turn off! **
|
||||||
CONFIG_DATAFLAG := 1
|
CONFIG_DATAFLAG := 1
|
||||||
@ -11,6 +18,7 @@ CONFIG_11 := 1
|
|||||||
CONFIG_11A := 1
|
CONFIG_11A := 1
|
||||||
CONFIG_2 := 1
|
CONFIG_2 := 1
|
||||||
CONFIG_2A := 1
|
CONFIG_2A := 1
|
||||||
|
|
||||||
CONFIG_DATAFLAG := 1
|
CONFIG_DATAFLAG := 1
|
||||||
CONFIG_EASTER_EGG := 1
|
CONFIG_EASTER_EGG := 1
|
||||||
CONFIG_NO_READ_Y_IS_ZERO_HACK := 1
|
CONFIG_NO_READ_Y_IS_ZERO_HACK := 1
|
||||||
@ -18,13 +26,6 @@ CONFIG_PEEK_SAVE_LINNUM := 1
|
|||||||
; INPUTBUFFER > $0100
|
; INPUTBUFFER > $0100
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
; common:
|
|
||||||
CONFIG_CBM_ALL := 1
|
|
||||||
|
|
||||||
CONFIG_FILE := 1; support PRINT#, INPUT#, GET#, CMD
|
|
||||||
CONFIG_NO_CR := 1; terminal doesn't need explicit CRs on line ends
|
|
||||||
CONFIG_NO_LINE_EDITING := 1; support for "@", "_", BEL etc.
|
|
||||||
CONFIG_SCRTCH_ORDER := 2
|
|
||||||
|
|
||||||
CRLF_1 := CR
|
CRLF_1 := CR
|
||||||
CRLF_2 := LF
|
CRLF_2 := LF
|
||||||
|
@ -1,29 +1,22 @@
|
|||||||
CONFIG_SCRTCH_ORDER := 3
|
|
||||||
CONFIG_SMALL := 1
|
|
||||||
CONFIG_NO_READ_Y_IS_ZERO_HACK := 1
|
|
||||||
CONFIG_11 := 1
|
CONFIG_11 := 1
|
||||||
CONFIG_11A := 1
|
CONFIG_11A := 1
|
||||||
CONFIG_2 := 1
|
CONFIG_2 := 1
|
||||||
CONFIG_2A := 1
|
CONFIG_2A := 1
|
||||||
CONFIG_2B := 1
|
CONFIG_2B := 1
|
||||||
|
|
||||||
CONFIG_SAFE_NAMENOTFOUND := 1
|
|
||||||
; INPUTBUFFER > $0100
|
|
||||||
CONFIG_NO_POKE := 1
|
CONFIG_NO_POKE := 1
|
||||||
|
CONFIG_NO_READ_Y_IS_ZERO_HACK := 1
|
||||||
|
CONFIG_SAFE_NAMENOTFOUND := 1
|
||||||
|
CONFIG_SCRTCH_ORDER := 3
|
||||||
|
CONFIG_SMALL := 1
|
||||||
|
; INPUTBUFFER > $0100
|
||||||
|
|
||||||
CRLF_1 := LF
|
CRLF_1 := LF
|
||||||
CRLF_2 := CR
|
CRLF_2 := CR
|
||||||
|
|
||||||
ZP_START = $15
|
ZP_START = $15
|
||||||
|
|
||||||
L0001 := $0001
|
|
||||||
L0002 := $0002
|
|
||||||
GOSTROUT := $0003
|
|
||||||
GOAYINT := $0006
|
|
||||||
GOGIVEAYF := $0008
|
|
||||||
|
|
||||||
USR := $000A
|
|
||||||
Z15 := $000D
|
|
||||||
POSX := $0010
|
POSX := $0010
|
||||||
Z17 := $06FC;$000F
|
Z17 := $06FC;$000F
|
||||||
Z18 := $06FD;$0010
|
Z18 := $06FD;$0010
|
||||||
@ -48,13 +41,7 @@ Z96 := $0096
|
|||||||
|
|
||||||
L06FE := $06FE
|
L06FE := $06FE
|
||||||
|
|
||||||
L0207 := $0207
|
|
||||||
L020A := $020A
|
|
||||||
MONRDKEY := $FFEB
|
|
||||||
MONCOUT := $FDFA
|
MONCOUT := $FDFA
|
||||||
MONISCNTC := $FFF1
|
|
||||||
LOAD := $FFF4
|
|
||||||
SAVE := $FFF7
|
|
||||||
|
|
||||||
STACK_TOP := $FE
|
STACK_TOP := $FE
|
||||||
SPACE_FOR_GOSUB := $49
|
SPACE_FOR_GOSUB := $49
|
||||||
|
@ -1,10 +1,11 @@
|
|||||||
CONFIG_11 := 1
|
CONFIG_11 := 1
|
||||||
CONFIG_11A := 1
|
CONFIG_11A := 1
|
||||||
CONFIG_SAFE_NAMENOTFOUND := 1
|
|
||||||
|
CONFIG_MONCOUT_DESTROYS_Y := 1
|
||||||
CONFIG_NULL := 1
|
CONFIG_NULL := 1
|
||||||
CONFIG_PRINT_CR := 1 ; print CR when line end reached
|
CONFIG_PRINT_CR := 1 ; print CR when line end reached
|
||||||
CONFIG_ROR_WORKAROUND := 1
|
CONFIG_ROR_WORKAROUND := 1
|
||||||
CONFIG_MONCOUT_DESTROYS_Y := 1
|
CONFIG_SAFE_NAMENOTFOUND := 1
|
||||||
CONFIG_SCRTCH_ORDER := 2
|
CONFIG_SCRTCH_ORDER := 2
|
||||||
|
|
||||||
CRLF_1 := CR
|
CRLF_1 := CR
|
||||||
@ -17,7 +18,6 @@ LOWTRX = LOWTR
|
|||||||
|
|
||||||
GORESTART := $0000
|
GORESTART := $0000
|
||||||
L0001 := $0001
|
L0001 := $0001
|
||||||
L0002 := $0002
|
|
||||||
GOSTROUT := $0003
|
GOSTROUT := $0003
|
||||||
GOAYINT := $0006
|
GOAYINT := $0006
|
||||||
GOGIVEAYF := $0008
|
GOGIVEAYF := $0008
|
||||||
|
@ -35,15 +35,16 @@ LOAD:
|
|||||||
sty $17F6
|
sty $17F6
|
||||||
lda #$FF
|
lda #$FF
|
||||||
sta $17F9
|
sta $17F9
|
||||||
lda #$A6
|
lda #<L27A6
|
||||||
ldy #$27 ; XXX
|
ldy #>L27A6
|
||||||
sta L0001
|
sta L0001
|
||||||
sty L0001+1
|
sty L0001+1
|
||||||
jmp L1873
|
jmp L1873
|
||||||
|
L27A6:
|
||||||
ldx #$FF
|
ldx #$FF
|
||||||
txs
|
txs
|
||||||
lda #$48
|
lda #<RESTART
|
||||||
ldy #$23 ; XXX
|
ldy #>RESTART
|
||||||
sta L0001
|
sta L0001
|
||||||
sty L0001+1
|
sty L0001+1
|
||||||
lda #<QT_LOADED
|
lda #<QT_LOADED
|
||||||
|
4
string.s
4
string.s
@ -177,7 +177,7 @@ L3311:
|
|||||||
; ----------------------------------------------------------------------------
|
; ----------------------------------------------------------------------------
|
||||||
GARBAG:
|
GARBAG:
|
||||||
|
|
||||||
.ifdef KBD
|
.ifdef CONST_MEMSIZ
|
||||||
ldx #<CONST_MEMSIZ
|
ldx #<CONST_MEMSIZ
|
||||||
lda #>CONST_MEMSIZ
|
lda #>CONST_MEMSIZ
|
||||||
.else
|
.else
|
||||||
@ -266,7 +266,7 @@ L3376:
|
|||||||
.ifdef CBM1
|
.ifdef CBM1
|
||||||
jsr LE7F3
|
jsr LE7F3
|
||||||
.else
|
.else
|
||||||
.ifndef OSI
|
.ifdef CONFIG_11
|
||||||
ldy #$00
|
ldy #$00
|
||||||
.endif
|
.endif
|
||||||
asl a
|
asl a
|
||||||
|
Loading…
Reference in New Issue
Block a user