msbasic/defines_kbd.s

53 lines
874 B
ArmAsm
Raw Normal View History

2008-10-17 07:42:00 +00:00
; configuration
2008-10-17 05:34:16 +00:00
CONFIG_2B := 1
2008-10-17 07:04:05 +00:00
CONFIG_NO_POKE := 1
CONFIG_NO_READ_Y_IS_ZERO_HACK := 1
2008-10-12 19:50:23 +00:00
CONFIG_SAFE_NAMENOTFOUND := 1
2008-10-17 07:04:05 +00:00
CONFIG_SCRTCH_ORDER := 3
CONFIG_SMALL := 1
2008-10-12 19:50:23 +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 = $0F
ZP_START3 = $06
ZP_START4 = $15
2008-10-12 19:50:23 +00:00
2008-10-18 05:37:45 +00:00
; extra/override ZP variables
2008-10-18 05:32:39 +00:00
TXPSV := $0049
2008-10-18 04:24:51 +00:00
JMPADRS := $0093
LOWTRX := $0094 ; $AB also EXPSGN?
2008-10-18 05:32:39 +00:00
Z96 := $0096
2008-10-17 07:42:00 +00:00
Z17 := $06FC
Z18 := $06FD
2008-10-18 05:16:33 +00:00
2008-10-18 05:37:45 +00:00
; inputbuffer
2008-10-08 07:04:03 +00:00
INPUTBUFFER := $0700
2008-10-16 07:42:48 +00:00
2008-10-17 07:42:00 +00:00
; constants
2008-10-09 08:23:42 +00:00
STACK_TOP := $FE
2008-10-08 05:07:59 +00:00
SPACE_FOR_GOSUB := $49
2008-10-17 07:49:43 +00:00
CRLF_1 := LF
CRLF_2 := CR
2008-10-08 05:07:59 +00:00
2008-10-18 05:37:45 +00:00
; magic memory locations
L06FE := $06FE
L6874 := $6874
2008-10-17 07:42:00 +00:00
; memory layout
2008-10-08 05:07:59 +00:00
RAMSTART2 := $0300
2008-10-17 07:42:00 +00:00
CONST_MEMSIZ := $3FFF
2008-10-08 05:07:59 +00:00
2008-10-17 07:42:00 +00:00
; monitor functions
MONCOUT := $FDFA
LC000 := $C000
LC009 := $C009
LDE24 := $DE24
2008-10-18 13:06:52 +00:00
PRIMM := $DE42
2008-10-17 07:42:00 +00:00
LDE48 := $DE48
LDE53 := $DE53
LDE7F := $DE7F
LDE8C := $DE8C
2008-10-08 11:42:15 +00:00