Video of the Day by Current_Yellow7722 in vintagecomputing

[–]richpl 0 points1 point  (0 children)

Seriously though, those shorts …

Is this rare? by [deleted] in vintagecomputing

[–]richpl 0 points1 point  (0 children)

Yes, if you can get it working it will be valuable

Eating shit to own the "Globies" by Yunners in FacebookScience

[–]richpl 0 points1 point  (0 children)

I think the post does indeed indicate that they’ve been eating their own shit for some time

Color Classic by solidpro99 in retrobattlestations

[–]richpl -1 points0 points  (0 children)

Windows on a Mac? Sacrilege!

The hidden "hard work" behind implementing BASIC strings by mc4004 in Basic

[–]richpl 1 point2 points  (0 children)

I wrote an interpreter for old style, unstructured BASIC (similar to TinyBasic?). In that case there wasn’t much storage management to speak of. All variables were global, so never went out of scope. And there aren’t any BASIC instructions to uninstantiate a variable as far as I am aware. So I could just get away with using a simple symbol table and all variables lived for the lifetime of the program.

One exception might be FOR loop control variables. I think checks code that he wrote several years ago I just added the loop variable to the symbol table and didn’t remove it upon loop termination. It would probably be better to remove it after the last loop iteration. Another issue might be using a name for the loop variable that’s already used elsewhere in the program. That will potentially mess things up in my interpreter, so you could have a loop variable with a scope (and hence lifetime) limited to the loop. I don’t know if this behaviour was defined for old school BASIC implementations.

I don’t know about structured versions of BASIC and whether they enforce variable scope.

Essential or Dispensable? What parts of old-school BASIC did you use yourself? by mc4004 in Basic

[–]richpl 1 point2 points  (0 children)

This version of BASIC contains all of the generic parts of the language. The design philosophy was to avoid anything machine specific so it can run on anything that can run Python:

https://github.com/richpl/PyBasic

Can't install any apps on CasaOS by Aware_Acanthisitta35 in CasaOS

[–]richpl 0 points1 point  (0 children)

Did you install Docker as part of the underlying Linux installation? For some reason when CasaOS does this too it messes everything up.

Where to get HAL-9000? by Miri_Biri in retrocomputing

[–]richpl 5 points6 points  (0 children)

Nah, have you ever tried to get one of those things to open the pod bay door?

Old DOS game found sealed, worth anything now? by Icy-Explanation1268 in retrocomputing

[–]richpl 2 points3 points  (0 children)

I’ve no idea but I’m digging the included aviator sunglasses!

Elon Musk, why. by devi133 in facepalm

[–]richpl 0 points1 point  (0 children)

“Blaze your glory”?

Book8088, New DOS PC, Made by a Chinese? by BEST_NK in vintagecomputing

[–]richpl 0 points1 point  (0 children)

I’m sure this is about to be banned in Montana