2021-01-07 00:56:31 +00:00
|
|
|
; routine to draw the Commander X16's log in petscii.
|
|
|
|
|
2020-10-14 22:58:41 +00:00
|
|
|
%import textio
|
|
|
|
|
|
|
|
cx16logo {
|
2023-12-26 22:37:59 +00:00
|
|
|
%option no_symbol_prefixing, ignore_unused
|
2023-06-29 22:29:50 +00:00
|
|
|
|
2020-10-14 22:58:41 +00:00
|
|
|
sub logo_at(ubyte column, ubyte row) {
|
|
|
|
uword strptr
|
|
|
|
for strptr in logo_lines {
|
|
|
|
txt.plot(column, row)
|
|
|
|
txt.print(strptr)
|
|
|
|
row++
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
sub logo() {
|
|
|
|
uword strptr
|
2022-11-23 01:25:20 +00:00
|
|
|
for strptr in logo_lines {
|
2020-10-14 22:58:41 +00:00
|
|
|
txt.print(strptr)
|
2022-11-23 01:25:20 +00:00
|
|
|
txt.nl()
|
|
|
|
}
|
2020-10-14 22:58:41 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
str[] logo_lines = [
|
2022-01-03 21:44:27 +00:00
|
|
|
"\uf10d\uf11a\uf139\uf11b \uf11a\uf13a\uf11b",
|
|
|
|
"\uf10b\uf11a▎\uf139\uf11b \uf11a\uf13a\uf130\uf11b",
|
|
|
|
"\uf10f\uf11a▌ \uf139\uf11b \uf11a\uf13a \uf11b▌",
|
|
|
|
"\uf102 \uf132\uf11a▖\uf11b \uf11a▗\uf11b\uf132",
|
|
|
|
"\uf10e ▂\uf11a▘\uf11b \uf11a▝\uf11b▂",
|
|
|
|
"\uf104 \uf11a \uf11b\uf13a\uf11b \uf139\uf11a \uf11b",
|
2020-10-14 22:58:41 +00:00
|
|
|
"\uf101\uf130\uf13a \uf139▎\uf100"
|
|
|
|
]
|
|
|
|
}
|