Login
You're viewing the code4lib.social public feed.
  • May 27, 2025, 1:17 PM

    @TwoThousandStu LOL you would mention 6502 assembly language. I've been dabblling in 6502 assembly for a few years now since that's the processor the Apple II line of computers uses. And yet, I doubt I could write such a program given my current knowledge. My half-asleep brain at first thought, "Yeah, just store the text of the play in memory, then have a loop load each byte into the accumulator and JSR to $FDED which is the Apple's Cout routine to print a character to the screen." But then I got to thinking, "No that won't work, you have to deal with word wrap, waiting for a keypress after every screen so the user can actually read the text, and I bet the play's too big to fit into 48K of RAM so we have to either use DOS to load files from disk or have a custom formatted disk and load the text directly from disk."

    💬 0🔄 0⭐ 0