|
Hi Wiktor,
print() doesn't work when called from for loop (and it's possibly just one manifestation of this issue). While loop seems to work fine.you may like to test if it is the print() inside the for loop that does not work, or - more likely - the for loop itself.
It may also be worth to recompile with no optimisation - just in case that the FPGA emulation of the MC68k has some issues with them.
Could be that the optimised code fails to properly process the FORPREP or FORLOOP opcode.
--
Oliver
Attachment:
lua_530.png
Description: PNG image