This commit is contained in:
Michael Steil 2008-10-18 13:06:52 +00:00
parent 8e642aa97a
commit 4a75e2edf8
5 changed files with 12 additions and 6 deletions

View File

@ -43,7 +43,7 @@ MONCOUT := $FDFA
LC000 := $C000 LC000 := $C000
LC009 := $C009 LC009 := $C009
LDE24 := $DE24 LDE24 := $DE24
LDE42 := $DE42 ; PRIMM ? PRIMM := $DE42
LDE48 := $DE48 LDE48 := $DE48
LDE53 := $DE53 LDE53 := $DE53
LDE7F := $DE7F LDE7F := $DE7F

View File

@ -274,6 +274,7 @@ L271C:
sty CURLIN+1 sty CURLIN+1
RET1: RET1:
rts rts
.ifdef KBD .ifdef KBD
PRT: PRT:
jsr GETBYT jsr GETBYT
@ -293,6 +294,7 @@ LE68E:
bpl LE68E bpl LE68E
rts rts
.endif .endif
.if .def(CONFIG_NULL) || .def(CBM1) .if .def(CONFIG_NULL) || .def(CBM1)
; CBM1 has the keyword removed, ; CBM1 has the keyword removed,
; but the code is still here ; but the code is still here

4
init.s
View File

@ -9,9 +9,9 @@ FNDLIN2:
; ---------------------------------------------------------------------------- ; ----------------------------------------------------------------------------
COLD_START: COLD_START:
.ifdef KBD .ifdef KBD
lda #$81 lda #<LFD81
sta $03A0 sta $03A0
lda #$FD lda #>LFD81
sta $03A1 sta $03A1
lda #$20 lda #$20
sta $0480 sta $0480

View File

@ -9,7 +9,8 @@
sta TXTTAB+1 sta TXTTAB+1
jsr SCRTCH jsr SCRTCH
sta STACK+255 sta STACK+255
jsr LDE42 LFD81:
jsr PRIMM
.byte $1B,$06,$01,$0C .byte $1B,$06,$01,$0C
.byte "INTELLIVISION BASIC" .byte "INTELLIVISION BASIC"
.byte $0D,$0A,$0A .byte $0D,$0A,$0A
@ -21,7 +22,7 @@
lda #$FF lda #$FF
sta ($04),y sta ($04),y
jsr LDE8C jsr LDE8C
.byte $0C .byte $0C ; NOP $xxxx
jmp RESTART jmp RESTART
OUTQUESSP: OUTQUESSP:
jsr OUTQUES jsr OUTQUES
@ -326,6 +327,9 @@ LFFED:
bne LFFB6 bne LFFB6
rts rts
.byte $FF .byte $FF
; NMI
.addr LC000 .addr LC000
; RESET
.addr LC000 .addr LC000
; IRQ
.addr LC009 .addr LC009

View File

@ -24,7 +24,7 @@ QT_IN:
.ifdef KBD .ifdef KBD
.byte $54,$D2 ; ??? .byte $54,$D2 ; ???
OKPRT: OKPRT:
jsr LDE42 jsr PRIMM
.byte CR,CR,">>",CR,LF .byte CR,CR,">>",CR,LF
.byte 0 .byte 0
rts rts