2008-10-07 05:51:08 +00:00
|
|
|
.ifdef CBM1
|
2008-10-12 19:50:23 +00:00
|
|
|
CONFIG_CBM_ALL := 1
|
|
|
|
CONFIG_CBM1_PATCHES := 1 ; ** don't turn off! **
|
|
|
|
CBM1_APPLE := 1
|
|
|
|
CBM_APPLE := 1
|
|
|
|
CONFIG_DATAFLAG := 1
|
2008-10-13 08:07:53 +00:00
|
|
|
CONFIG_BUG_GET_ERROR := 1; treat GET error like READ error
|
2008-10-13 08:55:33 +00:00
|
|
|
CONFIG_PRINTNULLS := 1; whether PRINTNULLS does anything
|
2008-10-13 10:18:55 +00:00
|
|
|
CONFIG_SPC_IS_CRSR_RIGHT := 1; always print CRSR RIGHT for SPC() (otherwise only for screen output)
|
2008-10-13 08:55:33 +00:00
|
|
|
; minor: just code order
|
|
|
|
CONFIG_INPUTBUFFER_ORDER := 1 ; ldx/ldy or ldy/ldx
|
2008-10-13 08:07:53 +00:00
|
|
|
.else
|
|
|
|
CONFIG_CBM_ALL := 1
|
|
|
|
CONFIG_11 := 1
|
2008-10-13 09:34:49 +00:00
|
|
|
CONFIG_11A := 1
|
2008-10-13 20:26:42 +00:00
|
|
|
CONFIG_2 := 1
|
2008-10-13 08:07:53 +00:00
|
|
|
CBM2_KBD := 1
|
2008-10-13 20:26:42 +00:00
|
|
|
CBM2_MICROTAN := 1
|
2008-10-13 08:07:53 +00:00
|
|
|
CBM2_KIM := 1
|
|
|
|
CBM2_APPLE := 1
|
|
|
|
CBM2_KIM_APPLE := 1 ; OUTDO difference
|
|
|
|
CBM_APPLE := 1
|
|
|
|
CONFIG_DATAFLAG := 1
|
2008-10-16 07:42:48 +00:00
|
|
|
CONFIG_EASTER_EGG := 1
|
|
|
|
; CONFIG_SMALL := 1 ; test :-)
|
2008-10-13 08:07:53 +00:00
|
|
|
; INPUTBUFFER > $0100
|
|
|
|
.endif
|
|
|
|
|
|
|
|
; common:
|
|
|
|
CONFIG_FILE := 1; support PRINT#, INPUT#, GET#, CMD
|
2008-10-13 08:55:33 +00:00
|
|
|
CONFIG_NO_CR := 1; terminal doesn't need explicit CRs on line ends
|
2008-10-13 20:26:42 +00:00
|
|
|
CONFIG_NO_LINE_EDITING := 1; support for "@", "_", BEL etc.
|
2008-10-15 05:00:23 +00:00
|
|
|
.define CONFIG_SCRTCH_ORDER 2
|
2008-10-13 08:07:53 +00:00
|
|
|
|
2008-10-13 09:12:45 +00:00
|
|
|
CRLF_1 := $0D
|
|
|
|
CRLF_2 := $0A
|
|
|
|
|
2008-10-13 08:07:53 +00:00
|
|
|
.ifdef CBM1
|
2008-10-12 19:50:23 +00:00
|
|
|
ZP_START = $65
|
|
|
|
|
|
|
|
JMPADRS = DSCLEN + 1
|
|
|
|
LOWTRX = LOWTR
|
|
|
|
|
2008-10-12 04:31:52 +00:00
|
|
|
USR := $0000
|
2008-10-16 07:12:27 +00:00
|
|
|
GORESTART := $0000
|
2008-10-12 01:32:09 +00:00
|
|
|
INPUTBUFFERX := $0000
|
2008-10-12 04:31:52 +00:00
|
|
|
L0001 := $0001
|
|
|
|
L0002 := $0002
|
2008-10-16 07:12:27 +00:00
|
|
|
GOSTROUT := $0003
|
2008-10-07 04:44:27 +00:00
|
|
|
Z03 := $0003 ; same
|
2008-10-16 06:53:45 +00:00
|
|
|
GOAYINT := $0006
|
2008-10-07 04:44:27 +00:00
|
|
|
GOGIVEAYF := $0008
|
2008-10-12 01:32:09 +00:00
|
|
|
|
2008-10-12 04:31:52 +00:00
|
|
|
Z15 := $0004
|
2008-10-13 10:18:55 +00:00
|
|
|
POSX := $0005
|
2008-10-12 01:32:09 +00:00
|
|
|
Z17 := $0006
|
|
|
|
Z18 := $0007
|
|
|
|
LINNUM := $0008
|
|
|
|
TXPSV := $0008
|
|
|
|
INPUTBUFFER := $000A
|
|
|
|
|
2008-10-12 04:31:52 +00:00
|
|
|
CHARAC := $005A
|
|
|
|
ENDCHR := $005B
|
2008-10-07 04:44:27 +00:00
|
|
|
EOLPNTR := $005C
|
2008-10-07 05:51:08 +00:00
|
|
|
DIMFLG := $005D
|
|
|
|
VALTYP := $005E
|
|
|
|
DATAFLG := $0060
|
|
|
|
SUBFLG := $0061
|
|
|
|
INPUTFLG := $0062
|
|
|
|
CPRMASK := $0063
|
2008-10-07 04:44:27 +00:00
|
|
|
Z14 := $0064 ; Ctrl+O flag
|
2008-10-09 10:10:09 +00:00
|
|
|
Z96 := $020C
|
2008-10-07 05:51:08 +00:00
|
|
|
.else
|
2008-10-12 19:50:23 +00:00
|
|
|
|
|
|
|
ZP_START = $13
|
|
|
|
|
|
|
|
JMPADRS = DSCLEN + 1
|
|
|
|
LOWTRX = LOWTR
|
|
|
|
|
2008-10-12 04:31:52 +00:00
|
|
|
USR := $0000
|
2008-10-16 07:12:27 +00:00
|
|
|
GORESTART := $0000
|
2008-10-12 04:31:52 +00:00
|
|
|
L0001 := $0001
|
|
|
|
L0002 := $0002
|
2008-10-16 07:12:27 +00:00
|
|
|
GOSTROUT := $0003
|
2008-10-12 04:31:52 +00:00
|
|
|
Z15 := $0004
|
|
|
|
CHARAC := $005A-82-5
|
|
|
|
ENDCHR := $005B-82-5
|
|
|
|
EOLPNTR := $005C-82-5
|
|
|
|
DIMFLG := $005D-82-5
|
|
|
|
VALTYP := $005E-82-5
|
|
|
|
DATAFLG := $0060-82-5
|
|
|
|
SUBFLG := $0061-82-5
|
|
|
|
INPUTFLG := $0062-82-5
|
|
|
|
CPRMASK := $0063-82-5
|
|
|
|
Z14 := $0064-82-5 ; Ctrl+O flag
|
|
|
|
|
|
|
|
Z17 := $0006
|
2008-10-16 06:53:45 +00:00
|
|
|
GOAYINT := $0006
|
2008-10-12 04:31:52 +00:00
|
|
|
Z18 := $0007
|
|
|
|
GOGIVEAYF := $0008
|
|
|
|
Z03 := $000E;3 ; same
|
|
|
|
LINNUM := $0011;0008
|
2008-10-13 20:26:42 +00:00
|
|
|
|
2008-10-12 04:31:52 +00:00
|
|
|
Z96 := $00E8-82
|
2008-10-13 09:34:49 +00:00
|
|
|
POSX := $0118-82
|
2008-10-12 04:31:52 +00:00
|
|
|
TXPSV = LASTOP
|
|
|
|
|
2008-10-11 23:57:13 +00:00
|
|
|
INPUTBUFFER := $0200;00A
|
|
|
|
INPUTBUFFERX := $0200
|
2008-10-07 05:51:08 +00:00
|
|
|
.endif
|
2008-10-07 04:44:27 +00:00
|
|
|
|
2008-10-07 10:05:20 +00:00
|
|
|
.ifdef CBM1
|
2008-10-07 04:44:27 +00:00
|
|
|
SPACE_FOR_GOSUB := $36
|
2008-10-09 08:23:42 +00:00
|
|
|
STACK_TOP := $FC
|
2008-10-07 10:05:20 +00:00
|
|
|
.else
|
|
|
|
SPACE_FOR_GOSUB := $3E
|
2008-10-09 08:23:42 +00:00
|
|
|
STACK_TOP := $FA
|
2008-10-07 10:05:20 +00:00
|
|
|
.endif
|
2008-10-07 05:51:08 +00:00
|
|
|
NULL_MAX := $0A
|
2008-10-07 04:44:27 +00:00
|
|
|
|
|
|
|
RAMSTART2 := $0400
|
|
|
|
|
|
|
|
|
|
|
|
OPEN := $FFC0
|
|
|
|
CLOSE := $FFC3
|
|
|
|
CHKIN := $FFC6
|
|
|
|
CHKOUT := $FFC9
|
|
|
|
CLRCH := $FFCC
|
|
|
|
CHRIN := $FFCF
|
|
|
|
CHROUT := $FFD2
|
|
|
|
LOAD := $FFD5
|
|
|
|
SAVE := $FFD8
|
|
|
|
VERIFY := $FFDB
|
|
|
|
SYS := $FFDE
|
|
|
|
ISCNTC := $FFE1
|
|
|
|
GETIN := $FFE4
|
|
|
|
CLALL := $FFE7
|
|
|
|
|
|
|
|
LE7F3 := $E7F3
|
|
|
|
|
|
|
|
MONCOUT := CHROUT
|
|
|
|
MONRDKEY := GETIN
|
2008-10-07 08:03:36 +00:00
|
|
|
|
|
|
|
|
2008-10-07 10:05:20 +00:00
|
|
|
.ifdef CBM1
|
|
|
|
ENTROPY = $9044
|
|
|
|
.else
|
|
|
|
ENTROPY = $E844
|
|
|
|
.endif
|
2008-10-07 08:03:36 +00:00
|
|
|
|