If you are of a certain age, your first exposure to computer programming was probably BASIC. For a few years, there were few cheaper ways to program in BASIC than the Sinclair ZX series of computers. If you long for those days, you might find the 1980-something variant of BASIC a little limiting. Or you could use SpecBasic from [Paul Dunn].
SpecBasic is apparently reasonably compatible with the Spectrum, but lets you use your better hardware. For example, instead of a 256×192 8-color screen, SpecBas accommodates larger screens and up to 256 colors. However, that does lead to certain incompatibilities that you can read about in the project’s README file.
The README also has instructions for configuring the system to use larger fonts which may help readability on large monitors. There’s also a file full of demos you’ll probably want to look at.
While learning 1980-era BASIC today isn’t much of a career move, we do think that learning simple programming concepts in a simple uncluttered environment that is very interactive isn’t a bad thing. After all, it worked for an entire generation of developers.
If you prefer your BASIC coding on the Web, that’s possible. Or, maybe you just want something more modern.
But if you’re of a different certain age, you started with machine language, because your computer didn’t have BASIC in ROM, and the 1K of RAM couldn’t fit an interpreter.
You had no assembler, or room for it, so you had to hand assemble the code.
When you could use BASIC, you skipped it, having started elsewhere.
… and if you’re of a certain age, there was no such thing as machine language, the “program” was encoded in the wires that ran from socket-to-socket in the patch panel.
And if you are of a certain age you WERE the computer & the best you had was a book of log tables & possibly a mechanical adding machine
And if you were of a certain age before that, you would have to go around your neighbourhood collecting femurs for your homebrew Napier’s bones, which is where the term Hacker originates.
And if you were of a certain age before that, you were a single celled prokaryote floating around in the primordial ooze with no concept of, well, anything.
That was a fun thread…
https://dilbert.com/strip/1992-09-08
I started in ZX Spectrum basic, it’s nice to have something out of a box. After mandatory snake, pong, whatever in basic … it’s gets reduced to a single line that starts machine code anyways.
There were also hex loaders written in basic, with which you would type in, load and execute your previously manually on-paper assembled and linked machine code.
1k RAM?
No assembler?
You forgot to mention the debugger keyboard and the 8 digit 7 segment display?
;-)
At least that was what my SC/MP had attached in a certain past…
The KIM-1 had only four readouts, but yes, the built in monitor made things so easy.
Yeah, I’m actually of that age ;) 1K? I had 256 bytes on my Elf until I wirewrapped an 8K board.
Then you could run Tom Pittman’s Tiny BASIC or CHIP-8.
Although the ZX81 did manage to run a BASIC interpreter in 1K of RAM.
The BASIC was in a 4K ROM, if I recall. I built mine from a kit, as it was $99 when they first came out. No long after Timex/Sinclair’s were sold at department stores.
You got 1K of memory for your program, unless you splurged for the Memotek 32K memory. I opted for their as opposed to the Sinclair 16l because it preserved the I/O connector.
Within a year I had a C64, so I have all the memory I’d ever need. Or so I thought at the time.
Yeah, although you could do very little with the 1K RAM. I had a 16K RAM expansion pack, complete with RAM wobble nightmares.
Later I would also got a 6502 base machine, the BBC Micro Model B. BBC Basic is probably my favorite implementation (also Archimedes version many years later) of Basic.
I would prefer QL’s SuperBasic, today maybe under SMSQ/E
The clever thing about Sinclair BASIC was that it offloaded the tokenisation onto the user. So finding which of the 5 actions per key, and what combination of shifts might get you that ‘word’ was the game. Then the legends started rubbing off the ‘keyboard’…
… and if you’re of a certain age, your (mini) computer was the length of your garage! Really – mine was in 1977 :)
and yes, there were those patch panel programmed ones. Fortunately I just missed them. But I did witness entering bootstrap machine code using an ASR33 so the Univac would read a program from punched cards.
I really do not miss the ASR’s decibels…
Basic is cool https://youtu.be/cqUHpq565FA
PowerBasic is pretty neat, but it is from the 90’s, I guess.
Hmm, this feels more like one of those Fantasy Consoles nowadays. Cool!
QB64 works on Linux, Mac and Windows. It’s a compiler too …
Yes, but it can’t access things like the serial or parallel port.
By comparison Quick Basic 4.5 can do that, if you’re running it in a DOS VM in Virtual PC 2007, for example.
PDS Basic 7.1 or Visual Basic for DOS (VBDOS) can do that, too.
So it “emulates” features of the ZX Spectrum.. Does it run on Win32s ?
– I’m asking, because I’m collecting emulators for Win16/Win32s.
From what i can get its written in Borland Pascal, if you can get a copy of that running on a 95 box you could be lucky.
It’s not an emulator – it doesn’t inherit any of the hardware shortcomings of the Spectrum, though it’s limited to 256 colours per window. It’s just a toy for playing with Sinclair BASIC in.
It’s written in Delphi, but should build in FPC with little modification. If you want emulators you can look at my older projects – ZXSpin and BASin.
It’s cool. Looks like it’s the way to put life into best meme ever: “jQuery? Why not assembler ?”