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

39 lines
947 B
Plaintext

--- a/init.s 2026-03-07 21:41:40.145609568 +0100
+++ b/init.s 2026-03-07 21:41:40.145413973 +0100
@@ -51,6 +51,7 @@
sta GORESTART+1
sty GORESTART+2
.ifndef AIM65
+ .ifndef RK65C02
sta GOSTROUT+1
sty GOSTROUT+2
lda #<AYINT
@@ -62,6 +63,7 @@
sta GOGIVEAYF
sty GOGIVEAYF+1
.endif
+ .endif
.endif
lda #$4C
.ifdef CONFIG_CBM_ALL
@@ -91,6 +93,9 @@
.ifdef APPLE
lda #<USR_FUNC
ldy #>USR_FUNC
+ .elseif .def(RK65C02)
+ lda #<STROUT
+ ldy #>STROUT
.else
lda #<IQERR
ldy #>IQERR
@@ -100,6 +105,9 @@
sty ATN+2
sta GOSTROUT+1
sty GOSTROUT+2
+ .elseif .def(RK65C02)
+ sta GOSTROUT+1
+ sty GOSTROUT+2
.else
sta USR+1
sty USR+2