Improve examples

This commit is contained in:
Karol Stasiak 2019-08-06 12:59:05 +02:00
parent 6c623e1935
commit 7281ec5d2c
5 changed files with 5 additions and 3 deletions

1
.gitignore vendored
View File

@ -45,6 +45,7 @@ examples/lunix/
*.rom
HELLO
HELLOCPC
FIZZBUZZ
#heap dumps
java_pid*

View File

@ -36,11 +36,11 @@ void main_loop() {
scroll = 7
while true {
while vic_raster != row * 8 - 1 + 50 {}
stabilize(8)
stabilize(9)
vic_38_columns()
vic_set_scroll(scroll, 3)
while vic_raster != row * 8 + 7 + 50 {}
stabilize(20)
stabilize(22)
vic_40_columns()
vic_set_scroll(0,3)
if scroll == 0 {

View File

@ -17,5 +17,6 @@ void main() {
}
putchar(' ')
}
while(true){}
}

View File

@ -2,7 +2,7 @@ import stdio
const array p = [
"this is an example", 13,
"of {red}multiline {yellow}{reverse}",
"of {red}multiline {blue}{reverse}",
#if CBM
"petscii",
#else

BIN
examples/screenshots.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 129 KiB