mirror of
https://github.com/KarolS/millfork.git
synced 2025-01-16 16:31:04 +00:00
Improve examples
This commit is contained in:
parent
6c623e1935
commit
7281ec5d2c
1
.gitignore
vendored
1
.gitignore
vendored
@ -45,6 +45,7 @@ examples/lunix/
|
|||||||
*.rom
|
*.rom
|
||||||
HELLO
|
HELLO
|
||||||
HELLOCPC
|
HELLOCPC
|
||||||
|
FIZZBUZZ
|
||||||
|
|
||||||
#heap dumps
|
#heap dumps
|
||||||
java_pid*
|
java_pid*
|
||||||
|
@ -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 {
|
||||||
|
@ -17,5 +17,6 @@ void main() {
|
|||||||
}
|
}
|
||||||
putchar(' ')
|
putchar(' ')
|
||||||
}
|
}
|
||||||
|
while(true){}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -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
BIN
examples/screenshots.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 129 KiB |
Loading…
x
Reference in New Issue
Block a user