These scripts were written by my father in the 1980s, he was a middle school science teacher and wrote these to help him manage classrooms. I think it’s a cool example of the way personal computing changed life in that era; he was never a software engineer, just a guy that needed to automate some tedious work. I encoded the BAS files in utf8 so they are easier to read.
A bit tangential, but I had a chemistry teacher in high school (~2007) who I liked a lot, but was not super tech-savy. I was staying after class to get some help with a homework assignment, but we ended up chatting a bit because he was funny and very friendly. He mentioned how long grades took him to calculate because he had a lot of custom weighting for stuff, and he was doing everything with a Texas Instruments cal…
40-Year old BASICA utility code for teaching
31–40 of 40 posts
Re: 40-Year old BASICA utility code for teaching
#323.5" disks, nice. We were still on 5 1/4" in high school in 87-88.. True floppys! I remember thinking 3.5" hard disk - wow the technology :)
The rest of us had tapes.
And yes the high school computers were running MS-DOS 3.3, with two 5 1/4" drives and no hard disk.
Re: 40-Year old BASICA utility code for teaching
#33This is fascinating, thank you for preserving this work! Do you have more details on the machine used by your father to develop these utilities? what process did you follow to extract these from the 3.5mm floppy disk?
It's 3.5 inches, not millimeters :)
Re: 40-Year old BASICA utility code for teaching
#34Earlier quoted context omitted.
A bit tangential, but I had a chemistry teacher in high school (~2007) who I liked a lot, but was not super tech-savy. I was staying after class to get some help with a homework assignment, but we ended up chatting a bit because he was funny and very friendly. He mentioned how long grades took him to calculate because he had a lot of custom weighting for stuff, and he was doing everything with a Texas Instruments cal…
Spreadsheets are one of the best technological advancements in the past 100 years - and I'm not exaggerating. There is just so much you can do with them; they are probably the most accessible way for a human to access the power of CPUs and computation. For most problems, I'd rather use a spreadsheet than a general-purpose programming language, because the spreadsheet itself offers a quick away to leverage data struct…
They give you access to a lot of programming logic, they're visual, they're reactive, they're easy to learn, and maybe most importantly, the results are instant. Instead of having to try and understand data types and scope and having to run a program from scratch for every change, you can just change a value and see the result right away.
I use spreadsheets for nearly anything involving "numbers" (outside of stuff with lots and lots of data), because it's a lot less of a headache than setting up a "real" language. They're wonderful.
Re: 40-Year old BASICA utility code for teaching
#35Using DOS (obtained from W98SE) booted to its own FAT32 filesystem on a HDD, SSD or floppy if you got 'em.
Also works on Windows 10 32-bit if you enable NTVDM,reboot beforehand. In file manager double-click basica.exe in the original 204kb Program folder after unzipping. Doesn't need to be stored on FAT32 for this. Basica.exe doesn't launch from regular W10 command line, but can alternatively be launched using the Run routine from the Start menu though.
Re: 40-Year old BASICA utility code for teaching
#36GW-BASIC is open source and should presumably be able to run this code with possibly minimal changes. https://github.com/microsoft/GW-BASIC/
It should be able to run them without any changes. GW-BASIC was derived from BASICA and is functionally identical. BASICA required the cassette basic rom which shipped with IBM machines and GW-BASIC did not.
This BASICA.EXE is the full 79kb GW-Basic 3.22 copyright Microsoft 1983, 1984, 1985, 1986, 1987.
A different version I have been using for decades is 78kb and launches with a different text header: COMPAQ Personal Computer BASIC Version 3.31 copyright Compaq Computer Corp. 1982, 1988. Copyright Microsoft 1983, 1987.
Thought to be equivalent but doesn't say anything about GW-Basic on the Compaq one.
I use it to run a program I wrote decades ago to calculate caustic soda according to reporting standards that were already arcane at the time. And GW-Basic was the "new Basic platform" for the IBM PCs and compatibles that looked like they might be here to stay by about then, and beginning to show up in a number of offices. My code was originally written in 1980 on a Hewlett-Packard gas analyzer designed in the 1970's. Even though caustic has nothing to do with gas commodities I was so fortunate to have a benchtop Basic instrument I could do anything with, and caustic was just calculations.
Once PCs got more powerful and proliferated I waited a few more years before converting caustic code from HP-Basic to IBM-Basic. HP-Basic was two optional ROMs that cost $1500 you plugged into the instrument PCB. Early IBM-Basic was still ROM-based too, this is the one that was launched from DOS using the 4kb BASICA.COM (rather than basica.exe). So it's the basica.com (sometimes renamed to basica.exe !) that doesn't work when you try to run it, because it is really meant for the antique motherboard with the specific ROMs. If you have both basica.com and basica.exe in the same directory on the command line in DOS, and you type in just "BASICA" without the extension it will run the .com if present (and errorfail with Incorrect DOS Version) rather than the full executable.
In the late '80's once it looked like GW-Basic had good penetration, made the final tweaks to my code and ran it under DOS 5, DOS 6. Booted Win3.x and W9x to DOS whenever, and since NT5 just works in a Windows command instance as long as you don't try a 64-bit version of Windows.
Re: 40-Year old BASICA utility code for teaching
#37Earlier quoted context omitted.
It seems totally at odds with common sense. Now, every time you need to make some change across multiple branches you have to go through a lot of unnecessary pain.
I'm sure, for this historical-interest repository, that that will pose a real problem.
Re: 40-Year old BASICA utility code for teaching
#383.5" disks, nice. We were still on 5 1/4" in high school in 87-88.. True floppys! I remember thinking 3.5" hard disk - wow the technology :)
I was envious of a friend of mine with a ZX Spectrum +3A, with the builtin drive. The rest of us had tapes. And yes the high school computers were running MS-DOS 3.3, with two 5 1/4" drives and no hard disk.
I suspect you're thinking of the Amstrad Spectrum +2 (grey, largely the same as the Sinclair ZX Spectrum 128) vs Amstrad Spectrum +2A (black, contained a +3 motherboard minus the FDD controller, and less compatible with external peripherals).
Re: 40-Year old BASICA utility code for teaching
#39Earlier quoted context omitted.
It should be able to run them without any changes. GW-BASIC was derived from BASICA and is functionally identical. BASICA required the cassette basic rom which shipped with IBM machines and GW-BASIC did not.
A full version of BASICA.EXE is included in the Program folder with the zipped DOS .BAS program files if you download norton120's package. This BASICA.EXE is the full 79kb GW-Basic 3.22 copyright Microsoft 1983, 1984, 1985, 1986, 1987. A different version I have been using for decades is 78kb and launches with a different text header: COMPAQ Personal Computer BASIC Version 3.31 copyright Compaq Computer Corp. 1982, 1…
BASIC Advanced (BASICA) also required the presence of the cassette BASIC ROM. It added additional features above disk BASIC but required more memory. It was originally launched via basica.com. This eventually changed to basica.exe. At this time basica.com became just a launcher of basica.exe.
Non-IBM versions of MS-DOS, at least the versions targeted for PC clones, shipped with basic.com and basica.com being launchers for basica.exe. This is true at least as far back as Compaq DOS 1.10. Earlier versions of MS-DOS were branded by OEMs and included versions of GW-BASIC which didn’t make direct reference to GW-BASIC such as the Compaq example you gave. I have a Zenith Z-161 luggable in my collection and the Zenith version of MS-DOS it runs has a BASIC which is gw -basic but reports itself Zenith BASIC and simply includes Microsoft in the copyright notice.
Re: 40-Year old BASICA utility code for teaching
#40Earlier quoted context omitted.
I'm sure, for this historical-interest repository, that that will pose a real problem.
Well... yes? What if an another newer or older version of the code is found on a floppy or stack of printed code?
It seems like finding this version took at least half a miracle, so I feel like the potential and probably not too effortful reorganization of the repo to accommodate another is a problem worth leaving to be solved only once it's known to be worth taking the trouble.
For that matter, given manual reconciliation of two versions of very old, not previously version-controlled code would almost certainly be required anyway, the additional friction imposed by this repo structure very likely is net neutral in any case.