@DrDavesDiversions
  @DrDavesDiversions
Dr. Daves Diversions | No BS: the First UNIX BASIC! @DrDavesDiversions | Uploaded January 2021 | Updated October 2024, 3 hours ago.
In this video we go back to the 1970s exploring Ken Thompson's BASIC dialect: the bas command in "ancient" Research UNIX. We show how to run the 7th Edition of UNIX on SimH (pdp-11 simulator) on Sanos on qemu on macOS and then have a try at programming with bas!

00:00 intro
03:35 getting 7th Edition of UNIX up and running under a pdp-11 simulator
06:40 running bas interactively
07:52 programs in bas
08:12 99 bottles: goto method
10:36 99 bottles: for loop method
12:30 99 bottles: function method
15:33 summary and what's next

bas man page (v7 UNIX)
unix.com/man-page/v7/1/bas

99 bottles of bas (goto method)
pastebin.com/YKwmLmZi

99 bottles of bas (for loop method)
pastebin.com/6DWTugrQ

99 bottles of bas (functions method)
pastebin.com/SrwdPvp5

99 Bottles of Beer
(99 Bottles of Beer site seems to be down, so this is an archived version:)
web.archive.org/web/20200303035649/99-bottles-of-beer.net

VCF East 2019 -- Brian Kernighan interviews Ken Thompson
youtube.com/watch?v=EY6q5dv_B-o

Sanos PDP-11 Simulator with UNIX V7
http://www.jbox.dk/sanos/pdp11.htm

Michael Ringgaard's web site:
http://www.jbox.dk/

"A Research UNIX Reader: Annotated Excerpts from the Programmer’s Manual, 1971-1986" by M. Douglas McIlroy
https://www.cs.dartmouth.edu/~doug/reader.pdf

These images used by permission of Faces of Open Source / Peter Adams ( peteradamsphoto.com ):
facesofopensource.com/ken-thompson-3
facesofopensource.com/doug-mcilroy

bas source code from v7 (Thanks to Clem Cole):
minnie.tuhs.org/cgi-bin/utree.pl?file=V7/usr/src/cmd/bas

bas source code (PDP-11 assembler, files: bas0.s, bas1.s):
code.google.com/archive/p/unix-jun72/downloads (svntree)

Here's the source distribution of an *unrelated* BASIC called "Bas":
moria.de/~michael/bas
No BS: the First UNIX BASIC!C64 issue with Keelog power supply high AC output voltage#DOScember  x86 asm & Amiga Bridgeboard - part 1 (my intro to DOS)VCF Midwest almost here; Kenmore Washing Machine Fix!Playing with the 1976 Fairchild Channel F at VCF Midwest! #VCFMW #VCFMW2022Fixing Commodore 64 problems I didnt know I hadCap Clip Mod for Smoke Daddy Cold SmokerHoneywell Radiator Circuit Board Repair and Fault DeterminationOuttake: SD XMDZ DC-DC boost module temperatureMy favorite things at VCF Midwest!AmigaBASIC Lissajous figure #shortsPie Rework: decorating meringue #shorts

No BS: the First UNIX BASIC! @DrDavesDiversions

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER