1
0
mirror of https://github.com/KarolS/millfork.git synced 2024-06-09 16:29:34 +00:00

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 *.rom
HELLO HELLO
HELLOCPC HELLOCPC
FIZZBUZZ
#heap dumps #heap dumps
java_pid* java_pid*

View File

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

View File

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

View File

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

BIN
examples/screenshots.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 129 KiB