monotron
monotron copied to clipboard
Add a programming language
Ideally you would be able to write a game or other application on the Monotron, using the keyboard (or UART input) and without changing the contents of Flash. But what programming language?
- BASIC
- PicoC
- Lua
- MicroPython?
- Monkey
- Something else?
The Flash ROM should provide generic routines (like put_character_on_screen) through a Software Interrupt (SWI) system.
We don't really have the RAM to edit decent sized functions so we need a language we can tokenize / convert to byte code on a line-by-line basis, just like BASIC.
Rhai is an option, but the syntax might need a little tweaking to make it line based.
BBC Basic has some nice assembler support and plenty of examples.
We could also take BASIC and improve it a bit, with arrays and hashes, etc.
Ported TinyBasic.
Ported a 6502 emulator and Microsoft Enhanced BASIC.