1. 5
  1.  

  2. 3

    I wasn’t able to/would not pull up Facebook at work. So, I found a pastebin of the source code (via that other news aggregator site). (I haven’t confirmed that this contains the same contents as the original post.)

    Per somebody’s suggestion, I tried loading it up in Vintage BASIC (I chose the “Generic Linux (Intel, 64-bit)” version).

    After altering the first few REM lines (no multi-line REMs allowed in Vintage Basic?), the interpreter made it all the way to line 4500 (of the BASIC program, not the file) before crapping out with this error:

    !SYNTAX ERROR IN LINE 4500, COLUMN 54
     UNEXPECTED '#'
     EXPECTING LEGAL BASIC CHARACTER
    

    Ok… The issue seems to be PRINT#-1, which must be some idiomatic TRS-80 basic. Sure enough, in this old TRS-80 manual (wrong model?) we see the PRINT# command, where # is followed by the number of a file that we previously OPEN‘d. It doesn’t say anything about negative numbers, though. And this program does not CONTAIN any OPEN statement.

    My path ends here. Note that there’s probably some TRS-80 BASIC interpreter out there and I coulda started with that instead..

    1. 3

      PRINT#-1 may be to a printer. On the TRS-80 Color Computer, PRINT#-2 would output to the printer and PRINT#-1 would output to the cassette.

    2. 1

      Two letter variable names. Line numbers. No indenting. Nirvana.