@SDF I love how an UNIX server from the 80s is providing super modern services like Minecraft and Pixelfed. You're great!
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
@SDF thanks so much for making this possible! Tried it today and had some fun with BASIC! 😻
OK not the most sophisticated code (and I had to remember how to write proper "old school" BASIC), but according to that date I would only be 7 😆
The tutorial has been updated and expanded - enjoy!
A #mastodon exclusive! You are invited to play on a *REAL* PDP-8/e running the TSS/8 monitor (TimeSharing System 8) pictured here. There is a user contributed tutorial here:
To connect, ssh email@example.com
If you are unable to connect that means all 6 (yes, just 6) lines are in use. Remember, this is real hardware and there is NO EMULATION happening. It is the real deal! Enjoy!
sorry to import this from twitter, but this was really just so very cool to meet Jane of Nybbles and Bytes:
"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