This commit is contained in:
Michael Steil 2008-10-17 07:42:00 +00:00
parent e1869b5338
commit 2f8ec07455
6 changed files with 79 additions and 52 deletions

View File

@ -1,5 +1,6 @@
; http://apple2.org.za/gswv/a2zine/GS.WorldView/Resources/GS.TECH.INFO/AppleSoft/
; configuration
CONFIG_11 := 1
CONFIG_IO_MSB := 1 ; all I/O has bit #7 set
CONFIG_PRINT_CR := 1 ; print CR when line end reached
@ -7,9 +8,7 @@ CONFIG_SAFE_NAMENOTFOUND := 1
CONFIG_SCRTCH_ORDER := 3
; INPUTBUFFER > $0100
CRLF_1 := CR
CRLF_2 := $80
; zero page
ZP_START1 = $0D
ZP_START = $3D
@ -34,11 +33,16 @@ INPUTBUFFERX := $0200
MONRDKEY := $FD0C
MONCOUT := $FDED
; constants
STACK_TOP := $F8
SPACE_FOR_GOSUB := $36
CRLF_1 := CR
CRLF_2 := $80
; memory layout
RAMSTART2 := $2A00
; monitor functions
LF689 := $F689
LF800 := $F800
LF819 := $F819

View File

@ -1,3 +1,4 @@
; configuration
; common:
CONFIG_CBM_ALL := 1
@ -26,11 +27,8 @@ CONFIG_PEEK_SAVE_LINNUM := 1
; INPUTBUFFER > $0100
.endif
CRLF_1 := CR
CRLF_2 := LF
.ifdef CBM1
; zero page
ZP_START1 = $5A
ZP_START = $00
@ -40,7 +38,7 @@ LOWTRX = LOWTR
USR := $0000
GORESTART := $0000
INPUTBUFFERX := $0000
Z03 := $0003 ; same
Z03 := $0003
Z15 := $0004
POSX := $0005
@ -53,6 +51,7 @@ Z96 := $020C
NULL_MAX := $0A
.else
; zero page
ZP_START1 = $03
ZP_START = $05
@ -62,17 +61,18 @@ LOWTRX = LOWTR
USR := $0000
GORESTART := $0000
Z03 := $000E;3 ; same
LINNUM := $0011;0008
Z03 := $000E
LINNUM := $0011
Z96 := $00E8-82
POSX := $0118-82
TXPSV = LASTOP
INPUTBUFFER := $0200;00A
INPUTBUFFER := $0200
INPUTBUFFERX := $0200
.endif
; constants
.ifdef CBM1
SPACE_FOR_GOSUB := $36
STACK_TOP := $FC
@ -80,10 +80,13 @@ STACK_TOP := $FC
SPACE_FOR_GOSUB := $3E
STACK_TOP := $FA
.endif
CRLF_1 := CR
CRLF_2 := LF
RAMSTART2 := $0400
; monitor functions
OPEN := $FFC0
CLOSE := $FFC3
CHKIN := $FFC6
@ -98,10 +101,7 @@ SYS := $FFDE
ISCNTC := $FFE1
GETIN := $FFE4
CLALL := $FFE7
; for CBM1
LE7F3 := $E7F3
LE7F3 := $E7F3; for CBM1
MONCOUT := CHROUT
MONRDKEY := GETIN

View File

