2008-10-15 05:00:23 +00:00
|
|
|
; http://apple2.org.za/gswv/a2zine/GS.WorldView/Resources/GS.TECH.INFO/AppleSoft/
|
|
|
|
|
2008-10-17 07:42:00 +00:00
|
|
|
; configuration
|
2008-10-12 19:50:23 +00:00
|
|
|
CONFIG_11 := 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
|
|
|
; INPUTBUFFER > $0100
|
|
|
|
|
2008-10-17 07:42:00 +00:00
|
|
|
; zero page
|
2008-10-18 03:31:14 +00:00
|
|
|
ZP_START0 = $00
|
2008-10-18 05:16:33 +00:00
|
|
|
ZP_START0A = $4F
|
2008-10-18 05:03:58 +00:00
|
|
|
ZP_START1 = $0D
|
2008-10-18 05:08:43 +00:00
|
|
|
ZP_START2 = $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-17 07:49:43 +00:00
|
|
|
|
2008-10-18 05:32:39 +00:00
|
|
|
INPUTBUFFER := $0200
|
2008-10-18 05:18:45 +00:00
|
|
|
|
|
|
|
CONFIG_NO_INPUTBUFFER_ZP := 1
|
|
|
|
CONFIG_INPUTBUFFER_0200 := 1
|
|
|
|
|
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-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
|
|
|
|