2017-12-27 22:26:13 +01:00
|
|
|
import stdio
|
|
|
|
|
|
|
|
array p = [
|
2018-07-07 00:58:44 +02:00
|
|
|
"this is an example", 13,
|
2018-07-28 00:58:20 +02:00
|
|
|
"of {red}multiline {yellow}{reverse}",
|
|
|
|
#if CBM
|
|
|
|
"petscii",
|
|
|
|
#else
|
|
|
|
"ASCII",
|
|
|
|
#endif
|
|
|
|
"{reverseoff} {white}text"
|
2017-12-27 22:26:13 +01:00
|
|
|
]
|
|
|
|
|
|
|
|
array s = [
|
|
|
|
"and this is an example " scr,
|
|
|
|
"of text done in screencodes" scr
|
|
|
|
]
|
|
|
|
|
|
|
|
array screen [1000] @$400
|
|
|
|
|
|
|
|
void main(){
|
|
|
|
byte i
|
|
|
|
putstr(p, p.length)
|
2018-07-28 00:58:20 +02:00
|
|
|
#if CBM_64
|
2017-12-27 22:26:13 +01:00
|
|
|
for i,0,paralleluntil,s.length {
|
|
|
|
screen[20 * 40 + i] = s[i]
|
|
|
|
c64_color_ram[20 * 40 + i] = light_blue
|
|
|
|
}
|
2018-07-28 00:58:20 +02:00
|
|
|
#endif
|
2017-12-27 22:26:13 +01:00
|
|
|
while(true){}
|
|
|
|
}
|