2017-12-27 21:26:13 +00:00
|
|
|
import stdio
|
|
|
|
|
2019-04-29 20:57:40 +00:00
|
|
|
const array p = [
|
2018-07-06 22:58:44 +00:00
|
|
|
"this is an example", 13,
|
2019-08-07 18:03:36 +00:00
|
|
|
"of {red}multiline ",
|
2018-07-27 22:58:20 +00:00
|
|
|
#if CBM
|
2019-08-07 18:03:36 +00:00
|
|
|
"{reverse}{yellow}petscii{reverseoff} {white}text"
|
2018-07-27 22:58:20 +00:00
|
|
|
#else
|
2019-08-07 18:03:36 +00:00
|
|
|
"{reverse}{blue}ASCII{reverseoff} {black}text"
|
2018-07-27 22:58:20 +00:00
|
|
|
#endif
|
2017-12-27 21:26:13 +00:00
|
|
|
]
|
|
|
|
|
2019-04-29 20:57:40 +00:00
|
|
|
const array s = [
|
2017-12-27 21:26:13 +00:00
|
|
|
"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-27 22:58:20 +00:00
|
|
|
#if CBM_64
|
2017-12-27 21:26:13 +00:00
|
|
|
for i,0,paralleluntil,s.length {
|
|
|
|
screen[20 * 40 + i] = s[i]
|
|
|
|
c64_color_ram[20 * 40 + i] = light_blue
|
|
|
|
}
|
2018-07-27 22:58:20 +00:00
|
|
|
#endif
|
2017-12-27 21:26:13 +00:00
|
|
|
while(true){}
|
|
|
|
}
|