This commit is contained in:
Michael Steil 2008-10-18 12:49:03 +00:00
parent 5d35b09a97
commit 8e642aa97a
7 changed files with 9 additions and 13 deletions

View File

@ -28,6 +28,7 @@ SPACE_FOR_GOSUB := $36
CRLF_1 := CR CRLF_1 := CR
CRLF_2 := $80 CRLF_2 := $80
WIDTH := 40 WIDTH := 40
WIDTH2 := 14
; memory layout ; memory layout
RAMSTART2 := $2A00 RAMSTART2 := $2A00

View File

@ -63,6 +63,8 @@ MAX_EXPON := 12 ; XXX override
.else .else
SPACE_FOR_GOSUB := $3E SPACE_FOR_GOSUB := $3E
STACK_TOP := $FA STACK_TOP := $FA
WIDTH := 40
WIDTH2 := 30
.endif .endif
RAMSTART2 := $0400 RAMSTART2 := $0400

View File

@ -20,6 +20,7 @@ STACK_TOP := $FC
SPACE_FOR_GOSUB := $36 SPACE_FOR_GOSUB := $36
NULL_MAX := $F2 ; probably different in original version; the image I have seems to be modified; see PDF NULL_MAX := $F2 ; probably different in original version; the image I have seems to be modified; see PDF
WIDTH := 72 WIDTH := 72
WIDTH2 := 56
; magic memory locations ; magic memory locations
L1800 := $1800 L1800 := $1800

View File

@ -24,6 +24,7 @@ STACK_TOP := $FE
SPACE_FOR_GOSUB := $3E SPACE_FOR_GOSUB := $3E
NULL_MAX := $F0 NULL_MAX := $F0
WIDTH := 80 WIDTH := 80
WIDTH2 := 56
; memory layout ; memory layout
RAMSTART2 := $0400 RAMSTART2 := $0400

View File

@ -21,6 +21,7 @@ STACK_TOP := $FC
SPACE_FOR_GOSUB := $33 SPACE_FOR_GOSUB := $33
NULL_MAX := $0A NULL_MAX := $0A
WIDTH := 72 WIDTH := 72
WIDTH2 := 56
; memory layout ; memory layout
RAMSTART2 := $0300 RAMSTART2 := $0300

2
eval.s
View File

@ -502,7 +502,7 @@ L2DC2:
.byte $19 .byte $19
.endif .endif
.ifdef CBM2 .ifdef CBM2
bit $62 bit FAC+4
bpl LCE90 bpl LCE90
cmp #$54 cmp #$54
bne LCE82 bne LCE82

14
init.s
View File

@ -74,22 +74,12 @@ COLD_START2:
sta USR+1 sta USR+1
sty USR+2 sty USR+2
.endif .endif
.ifndef CONFIG_CBM_ALL .ifndef CBM1
lda #WIDTH lda #WIDTH
sta Z17 sta Z17
.ifdef APPLE lda #WIDTH2
lda #14
.else
lda #56
.endif
sta Z18 sta Z18
.endif .endif
.ifdef CBM2
lda #$28
sta $0F
lda #$1E
sta $10
.endif
.endif /* KBD */ .endif /* KBD */
; All non-CONFIG_SMALL versions of BASIC have ; All non-CONFIG_SMALL versions of BASIC have