This is still very much a work in progress, but it appears I've managed to shoehorn the latest version of Lua onto the TI-92+ graphing calculator.
This is still very much a work in progress, but it appears I've managed to shoehorn the latest version of Lua onto the TI-92+ graphing calculator.
Solved! Trial-and-error indicates that you have to #define USE_KERNEL before using any system includes like #include <stdio.h>, as it appears they check for it. If you neglect to do this, you get cryptic "unresolved reference to __main" errors even when trying to build a library.
My program still doesn't work (one module is raising hundreds of "too far for size-two reloc" linker errors) but I think that's because the module is >64K and needs to be split up more, which is my own fault and a problem for tomorrow.
Do I know anyone who does #ti92 or #ti89 TI calculator homebrew development? The gcc toolchain is giving me some very specific problems when creating libraries for use under PreOs, and maybe someone else has already encountered and moved past this. #retrocomputing #ticalc