all 51 comments

sorted by: hot top controversial new old
[–] [S] 98 points 1 day ago (8 children)

I came across a nice little preservation story that I couldn't resist writing about!

Back around 1980, Canadian university student Steven McDowell created an air traffic control simulation for the Commodore SuperPET, written in Waterloo microAPL. He thought the program had been lost forever, until more than forty years later, when he discovered three and a half pages of its original source code printed on old dot-matrix paper. Instead of just archiving the listing, he painstakingly typed it back into an emulator and spent around 40 hours debugging and reconstructing the software until the little aircraft were flying again!

Nice example of how easily early computing history could disappear, and how something as ordinary as a few surviving sheets of paper can bring it back. I've written a tiny little article about McDowell, the unusual SuperPET and the recovery of his program. Hope you enjoy it!

  • source
  • hideshow 8 child comments
  • [–] 4 points 1 day ago (2 children)

    How could it fit in 3.5 pages?

  • source
  • parent
  • hideshow 2 child comments
  • [–] 0 points 21 hours ago (3 children)

    he painstakingly typed it back into an emulator

    Hadn't heard of OCR then?

  • source
  • parent
  • hideshow 3 child comments
  • [–] 4 points 11 hours ago

    Hadn’t heard of OCR then?

    You're missing the part where typing in code from a printed page was part of the ritual of the day. He didn't just want the code in the computer, he wanted to recreate a core memory of his youth.

  • source
  • parent
  • [–] 50 points 1 day ago (8 children)

    There was an Apple ][ magazine that printed a program in hex each month. Pages and pages to type in. Get it all right and you had yourself a new program. Taught you patience if nothing else.

  • source
  • hideshow 8 child comments
  • [–] 26 points 1 day ago

    There were multiple magazines like that for all the various 8-bits. I have a stack of old Compute!'s Gazettes that have both BASIC type-ins as well as hexadecimal listings. And I spent hours typing those in back in the day.

    I liked the BASIC ones better because they were easier to modify on the fly or after the fact. Once you'd typed in a few programs it was hard to not read and understand the program rather than just copy it.

    The hex ones were more difficult, but it was often possible to pick out well-known memory addresses and opcodes giving the potential to know what and where to POKE to make subtle changes later on.

    The really good listings came with a checksum program that you typed in first (once, then saved to disk or tape for future use), or even a dedicated hex editor with checksum, so that it would pick up mistakes. Not where. Only that the line you typed must have an error in it.

  • source
  • parent
  • [–] 8 points 1 day ago* (last edited 1 day ago)

    I did that a lot.. and I printed my code on sheets of paper; I just feel weird reading OP article.

    Edit ( because I also printed out sheets of paper with my programs from the commodore64).

  • source
  • parent
  • [–] 5 points 17 hours ago (1 child)

    Oh ya. Waiting for the school to open at 7am. We reserved time slots to use the Apple 2 ( the only school in the city to have a computer ) to type in those programs. First it was tape, then floppies.

    I'll be retiring I.T. in a couple of years LOL

  • source
  • parent
  • hideshow 1 child comment
  • [–] 3 points 15 hours ago

    My 9th grade programming class had a bunch of Apple IIe computers. They were great for the time, I guess. I spent most of the semester recreating the Battlezone arcade game on it, while the rest of the class struggled to get a key-driven menu working.

  • source
  • parent
  • [–] 4 points 1 day ago (3 children)

    In hex? But when you type a character, it isn’t the hex value? Or was there a special keypad used?

    I’d really love for someone to find a way to add hexadecimal keypad for these IPv6 addresses though.

  • source
  • parent
  • hideshow 3 child comments
  • [–] 5 points 1 day ago*

    I guarantee that multiple companies make a hex keypad.

    If you mean for the Apple II, that's far less likely, but I'm sure someone hacked one together. Should be easy to do these days, though.

  • source
  • parent
  • [–] 3 points 19 hours ago

    There were some basic programs in these magazines that had some data sections in raw hex, but only part of the program. And weren't common.

    I really doubt they were magazines that focused on entering literal binary blobs

  • source
  • parent
  • [–] 31 points 1 day ago

    Huh, maybe the FAA could upgrade to this!

  • source
  • [–] 36 points 20 hours ago (19 children)

    Back in those days, DJ played Spectrum game on the air. I taped the game on Cassette and after that played the game. Don't remember which game was.

  • source
  • hideshow 19 child comments
  • [–] 9 points 19 hours ago (18 children)
  • [–] 33 points 19 hours ago (5 children)

    We used to load computer games from a cassette tape. You could copy games with a back 2 back tape deck / ghetto blaster.

    If you played the screechy computer noises over the airwaves someone could record the game off the radio.

    N.B. I’m not OP

  • source
  • parent
  • hideshow 5 child comments
  • [–] 7 points 15 hours ago (3 children)

    My friend had a VIC-20 but without the tape drive (which was optional). We would have to type a game (written in BASIC) into the computer before we could play it. My friend would try and leave the machine on as long as possible so we didn't have to keep retyping it, but his mom always turned it off at night. For whatever it's worth, that kind of shit really teaches you accuracy.

  • source
  • parent
  • hideshow 3 child comments
  • [–] 2 points 11 hours ago (1 child)

    We would get really deep into a game of Zork, and because there as no savepoints, we just turned off the monitor and came back to it later. Leaving our C64 on that long may have contributed to the power supply dying prematurely. My mom was also using the C64 to write her master's thesis. Sorry mom.

  • source
  • parent
  • hideshow 1 child comment
  • [–] 1 point 11 hours ago

    These sort of plights are what made computers what they are today. Now they are mostly consumer devices and there isn't any scarcity for what those people want to consume so they never learn more about the device

  • source
  • parent
  • [–] 19 points 19 hours ago (7 children)

    They used to broadcast code on FM radio.

    Listeners could record it to tape and insert the tape in the computer's tape drive to run the code.

  • source
  • parent
  • hideshow 7 child comments
  • [–] 7 points 18 hours ago (4 children)

    Considering the lack of paity, error correction.imdo, it's pretty amazing that worked at all, ever. Even at those low bit rates.

  • source
  • parent
  • hideshow 4 child comments
  • [–] 13 points 17 hours ago (1 child)

    The most common tape formats did use a parity bit, and the data was doubled, so that it could attempt to correct it if an error occurred.

    The signal was coded as pulse-width modulation, so the amplitude didn't matter much as long as the zero crossings were timed within an acceptable threshold. I don't know the exact width of these pulses, but it worked fine when copying a tape at double speed or more.

  • source
  • parent
  • hideshow 1 child comment
  • [–] 4 points 18 hours ago

    ZX Spectrum tape file format had a 'checksum' at the end of each block, which was just an XOR of all the bytes in the block, basically parity. Lead to a whole pile of R Tape loading error messages when your tapes were going a bit dodgy. CPU probably wasn't fast enough to read the tape and do error correction at the same time.

    Describing the data rate as 'low' kind of understates it. Averages 170 bytes per second. A ZX Spectrum 128K game that took up the entire memory could take nearly 13 minutes to load.

    https://sinclair.wiki.zxnet.co.uk/wiki/Spectrum_tape_interface#Blocks

  • source
  • parent
  • [–] 7 points 12 hours ago (3 children)

    Computer code was translated into audio. That audio was then broadcast over regular radio used for music and news. If you had a cassette recorder and a blank cassette, you could simply record the sound coming out of the speakers of a radio. You then put this recorded cassette into a cassette tape player connected by a wire to your computer so the computer would hear the cassette play. You run a special command on the computer so it starts listening, you press play on the tape and the computer will translate the recorded audio back to computer code. You could then run that program.

  • source
  • parent
  • hideshow 3 child comments
  • [–] 2 points 11 hours ago

    If you're familiar with the 56k modem connection song, that's a similar principle. The telephone line is analog but digital content can be encoded in analog using a DAC, at which point it's can be interpreted as an audio signal and played through a speaker.

    The sound itself was just data (training patterns, not the actual data of interest, that gets transmitted after the "song") being encoded at a faster and faster rate, and it would select the fastest speed it could transmit data at reliably along the line. The "song" would progress further the higher the speed it could communicate reliably with the other side, or it might go back and repeat a section because it could negotiate phase (and other parameters) as well as bitrate, which might improve the line reliability, but it still needed to see that test pattern come through cleanly before it would accept a rate.

  • source
  • parent
  • [–] 13 points 1 day ago (1 child)
  • [–] 8 points 1 day ago

    My first computer, and it was an antique by the time I had it. The disks were like the size of a dinner plate.

  • source
  • [–] 12 points 20 hours ago (4 children)

    Yeah? Like, isn't this how it usually goes with Commodore? I don't own one but from i've read, typing the program off was how you usually did things on it.

  • source
  • hideshow 4 child comments
  • [–] 2 points 16 hours ago* (2 children)

    It was one option for the home computers of that era, but not the only one. You could buy software on cassette tape, 5 1/4" floppy, or (for the Commodore 64 and VIC-20, anyway) cartridges similar to those used by game consoles of the same era. I'm not sure that some people I knew who had C-64s ever typed a listing into them or knew any commands except for those for tape and floppy access.

  • source
  • parent
  • hideshow 2 child comments
  • [–] 1 point 15 hours ago (1 child)

    I had some commodore 64 books that had programs I "wrote" from the book. Silly games but fun to learn to write when I was a kid. Also had purchased and BBS origin games

  • source
  • parent
  • hideshow 1 child comment
  • [–] 2 points 15 hours ago

    I had an atari 130XE, parents didn't spring for the disk or tape, I had some carts and a book with some sample programs.

    We typed the Big Bang sample into memory for 3 hours. it made a graphical representation of the big bang over 15 seconds.

    it was kinda neat, but honestly underwhelming.

  • source
  • parent
  • [–] 4 points 7 hours ago

    Urgh, I relate to the majority of comments in this thread and I think it's time I schedule that colonoscopy...

  • source
  • [–] 5 points 1 day ago (1 child)

    Yes, of course it does. Why wouldn't it?

  • source
  • hideshow 1 child comment
  • [+] 2 points 12 hours ago
    [removed by mod]
  • source
  • 13 comments in c/retrogaming@lemmy.world view that post
    [–] 37 points 1 day ago (10 children)

    Typed it in Spent 40 hours debugging

    Yeah, that's how I remember my days typing programs in from magazines and books back in the 80's and 90's.

  • source
  • hideshow 10 child comments
  • [–] 13 points 1 day ago (3 children)

    Yeah it was a pain, especially the ones that were basically bunch of POKEs written as series of numbers.

    Make one mistake and good luck figuring out which number(s) are wrong.

    I especially remember one where the author added a checksum for each line, such a simple thing, and what a lifesaver.

  • source
  • parent
  • hideshow 3 child comments
  • [–] 6 points 23 hours ago* (last edited 20 hours ago) (2 children)

    Lol. Did you ever do the MAD magazine one? Short draw line program and several hundred lines of (x1,y1), (x2,y2) pairs, only to draw a very familiar image. Good times.

  • source
  • parent
  • hideshow 2 child comments
  • [–] 2 points 12 hours ago

    Wonder what else can be programmed from a paper printout...

  • source
  • [–] 1 point 7 hours ago

    printing didn't necessarily preserve everything, strings of petscii could be used to store binary data for machine language in a string rather than as comma separated numbers, and not all string characters printed a discernible character, eg: (shift-space)

  • source