2020-09-20 21:49:36 +00:00
|
|
|
%import textio
|
2020-11-15 16:44:47 +00:00
|
|
|
%import floats
|
2020-11-15 14:04:23 +00:00
|
|
|
%zeropage basicsafe
|
2020-11-20 21:15:14 +00:00
|
|
|
%import test_stack
|
2020-08-27 17:47:50 +00:00
|
|
|
|
2020-09-24 17:26:07 +00:00
|
|
|
main {
|
2020-10-09 20:47:42 +00:00
|
|
|
sub start() {
|
2020-12-05 23:19:47 +00:00
|
|
|
txt.fill_screen('.',2)
|
2020-12-01 02:03:50 +00:00
|
|
|
|
2020-12-05 23:19:47 +00:00
|
|
|
ubyte xx
|
|
|
|
ubyte yy = 0
|
|
|
|
for xx in 0 to txt.DEFAULT_WIDTH-1 {
|
|
|
|
txt.setcc(xx, 0, xx, 1)
|
|
|
|
txt.setcc(xx, txt.DEFAULT_HEIGHT-1, xx, 1)
|
|
|
|
}
|
|
|
|
for yy in 0 to txt.DEFAULT_HEIGHT-1 {
|
|
|
|
txt.setcc(0, yy, yy,1)
|
|
|
|
txt.setcc(txt.DEFAULT_WIDTH-1, yy, yy, 1)
|
|
|
|
}
|
2020-12-03 15:02:51 +00:00
|
|
|
|
2020-12-05 23:19:47 +00:00
|
|
|
repeat {
|
|
|
|
delay()
|
|
|
|
txt.scroll_left(false)
|
|
|
|
}
|
2020-12-03 15:02:51 +00:00
|
|
|
}
|
2020-12-03 17:39:32 +00:00
|
|
|
|
2020-12-05 23:19:47 +00:00
|
|
|
|
|
|
|
sub delay () {
|
|
|
|
ubyte tt
|
|
|
|
repeat 255 {
|
|
|
|
repeat 255 {
|
|
|
|
tt++
|
|
|
|
}
|
|
|
|
}
|
2020-12-03 17:39:32 +00:00
|
|
|
}
|
2020-08-27 17:47:50 +00:00
|
|
|
}
|