Login
You're viewing the functional.cafe public feed.
  • Nov 11, 2026, 6:01 AM
    retooted 4am ❧

    One of the secrets of fitting a modern, standards-compliant Z-machine interpreter in 64K is that we don't keep all of it in memory all at once. By this I mean two separate things: 1) once we determine what Z-version the game is, we can throw away a bunch of code that only pertains to other Z-versions. Z3 games can have 255 objects so object IDs are 1 byte, but Z4+ games can have 65535 objects (2 bytes). Two libraries, but each game only needs one.

    #AppleII #retrocomputing #interactivefiction

    💬 1🔄 4⭐ 3