msbasic/defines_apple.s

50 lines
802 B
ArmAsm
Raw Normal View History

2008-10-17 07:42:00 +00:00
; configuration
2008-10-12 19:50:23 +00:00
CONFIG_11 := 1
2008-10-18 07:07:17 +00:00
2008-10-18 21:39:50 +00:00
APPLE_BAD_BYTE := 1
2008-10-17 06:53:38 +00:00
CONFIG_IO_MSB := 1 ; all I/O has bit #7 set
CONFIG_PRINT_CR := 1 ; print CR when line end reached
2008-10-12 19:50:23 +00:00
CONFIG_SAFE_NAMENOTFOUND := 1
2008-10-17 06:21:43 +00:00
CONFIG_SCRTCH_ORDER := 3
2008-10-12 19:50:23 +00:00
2008-10-18 05:51:54 +00:00
BYTES_PER_ELEMENT := 6 ; XXX override
2008-10-17 07:42:00 +00:00
; zero page
2008-10-18 21:20:15 +00:00
ZP_START1 = $00
ZP_START2 = $4F
ZP_START3 = $0D
ZP_START4 = $55
2008-10-12 19:50:23 +00:00
2008-10-18 05:32:39 +00:00
;extra ZP variables
2008-10-11 07:15:19 +00:00
USR := $000A
2008-10-17 07:34:52 +00:00
2008-10-18 05:37:45 +00:00
; inputbuffer
2008-10-18 05:32:39 +00:00
INPUTBUFFER := $0200
2008-10-18 05:18:45 +00:00
2008-10-17 07:42:00 +00:00
; constants
2008-10-11 06:23:53 +00:00
STACK_TOP := $F8
SPACE_FOR_GOSUB := $36
2008-10-17 07:42:00 +00:00
CRLF_1 := CR
CRLF_2 := $80
2008-10-18 12:33:14 +00:00
WIDTH := 40
2008-10-18 12:49:03 +00:00
WIDTH2 := 14
2008-10-11 06:23:53 +00:00
2008-10-17 07:42:00 +00:00
; memory layout
2008-10-11 09:24:32 +00:00
RAMSTART2 := $2A00
2008-10-12 20:17:43 +00:00
2008-10-17 07:42:00 +00:00
; monitor functions
2008-10-18 05:32:39 +00:00
MONRDKEY := $FD0C
MONCOUT := $FDED
2008-10-17 07:42:00 +00:00
LF689 := $F689
LF800 := $F800
LF819 := $F819
LF828 := $F828
LF864 := $F864
TEX := $FB2F
LFB40 := $FB40
LFD0C := $FD0C
LFD6A := $FD6A
LFECD := $FECD
LFEFD := $FEFD
2008-10-11 07:15:19 +00:00