Skip to main content


I was gonna wait until next year (prob Jan-Mar) to do TinyBasicWeb L2.

But I was in the mood to do some toys that need arrays. "I'll just hack in arrays today!"

Well, yes. But now I need to actually represent expressions instead of *dubious runtime hack*, and it has bit me in the ass.

It's fine. I've got coffee.
#basic #retrocomputing #cyberhole

in reply to Digital Mark λ ☕️ 🕹 👽

The lack of FOR/NEXT is really starting to make my life difficult. I can do IF THEN GOTO, but uuuuuugh.
in reply to Digital Mark λ ☕️ 🕹 👽

About 2/3 done with a "robots" game in TinyBasicWeb. It's pretty solid, tho I keep filling the Safari console with debug shit and then I have to restart it. Doesn't happen in prod.
#basic #retrocomputing #cyberhole
in reply to Digital Mark λ ☕️ 🕹 👽

Adding INC & DEC commands, which make pseudo-FOR/NEXT loops a little less hideous,
INC I
instead of
LET I=(I+1)

I just don't feel like dealing with a control stack and all the stupid shit people do breaking out of loops in BASIC.

Gonna finish robots.bas, tho. And maybe do a "graphics" (lo-rez) command or two? MAYBE!
#basic #retrocomputing #cyberhole

in reply to Digital Mark λ ☕️ 🕹 👽

I now have a majority of BASIC functions in TinyBasicWeb

IN THE CYBER HOLE
cyberhole.online/basic/

LOAD "testfunc.bas"
LIST
RUN
to see them in use.

My version of "10 PRINT" is now shorter in the operational bit, and like 10x faster because of it, but I still need to count chars and INPUT since there's no "break" key.

LOAD "tenprint.bas"
LIST
RUN

#basic #retrocomputing #cyberhole

in reply to Digital Mark λ ☕️ 🕹 👽

Protip: Reporting bugs against JS/HTML rendering (or logic) in Firefox is fairly pointless.

en.wikipedia.org/wiki/Usage_sh…
It's down below 2.5%, lower than MS Edge. Chrome and Safari are the present.

I won't install AI slop machines on my computer, and they've been heading that way for years, and are all-in now. The bad guys won a long time ago.

Install degoogled Chromium, if you don't have Safari. There's probably some other sane options. (NO, not Brendan Eich's "Brave").

#firefox #protip

in reply to Digital Mark λ ☕️ 🕹 👽

Case in point, I'm adding the character-demi-graphics ONLY (no plotting, etc.), like TRS-80 "low-rez graphics".

Fixed a color display bug in terminal, fine.

But the pixel graphics characters can't quite be coerced into filling cells, and are even more off in Chromium, and worse in unsupported Firefox. So I gotta special-case those in rendering.

The web's a hell of a pain in the ass of a medium.
#basic #retrocomputing #cyberhole

in reply to Digital Mark λ ☕️ 🕹 👽

You can now PRINT AT, TAB, COLOR, LOC, and PIX$, and CLS in colors!

IN THE CYBER HOLE
cyberhole.online/basic/

LOAD "testcolor.bas"
LIST
RUN

I don't have energy to make a matrix program but it'd be doable with the tools there. Probably needs a PAUSE command to slow it down to readable, but you could do a busy-wait FOR loop. Currently every redraw of testcolor.bas takes <0.1s.

#basic #retrocomputing #cyberhole

in reply to Digital Mark λ ☕️ 🕹 👽

And now PAUSE and INKEY$ complete the graphics/interface parts

OF THE CYBER HOLE
cyberhole.online/basic/?run=ma…

You can hit ESC to escape the Matrix.

If you replace line 300 with 305, you can get mostly Chinese but also a lot of crap that doesn't render well. I need to make it pick from a few more practical ranges.

(yes, I know my Matriculated Rain looks a little different from the movie thing, but you can't do the streaky effect in chars with 2 "greens").
#basic #retrocomputing #cyberhole

reshared this

in reply to Digital Mark λ ☕️ 🕹 👽

retro unicode is great idea. Like... alternative universe, in which we have CP/M, but with UTF-8 support.

It would be really interesting to have cellphone running CP/M. It would confuse lot of surveillance infrastructure...

in reply to Digital Mark λ ☕️ 🕹 👽

I appreciate your effor in the same way, as some medieval weaponry cosplay ;-)

Returning to Basic is like... I don't know, rebuilding medieval city, including eg. using the streets as sewers. Also, real torture is involved. Impressive!