2020-10-14 22:58:41 +00:00
|
|
|
%import textio
|
2022-10-22 14:35:57 +00:00
|
|
|
%import math
|
2020-10-14 22:58:41 +00:00
|
|
|
%import cx16logo
|
|
|
|
|
2023-06-03 17:14:45 +00:00
|
|
|
; Note: this program can be compiled for multiple target systems.
|
2020-10-14 22:58:41 +00:00
|
|
|
|
|
|
|
main {
|
|
|
|
sub start() {
|
|
|
|
repeat {
|
2022-10-22 14:35:57 +00:00
|
|
|
ubyte col = math.rnd() % (txt.DEFAULT_WIDTH-13) + 3
|
|
|
|
ubyte row = math.rnd() % (txt.DEFAULT_HEIGHT-7)
|
2020-10-14 22:58:41 +00:00
|
|
|
cx16logo.logo_at(col, row)
|
2023-06-03 17:14:45 +00:00
|
|
|
txt.plot(col-3, row+7)
|
2020-10-14 22:58:41 +00:00
|
|
|
txt.print("commander x16")
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|