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-18 07:07:17 +00:00
|
|
|
|
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 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-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-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
|
|
|
|