msbasic/defines_cbm1.s

55 lines
1.0 KiB
ArmAsm
Raw Normal View History

2008-10-17 07:42:00 +00:00
; configuration
2008-10-18 21:14:22 +00:00
; oldest known version, no CONFIG_n
2008-10-17 07:04:05 +00:00
CONFIG_CBM_ALL := 1
2008-10-18 21:59:19 +00:00
CONFIG_CBM1_PATCHES := 1 ; ** don't turn off! **
2008-10-17 06:53:38 +00:00
2008-10-18 21:59:19 +00:00
CONFIG_DATAFLG := 1
2008-10-17 07:04:05 +00:00
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.
2008-10-13 08:55:33 +00:00
CONFIG_PRINTNULLS := 1; whether PRINTNULLS does anything
2008-10-18 21:59:19 +00:00
CONFIG_SCRTCH_ORDER := 2
2008-10-13 08:07:53 +00:00
2008-10-17 07:42:00 +00:00
; zero page
2008-10-18 21:20:15 +00:00
ZP_START1 = $00
ZP_START2 = $04
ZP_START3 = $5A
ZP_START4 = $65
2008-10-18 04:24:51 +00:00
2008-10-18 05:37:45 +00:00
; extra ZP variables
2008-10-18 21:14:22 +00:00
CURDVC := $0003
2008-10-19 06:20:10 +00:00
TISTR := $0200
2008-10-09 10:10:09 +00:00
Z96 := $020C
2008-10-18 05:32:39 +00:00
USR := GORESTART
2008-10-17 07:42:00 +00:00
; constants
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-18 05:32:39 +00:00
NULL_MAX := $0A
2008-10-18 05:51:54 +00:00
MAX_EXPON := 12 ; XXX override
2008-10-07 04:44:27 +00:00
RAMSTART2 := $0400
2008-10-18 05:37:45 +00:00
; magic memory locations
ENTROPY = $9044
2008-10-07 04:44:27 +00:00
2008-10-17 07:42:00 +00:00
; monitor functions
2008-10-07 04:44:27 +00:00
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
2008-10-17 07:42:00 +00:00
LE7F3 := $E7F3; for CBM1
2008-10-07 04:44:27 +00:00
MONCOUT := CHROUT
MONRDKEY := GETIN