hi from usa
Posted: Mon Dec 07, 2020 1:12 am
Hello there,
Very interested in this project... I grew up on TRS 80 BASIC, Apple II LOGO, TI 99/4a BASIC, IBM PC BASICA, etc. There was something different about the design philosophy of those old machines. They were inviting you to come and play around with them down to the bare metal of the hardware itself. Totally different design philosophy than what happens today - except maybe in the Arduino/Raspberry Pi world.
Man its been a while since i wrote anything in BASIC....attached is Yet Another Mandlebrot Set program translated from Python to BASIC for Commander X16 emulator. Most of the lines ended up being REM comments. ... i tried to emulate functions in BASIC which was kind of funny. The user can pixelate easily by changing "SP' variable, for speed. and change the exploration point pretty easy too.
I guess i had a realization... BASIC was easy, for computers of that era... but.. maybe not as easy as some things nowdays. I grew up with BASIC (Donkey.bas, startrek.bas, all the BBS hits), but programming with it now, it feels like an interpreted assembly language, For example there is no "IF.. ELSE' control structure, functions can only have one argument... GOSUB cannot return a value... variable names have two letters only and it won't warn you on longer ones, GOTO is a pretty normal way to break a for loop, number lines are required...and to be honest I never really learned how to do things like arrays of data. wow. Just really different after using all these modern languages. Even QBASIC from the early 90s is very different than C64 Basic.
On the other hand, I do like the general lack of parenthesis, brackets, curly braces, back ticks, hash marks, dollar signs, exclamation points, massive dependency libraries, and so forth. There is still something nice about it's simplicity and small size and directness. And the fact the whole thing can be documented in a pretty small manual. It also neatly hides an impressive amount of mathematics floating point functions under a deceptively simple cover. As for the slowness... i had forgotten how it can be interesting to have something going so slow that you can actually see what it's doing. That can be kind of cool sometimes. Everything seems a bit more on the human scale. It kind of reminds me of the Mandelbrot set itself... something that comes from a very simple foundation, but if you explore it there is a whole world of interesting things.
I feel like maybe there is still some progress to be made on BASIC on an 8bit machine but I just don't know what it would look like exactly. Maybe something even easier than Basic while also maintaining the simplicity and immediacy of it, but also the low resource usage. I know some people like "Scratch".. not sure if thats ever been done with a tiny CPU though. Then there is MicroPython and Circuit Python. The PROG8 language looks very interesting but the compiler cannot be run inside the machine itself if i understand correctly.
anyways thanks.
m.bas