From 24b77fb5a5b22610f69f18d0695d2b67ec615c92 Mon Sep 17 00:00:00 2001 From: Irmen de Jong Date: Sun, 21 Mar 2021 21:10:29 +0100 Subject: [PATCH] comments. --- examples/cx16/kefrenbars.p8 | 2 -- examples/cx16/vtui/testvtui.p8 | 14 +++++++++----- examples/wizzine.p8 | 2 -- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/examples/cx16/kefrenbars.p8 b/examples/cx16/kefrenbars.p8 index 9c7d8c9b2..ed9c586d5 100644 --- a/examples/cx16/kefrenbars.p8 +++ b/examples/cx16/kefrenbars.p8 @@ -5,8 +5,6 @@ ; Vertical rasterbars a.k.a. "Kefren bars" ; also see: rasterbars.p8 -; TODO exhibits tearing since recent compiler changes???? - main { diff --git a/examples/cx16/vtui/testvtui.p8 b/examples/cx16/vtui/testvtui.p8 index 67211dbd0..1228db9d1 100644 --- a/examples/cx16/vtui/testvtui.p8 +++ b/examples/cx16/vtui/testvtui.p8 @@ -1,7 +1,7 @@ %target cx16 %import textio %option no_sysinit - +%zeropage basicsafe ; simple test program for the "VTUI" text user interface library ; see: https://github.com/JimmyDansbo/VTUIlib @@ -23,20 +23,24 @@ main { vtui.gotoxy(12,13) vtui.print_str2("Hello, world! vtui from Prog8!", $f2, $00) + str inputbuffer = "?" * 20 + +; txt.print_uwhex(inputbuffer, 1) +; txt.chrout(':') +; txt.print(inputbuffer) +; txt.chrout('\n') + vtui.gotoxy(5,20) vtui.print_str2(@"Enter your name: ", $e3, $80) - str inputbuffer = "?" * 20 ubyte length = vtui.input_str(inputbuffer, len(inputbuffer), $21) vtui.gotoxy(8,22) vtui.print_str2(@"Your name is: ", $e3, $80) + ;vtui.print_str2(inputbuffer, $67, $00) vtui.print_str(inputbuffer, length, $67, $00) ; txt.uppercase() ; kills vtui? logo_mover() - - repeat { - } } sub store_logo() { diff --git a/examples/wizzine.p8 b/examples/wizzine.p8 index e9b3454f8..f56eedd3d 100644 --- a/examples/wizzine.p8 +++ b/examples/wizzine.p8 @@ -2,8 +2,6 @@ %import syslib %zeropage basicsafe -; TODO seems slightly slower since recent compiler changes???? - spritedata $0a00 { ; this memory block contains the sprite data