points by jacquesm 4 days ago | 0 comments
Interesting. Back in the day there were some pretty good BASIC implementations that were still quite small. The whole of the MOS and BASIC on the BBC micro ran in 16+16K. That should be portable to the Arduino, but it has only a little bit of RAM. With $2 more you have a RPi Pico which would be a massive step up in terms of hardware (ok, one AD channel less), clock speed and RAM size. You could probably run a fairly large high level language in there.
[–] reaperducer 4 days ago
[–] jacquesm 4 days ago
Yes, but BBC Basic was on a completely different level language wise. It even had a built in assembler and allowed the creation of structured programs with named functions and procedures.
You can get BASIC down much smaller than that. I'm pretty sure there were some that were 3K or less to run on KIM, 4004, and similar machines.
I have a memory of an 8008 or 8080 version that was 3K, leaving 1K of RAM for programs.