![]() ![]() Posted in Arduino Hacks Tagged arduino, basic, basic interpreter, c++, tiny BASIC Post navigation Right now, all we know is we’ll be spending the weekend digging through our copies of Dr. Tiny BASIC was originally conceived for the Altair 8800 that shipped with 256 bytes of RAM stock, so it seemed like a perfect fit. says he started this project to see how ‘old bearded ones’ conjured up so many impressive programs with a few kB of RAM. Not much, but more than the lowest-end BASIC Stamp. The BASIC interpreter eats up around 600 bytes in the Arduino RAM, leaving about 1.4 kB for BASIC code. ![]() Kernighan and Ritchie said themselves, “code involving a goto can alway be written without one” but found that using goto left a lot more room available for BASIC code. True to Tiny BASIC’s assembler roots, ’s C port makes extensive use of the “infinitely-abusable” goto statement. The code is meant to be a faithful port of Tiny BASIC for the 68000, and true to Tiny BASIC form, it fits in the very limited RAM of the Arduino. Sent in a project he’s been working on – a port of a BASIC interpreter that fits on an Arduino. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |