mirror of
https://github.com/mist64/msbasic.git
synced 2024-12-21 17:30:09 +00:00
65 lines
880 B
ArmAsm
65 lines
880 B
ArmAsm
; global messages: "error", "in", "ready", "break"
|
|
|
|
.segment "CODE"
|
|
|
|
CR=13
|
|
LF=10
|
|
|
|
QT_ERROR:
|
|
.ifdef KBD
|
|
.byte " err"
|
|
.else
|
|
.ifdef APPLE
|
|
.byte " ERR"
|
|
.byte $07,$07
|
|
.else
|
|
.byte " ERROR"
|
|
.endif
|
|
.endif
|
|
.byte 0
|
|
|
|
.ifndef KBD
|
|
QT_IN:
|
|
.byte " IN "
|
|
.byte $00
|
|
.endif
|
|
|
|
.ifdef KBD
|
|
.byte $54,$D2 ; ???
|
|
OKPRT:
|
|
jsr LDE42
|
|
.byte CR,CR,">>",CR,LF
|
|
.byte 0
|
|
rts
|
|
nop
|
|
.else
|
|
QT_OK:
|
|
.ifdef CONFIG_CBM_ALL
|
|
.byte CR,LF,"READY.",CR,LF
|
|
.else
|
|
.ifdef APPLE
|
|
; binary patch!
|
|
.byte CR,0,0,"K",CR,LF
|
|
.else
|
|
.byte CR,LF,"OK",CR,LF
|
|
.endif
|
|
.endif
|
|
.byte 0
|
|
.endif
|
|
|
|
QT_BREAK:
|
|
|
|
.ifdef KBD
|
|
.byte CR,LF," Brk"
|
|
.byte 0
|
|
.byte $54,$D0 ; ???
|
|
.else
|
|
.ifdef MICROTAN
|
|
.byte CR,LF," BREAK"
|
|
.byte 0
|
|
.else
|
|
.byte CR,LF,"BREAK"
|
|
.byte 0
|
|
.endif
|
|
.endif
|