mirror of
https://github.com/irmen/prog8.git
synced 2024-11-26 11:49:22 +00:00
comments.
This commit is contained in:
parent
1505fe686a
commit
24b77fb5a5
@ -5,8 +5,6 @@
|
|||||||
; Vertical rasterbars a.k.a. "Kefren bars"
|
; Vertical rasterbars a.k.a. "Kefren bars"
|
||||||
; also see: rasterbars.p8
|
; also see: rasterbars.p8
|
||||||
|
|
||||||
; TODO exhibits tearing since recent compiler changes????
|
|
||||||
|
|
||||||
|
|
||||||
main {
|
main {
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
%target cx16
|
%target cx16
|
||||||
%import textio
|
%import textio
|
||||||
%option no_sysinit
|
%option no_sysinit
|
||||||
|
%zeropage basicsafe
|
||||||
|
|
||||||
; simple test program for the "VTUI" text user interface library
|
; simple test program for the "VTUI" text user interface library
|
||||||
; see: https://github.com/JimmyDansbo/VTUIlib
|
; see: https://github.com/JimmyDansbo/VTUIlib
|
||||||
@ -23,20 +23,24 @@ main {
|
|||||||
vtui.gotoxy(12,13)
|
vtui.gotoxy(12,13)
|
||||||
vtui.print_str2("Hello, world! vtui from Prog8!", $f2, $00)
|
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.gotoxy(5,20)
|
||||||
vtui.print_str2(@"Enter your name: ", $e3, $80)
|
vtui.print_str2(@"Enter your name: ", $e3, $80)
|
||||||
str inputbuffer = "?" * 20
|
|
||||||
ubyte length = vtui.input_str(inputbuffer, len(inputbuffer), $21)
|
ubyte length = vtui.input_str(inputbuffer, len(inputbuffer), $21)
|
||||||
|
|
||||||
vtui.gotoxy(8,22)
|
vtui.gotoxy(8,22)
|
||||||
vtui.print_str2(@"Your name is: ", $e3, $80)
|
vtui.print_str2(@"Your name is: ", $e3, $80)
|
||||||
|
;vtui.print_str2(inputbuffer, $67, $00)
|
||||||
vtui.print_str(inputbuffer, length, $67, $00)
|
vtui.print_str(inputbuffer, length, $67, $00)
|
||||||
|
|
||||||
; txt.uppercase() ; kills vtui?
|
; txt.uppercase() ; kills vtui?
|
||||||
logo_mover()
|
logo_mover()
|
||||||
|
|
||||||
repeat {
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
sub store_logo() {
|
sub store_logo() {
|
||||||
|
@ -2,8 +2,6 @@
|
|||||||
%import syslib
|
%import syslib
|
||||||
%zeropage basicsafe
|
%zeropage basicsafe
|
||||||
|
|
||||||
; TODO seems slightly slower since recent compiler changes????
|
|
||||||
|
|
||||||
|
|
||||||
spritedata $0a00 {
|
spritedata $0a00 {
|
||||||
; this memory block contains the sprite data
|
; this memory block contains the sprite data
|
||||||
|
Loading…
Reference in New Issue
Block a user