mirror of
https://github.com/irmen/prog8.git
synced 2024-11-26 11:49:22 +00:00
bc3f2db3de
Revert palette.default_colors_16[] back to palette.set_default16.colors.
20 lines
299 B
Lua
20 lines
299 B
Lua
%import textio
|
|
%import palette
|
|
%zeropage basicsafe
|
|
%option no_sysinit
|
|
|
|
main {
|
|
sub start() {
|
|
cx16.r0L = main.dummy.variable
|
|
cx16.r0L = main.dummy.array[1]
|
|
cx16.r0++
|
|
}
|
|
|
|
sub dummy() {
|
|
ubyte variable
|
|
ubyte[] array = [1,2,3]
|
|
|
|
cx16.r0++
|
|
}
|
|
}
|