1
0
mirror of https://github.com/rkujawa/rk65c02.git synced 2026-03-11 03:16:11 +00:00
Files
rk65c02/examples/msbasic/patches/print.s.patch

17 lines
350 B
Diff

--- a/print.s
+++ b/print.s
@@ -100,7 +100,12 @@ L29B9:
.else
.ifndef APPLE
ldy #$00
sty INPUTBUFFER,x
+ .ifdef RK65C02
+ ldx #<(INPUTBUFFER-1)
+ ldy #>(INPUTBUFFER-1)
+ .else
ldx #LINNUM+1
+ .endif
.endif
.if .def(MICROTAN) || .def(SYM1)
bne CRDO2