This commit is contained in:
Michael Steil 2008-10-12 19:54:16 +00:00
parent 3f00cde052
commit 309b714632
6 changed files with 18 additions and 20 deletions

View File

@ -48,10 +48,6 @@ MONCOUT := $FDED
STACK_TOP := $F8
SPACE_FOR_GOSUB := $36
NUM_TOKENS := $1C
BYTES_PER_ELEMENT := 6 ; ??? should be 5 on Apple
BYTES_PER_VARIABLE := 7
BYTES_FP := 5
MANTISSA_BYTES := BYTES_FP-1
MAX_EXPON = 10
RAMSTART3 := $2A00

View File

@ -96,10 +96,6 @@ STACK_TOP := $FA
.endif
NUM_TOKENS := $23
NULL_MAX := $0A
BYTES_PER_ELEMENT := 5
BYTES_PER_VARIABLE := 7
BYTES_FP := 5
MANTISSA_BYTES := BYTES_FP-1
.ifdef CBM1
MAX_EXPON = 12
.else

View File

@ -54,10 +54,6 @@ STACK_TOP := $FE
SPACE_FOR_GOSUB := $49
NUM_TOKENS := $1D
NULL_MAX := $0A
BYTES_PER_ELEMENT := 4
BYTES_PER_VARIABLE := 6
BYTES_FP := 4
MANTISSA_BYTES := BYTES_FP-1
MAX_EXPON = 10
RAMSTART3 := $0300

View File

@ -47,9 +47,5 @@ STACK_TOP := $FC
SPACE_FOR_GOSUB := $36
NUM_TOKENS := $1D
NULL_MAX := $F2 ; probably different in original version; the image I have seems to be modified; see PDF
BYTES_PER_ELEMENT := 5
BYTES_PER_VARIABLE := 7
BYTES_FP := 5
MANTISSA_BYTES := BYTES_FP-1
MAX_EXPON = 10

View File

@ -51,10 +51,6 @@ STACK_TOP := $FC
SPACE_FOR_GOSUB := $33
NUM_TOKENS := $1C
NULL_MAX := $0A
BYTES_PER_ELEMENT := 4
BYTES_PER_VARIABLE := 6
BYTES_FP := 4
MANTISSA_BYTES := BYTES_FP-1
MAX_EXPON = 10
RAMSTART3 := $0300

View File

@ -22,6 +22,24 @@ KBD := 1
.include "defines_kbd.s" ; 10
.endif
.ifdef CONFIG_SMALL
BYTES_FP := 4
BYTES_PER_ELEMENT := 4
BYTES_PER_VARIABLE := 6
.else
BYTES_FP := 5
.ifdef APPLE
BYTES_PER_ELEMENT := 6 ; ??? should be 5 on Apple
.else
BYTES_PER_ELEMENT := 5
.endif
BYTES_PER_VARIABLE := 7
.endif
MANTISSA_BYTES := BYTES_FP-1
BYTES_PER_FRAME := 2*BYTES_FP+8
FOR_STACK1 := 2*BYTES_FP+5
FOR_STACK2 := BYTES_FP+4