diff --git a/compiler/res/prog8lib/c128/syslib.p8 b/compiler/res/prog8lib/c128/syslib.p8 index 678419d7e..b5f59f2a8 100644 --- a/compiler/res/prog8lib/c128/syslib.p8 +++ b/compiler/res/prog8lib/c128/syslib.p8 @@ -313,11 +313,10 @@ asmsub init_system_phase2() { asmsub disable_runstop_and_charsetswitch() clobbers(A) { %asm {{ - ;; TODO c128 how to do this? - ;; lda #$80 - ;; sta 657 ; disable charset switching - ;; lda #239 - ;; sta 808 ; disable run/stop key + lda #$80 + sta 247 ; disable charset switching + lda #112 + sta 808 ; disable run/stop key rts }} } diff --git a/examples/test.p8 b/examples/test.p8 index c0524c899..2edcb4761 100644 --- a/examples/test.p8 +++ b/examples/test.p8 @@ -3,6 +3,7 @@ main { sub start() { str input = "?" * 20 + c128.disable_basic() txt.lowercase() txt.print("Hello There! Enter Your Name: ") void txt.input_chars(input) @@ -10,10 +11,6 @@ main { repeat { txt.print(input) txt.spc() - sys.waitvsync() - sys.waitvsync() - sys.waitvsync() - sys.waitvsync() } } }