I also wish I could select from the completion list with Tab without typing more of the instruction, fish-style. I.e., you press Tab to go through completion 1, completion 2, ..., completion N, completion 1 again with Enter to confirm your pick.
The one thing I lamented about the Apple II Plus (vs. the original with Integer BASIC) was that to make room for autostart, they had to rip out the mini-assembler in the Monitor ROM. That was the closest thing I ever saw to an assembly-language REPL before this. At least they were able to keep the disassembler.
It's common in the C64 world to use freezer cartridges that allow you to interrupt normal operation and invoke a monitor program. These typically include rudimentary assemblers and disassemblers as well. Fun and useful for patching and reverse engineering!
Btw, I've only had a rough idea of how these are actually implemented, non-maskable interrupt something-something, and never knew how they make sure that the interrupt vector points to some persistent routine that can invoke the monitor. I found this great article explaining at least how The Final Cartridge 3 does it (in the first two sections): https://www.pagetable.com/282
There was another downside, that the Applesoft BASIC license gave Microsoft a hostage which they later used to kill https://en.wikipedia.org/wiki/MacBASIC. Hard to tell how much it mattered that the Mac came with no user programmability, which had been expected for PCs till then.
I remember being so confused, as a 10 y/o kid, trying to follow examples from an Apple II-era book on my public library's Apple IIe computers. I didn't understand why I couldn't get the mini assembler to work. The idea that features would be removed on future machines simply didn't occur to me. I guess I really didn't even understand that the IIe was a different machine than what the book was written for.
It makes sense that I didn't find it. Integer BASIC didn't make sense to 10 y/o me, either. I'd started with Applesoft, since it was in ROM, and Integer BASIC seemed needless and strange. I also didn't understand why "FP" was the command to get into Applesoft.
(These are yet more examples of situations where, if I'd had a mentor, I think I would have gone much further at a younger age.)
I got lucky and built a decent Apple II collection in the late 90s and early 2000's before their prices became ridiculous. I bought an enhanced IIe first because that was closest to the computer I grew up with. Later I got a 48K II+ and was able to experience that era of Apple II computing. To round out the collection I got a ROM03 IIgs and decked it out with a memory upgrade and a BMoW Floppy Emu. I never was particularly interested in the IIc so I opted not to get one.
My "white whale" machine was the Laser 128. A friend had one and I enjoyed using it. He'd bring it over to my house and hook it up to the TV. Having a portable computer in the late 80s, even if it wasn't battery powered and didn't have a screen, was pretty cool. I wish I'd bought it from him when he moved to PCs and sold it but at the time I didn't realize it was a good find.
Nice to hear your experience .. I myself have kept pretty much every system I’ve hacked on since 1978 in my personal collection[1] - or at least, where feasible. Anyway, it means about 50 years of computing history in my collection, which .. sooner or later .. I will have to turn over to others to maintain/use/do whatever, off into the future.
The great thing about these machines, actually, is that .. you can always find a new user for an old machine.
The 8-bit systems of today would give the 8-bit users of the decades past, positive conniptions at the mere concept that there are, pretty much every week or so, new releases for these ‘’ancient’’ systems ..
Actually, kids learning computers these days -definitely need to know more about ancient computers- as a positively directed purpose.
So, if you’ve got someone in your life who has the interest, all I can say is - crank out the old machine, turn it on, and do something fun/useful with it.
[1] Disclaimer: 40 years of computing, mostly in working order. Mostly missing the early things I bolted together myself in the outback HAM workshop where I first burned my fingers on building things ..
The BBC Micro and the Atom that came before it had an assembler built into BASIC. Just think, in the early 80s you could do inline assembly if your BASIC code wasn't fast enough...
13 year old me had a box of cassette tapes with index labels like "0 DEBUG", and "10 ASS", and "28 MEMHAK", "30 UNDEL", and so on, where the #'s were the position - on tape - of the little bundle of utilities I would auto-load as soon as I got home from school, while having dinner, etc. I spent days, dreaming of having a ROM burner to put all these things in the last (usable) 16k address space of things ..
Yes, I remember when this happened, it was a bummer .. but taught us the valuable lesson that the hardware manufacturer can give, but also take away. At least it kind of kicked off a tooling market ..
Incidentally, apropos onboard assemblies, in my retro collection I have a Commodore PC running an ancient DOS, and it is unique because of two reasons: it has DEBUG.com, and .. the machine is infected with one of the very early viruses of the era.
So, if you know the right path to take on boot, you can get the virus to infect things, under the debugger, and see it in action.
DEBUG.com was for me, a complete boon of a tool, so to speak, back in the day. It was just enough assembler/debugger to be able to do very effective things.
Anyway, Z80 REPL is delightful, I want a 6502 REPL now, and can't stop thinking about how to get one on the Atmos..
28 comments
[ 0.33 ms ] story [ 45.7 ms ] threadWith that said, I love the idea.
There was another downside, that the Applesoft BASIC license gave Microsoft a hostage which they later used to kill https://en.wikipedia.org/wiki/MacBASIC. Hard to tell how much it mattered that the Mac came with no user programmability, which had been expected for PCs till then.
(These are yet more examples of situations where, if I'd had a mentor, I think I would have gone much further at a younger age.)
In any case, Apple II simulators might be one way you can take another look at the subject, with wiser old eyes.
My "white whale" machine was the Laser 128. A friend had one and I enjoyed using it. He'd bring it over to my house and hook it up to the TV. Having a portable computer in the late 80s, even if it wasn't battery powered and didn't have a screen, was pretty cool. I wish I'd bought it from him when he moved to PCs and sold it but at the time I didn't realize it was a good find.
The great thing about these machines, actually, is that .. you can always find a new user for an old machine.
The 8-bit systems of today would give the 8-bit users of the decades past, positive conniptions at the mere concept that there are, pretty much every week or so, new releases for these ‘’ancient’’ systems ..
Actually, kids learning computers these days -definitely need to know more about ancient computers- as a positively directed purpose.
So, if you’ve got someone in your life who has the interest, all I can say is - crank out the old machine, turn it on, and do something fun/useful with it.
[1] Disclaimer: 40 years of computing, mostly in working order. Mostly missing the early things I bolted together myself in the outback HAM workshop where I first burned my fingers on building things ..
Incidentally, apropos onboard assemblies, in my retro collection I have a Commodore PC running an ancient DOS, and it is unique because of two reasons: it has DEBUG.com, and .. the machine is infected with one of the very early viruses of the era.
So, if you know the right path to take on boot, you can get the virus to infect things, under the debugger, and see it in action.
DEBUG.com was for me, a complete boon of a tool, so to speak, back in the day. It was just enough assembler/debugger to be able to do very effective things.
Anyway, Z80 REPL is delightful, I want a 6502 REPL now, and can't stop thinking about how to get one on the Atmos..
https://github.com/jhallen/exorsim