msbasic/defines_microtan.s

47 lines
783 B
ArmAsm
Raw Normal View History

2008-10-17 07:42:00 +00:00
; configuration
2008-10-18 06:23:05 +00:00
CONFIG_2C := 1
2008-10-13 20:26:42 +00:00
CONFIG_NULL := 1
2008-10-17 07:34:52 +00:00
CONFIG_MONCOUT_DESTROYS_Y := 1
CONFIG_PEEK_SAVE_LINNUM := 1
2008-10-13 20:26:42 +00:00
CONFIG_PRINT_CR := 1 ; print CR when line end reached
2008-10-17 07:34:52 +00:00
CONFIG_ROR_WORKAROUND := 1
CONFIG_SAFE_NAMENOTFOUND := 1
2008-10-17 06:21:43 +00:00
CONFIG_SCRTCH_ORDER := 1
2008-10-13 20:26:42 +00:00
2008-10-17 07:42:00 +00:00
; zero page
2008-10-18 03:31:14 +00:00
ZP_START0 = $17
2008-10-18 05:16:33 +00:00
ZP_START0A = $2F
2008-10-18 05:03:58 +00:00
ZP_START1 = $24
2008-10-18 05:08:43 +00:00
ZP_START2 = $85
2008-10-13 20:26:42 +00:00
2008-10-18 05:32:39 +00:00
;extra ZP variables
2008-10-18 04:24:51 +00:00
USR := $0021
2008-10-14 09:23:44 +00:00
TXPSV := $00BA
2008-10-13 20:26:42 +00:00
2008-10-17 07:42:00 +00:00
; constants
2008-10-13 20:26:42 +00:00
STACK_TOP := $FE
SPACE_FOR_GOSUB := $3E
2008-10-16 06:53:45 +00:00
NULL_MAX := $F0
2008-10-13 20:26:42 +00:00
2008-10-17 07:42:00 +00:00
; memory layout
2008-10-15 05:00:23 +00:00
RAMSTART2 := $0400
2008-10-15 05:28:25 +00:00
2008-10-17 07:42:00 +00:00
; monitor functions
MONRDKEY := $E210
MONRDKEY2 := $E213
MONCOUT := $E216
2008-10-15 05:28:25 +00:00
LF000 := $F000
LF003 := $F003
LF006 := $F006
LF009 := $F009
LF00C := $F00C
LF00F := $F00F
LF018 := $F018
LF01B := $F01B
LF01E := $F01E
LF021 := $F021
2008-10-14 09:23:44 +00:00
LFDFA := $FDFA
LFE73 := $FE73
LFE75 := $FE75