4 ms·
It's amazing how powerful and diverse the BASIC scene was when it was hot. Today we think of BASIC as a kid's toy. But people did some really quite serious he
by reaperducer 8y ago
It's amazing how powerful and diverse the BASIC scene was when it was hot. Today we think of BASIC as a kid's toy. But people did some really quite serious heavy lifting with it in the 80's.
Canon's BASIC for its 6809-based system was almost on par with FORTRAN in many ways.
It also had fraction, rounding, modulus, min and max functions. And even named program segments. Like this example from the July, 1982 issue of Byte:
10 FOR I=1 TO 100
20 N=N+1
30 IF N>2000 GOTO [FINIS]
40 NEXT I
50 [FINIS] PRINT I: END
You could save a screenshot with the SAVECRT% command, and then load screenshots directly back into video memory with LOADCRT%.
You could also conserve memory space by keeping portions of your program on disk and it would load them on the fly. Kind of like today's function() calls, except each function would be its own file on the floppy. You could even pass variables between the main loop and floppy-based functions very easily.
- downut 8y agoLikewise the HP-9845. I was a co-op at General Electric's Wilmington NC nuclear fuels plant in '83 - '84 (think $$$ floating around), and taught myself how to program the thing. Over the course of 9 months in 3 month stints, I wrote 10,000s of LOC taking radiological data and generating contour plots of the sampled radioactivity throughout the plant, and sent HPGL plots to this fantastic plotter. All higher level algorithms I coded by hand but the scientific and graphics (2D) libraries were solid. There must have been some, but I don't recall ever spending more than 5 min on a bug, my own, or in the system. A profoundly deep pleasure it was to work on that system. Only ever exceeded by turbo-pascal. This was back in the days where an undergraduate could work alternating quarters and entirely pay for a BS at Georgia Tech, out-of-state. Not all things progress over time. All that said, I will live in C++17++/cmake/emacs till the day I die. Even though cmake is hideous (but does work) and hey what is that glitch in emacs about?
- reaperducer 8y agoFunny you should mention emacs. Nothing so fancy on the CX-1. But it was lauded because its BASIC editor was similar to ed!
- downut 8y agoBut of course there was no emacs on the HP-9845. The integrated editor was "just there". I had no idea you could do things differently, and it was just perfect, for my brain, at that time.
- lokedhs 8y agoThe BASIC implementation on the CDC 6700 behaves almost identical to the much later BASIC implementations on the 8-bit micros such as the Commodore 64. I'm assuming that this implementation was used for real work, as I doubt the CDC 6700 was used for playing around with.