prog8/examples/test.p8
Irmen de Jong 3d956ef554 fix wrong values for register used in array indexing expressions
added the L/H byte parts of the cx16 virtual registers
2021-04-18 13:53:02 +02:00

24 lines
410 B
Lua

%import textio
%zeropage basicsafe
%import test_stack
main {
sub start() {
str anim = "1234"
ubyte anim_counter = 0
test_stack.test()
txt.print("loading ")
repeat 100 {
ubyte qq = anim[anim_counter/2]
txt.chrout(qq)
anim_counter = (anim_counter+1) & 7
}
txt.print("done!\n")
test_stack.test()
}
}