@SDF I love how an UNIX server from the 80s is providing super modern services like Minecraft and Pixelfed. You're great!
"Loopy Engagement" with the Hoary Marmot
coming up next on aNONradio.net
in 5 minutes!
Pls tune in:
Success! Assembling #PDP8 assembly and running machine code under #TSS8 is not as bad as I thought. I just misunderstood the EDIT commands before. For posterity's sake (and for the sake of anyone who wants to try it for themselves), log in to @SDF 's TSS8 machine, and:
1. "R EDIT" to run the text editor. Leave "INPUT" blank and select an output filename. Enter "A" (for append mode). Type your assembly source (see Wikipedia's PDP-8 page for an example). Hit Ctrl-C to exit edit mode. Enter "P" (to "proceed" with saving). Enter "T" (to "terminate" and close the output file). You should end up back at the TSS8 monitor prompt.
2. "R PALD" and choose your input file and a new filename for an output file. Leave "OPTION" blank.
3. "R LOADER" and choose the output file from step 2. This will load your machine code into memory.
4. "START 0200" (or whatever your program's entry point was)
Now to start playing around with the instruction set!
I used all of the BASIC knowledge I learned when I was 6 to write a simple number guessing game.
Get on the PDP-8 and run 'GUESS' to check it out~
Don't expect a work of art tho.
Fun fact: I had to add an RNG "mixing" stage because it turns out the PDP-8 doesn't have a clock seeded RNG.
Oh, that was you... I overwrote that program... but I'm sure it's simple enough to recreate.
This is what happened to me:
YOUR IMPACT CREATED A CRATER 870.9618 FEET DEEP.
AT CONTACT YOU WERE TRAVELING 3088.711 N.MILE/HR
"I appreciate SDF but it's a general-purpose server and the name doesn't make it obvious that it's about art." - Eugen Rochko