prog8/examples/test.p8

15 lines
425 B
Plaintext
Raw Normal View History

main {
2023-09-18 22:08:17 +00:00
uword[] pages = [ &page_credits.chars_1]
2023-09-18 22:08:17 +00:00
sub start() {
; cx16.r0 = pages[0] ; TODO fix IR compiler error undefined symbol pages
uword @shared foo = pages[0] ; TODO fix IR compiler error no chunk with label 'page_credits.chars_1' (caused by optimizer)
}
2023-09-17 16:30:57 +00:00
2023-09-18 22:08:17 +00:00
}
page_credits {
ubyte[] chars_1 = [11]
; TODO fix IR compiler crash when this array is moved into main block itself
}