thejpster / monotron

A simple 8-bit home computer style application for the TI Tiva-C Launchpad
Apache License 2.0
192 stars 9 forks source link

Add a programming language #3

Open thejpster opened 6 years ago

thejpster commented 6 years ago

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?

The Flash ROM should provide generic routines (like put_character_on_screen) through a Software Interrupt (SWI) system.

thejpster commented 6 years ago

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.

thejpster commented 6 years ago

Ported TinyBasic.

thejpster commented 6 years ago

Ported a 6502 emulator and Microsoft Enhanced BASIC.