@ -1,3 +1,4 @@
; configuration
CONFIG_11 := 1
CONFIG_11A := 1
CONFIG_2 := 1
@ -14,41 +15,45 @@ CONFIG_SMALL := 1
CRLF_1 := LF
CRLF_2 := CR
; zero page
ZP_START1 = $6
ZP_START = $05
POSX := $0010
Z17 := $06FC;$000F
Z18 := $06FD;$0010
LINNUM := $0013;11
Z17 := $06FC
Z18 := $06FD
LINNUM := $0013
TXPSV := $0049
INPUTBUFFER := $0700
INPUTBUFFERX := $0700
JMPADRS := $0093;A1
LOWTRX := $0094;AA ; $AB also EXPSGN?
JMPADRS := $0093
LOWTRX := $0094 ; $AB also EXPSGN?
Z96 := $0096
; magic memory locations
L06FE := $06FE
L6874 := $6874
MONCOUT := $FDFA
; constants
STACK_TOP := $FE
SPACE_FOR_GOSUB := $49
; memory layout
RAMSTART2 := $0300
CONST_MEMSIZ := $3FFF
RAMSTART2 := $0300
; monitor functions
MONCOUT := $FDFA
LC000 := $C000
LC009 := $C009
LDE24 := $DE24
LDE42 := $DE42 ; PRIMM ?
LDE48 := $DE48
LDE53 := $DE53
LDE7F := $DE7F
LDE8C := $DE8C
LC000 = $C000
LC009 = $C009
LDE24 = $DE24
LDE42 = $DE42 ; PRIMM ?
LDE48 = $DE48
LDE53 = $DE53
LDE7F = $DE7F
LDE8C = $DE8C
L6874 = $6874

View File

@ -1,3 +1,4 @@
; configuration
CONFIG_11 := 1
CONFIG_11A := 1
@ -11,6 +12,7 @@ CONFIG_SCRTCH_ORDER := 2
CRLF_1 := CR
CRLF_2 := LF
; zero page
ZP_START1 = $0A
ZP_START = $4E
@ -31,11 +33,15 @@ TXPSV := $0019
INPUTBUFFER := $001B
INPUTBUFFERX := $0000
; magic memory locations
L1800 := $1800
L1873 := $1873
; monitor functions
MONRDKEY := $1E5A
MONCOUT := $1EA0
; constants
STACK_TOP := $FC
SPACE_FOR_GOSUB := $36
NULL_MAX := $F2 ; probably different in original version; the image I have seems to be modified; see PDF

View File

@ -1,3 +1,4 @@
; configuration
CONFIG_11 := 1
CONFIG_11A := 1
CONFIG_2 := 1
@ -15,6 +16,7 @@ CONFIG_SCRTCH_ORDER := 1
CRLF_1 := CR
CRLF_2 := LF
; zero page
ZP_START1 = $24
ZP_START = $56
@ -37,16 +39,18 @@ TXPSV := $00BA
INPUTBUFFER := $001B+$1A
INPUTBUFFERX := $0000
MONRDKEY := $E210
MONRDKEY2 := $E213
MONCOUT := $E216
; constants
STACK_TOP := $FE
SPACE_FOR_GOSUB := $3E
NULL_MAX := $F0
; memory layout
RAMSTART2 := $0400
; monitor functions
MONRDKEY := $E210
MONRDKEY2 := $E213
MONCOUT := $E216
LF000 := $F000
LF003 := $F003
LF006 := $F006

View File

@ -1,3 +1,4 @@
; configuration
CONFIG_DATAFLAG := 1
CONFIG_NULL := 1
CONFIG_PRINT_CR := 1 ; print CR when line end reached
@ -7,6 +8,7 @@ CONFIG_SMALL := 1
CRLF_1 := CR
CRLF_2 := LF
; zero page
ZP_START1 = $5B
ZP_START = $00
@ -28,16 +30,22 @@ TXPSV := $0011
INPUTBUFFER := $0013
INPUTBUFFERX := $0000
; constants
STACK_TOP := $FC
SPACE_FOR_GOSUB := $33
NULL_MAX := $0A
; memory layout
RAMSTART2 := $0300
; magic memory locations
L0207 := $0207
L020A := $020A
; monitor functions
MONRDKEY := $FFEB
MONCOUT := $FFEE
MONISCNTC := $FFF1
LOAD := $FFF4
SAVE := $FFF7
STACK_TOP := $FC
SPACE_FOR_GOSUB := $33
NULL_MAX := $0A
RAMSTART2 := $0300