comments.

This commit is contained in:
Irmen de Jong 2021-03-21 21:10:29 +01:00
parent 1505fe686a
commit 24b77fb5a5
3 changed files with 9 additions and 9 deletions

View File

@ -5,8 +5,6 @@
; Vertical rasterbars a.k.a. "Kefren bars"
; also see: rasterbars.p8
; TODO exhibits tearing since recent compiler changes????
main {

View File

@ -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() {

View File

@ -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