Jennifer Academy

Code: Retro computing with Jennifer

Code for "Retro computing with Jennifer"

The programs behind the slides, for Jennifer 0.27.0. Run everything from this folder.

Setup

jvc update     # reads deck.toml: @skiffyard/d64 0.4.0, @skiffyard/zmachine 0.4.0 into vendor/
curl -LO https://raw.githubusercontent.com/skiffyard/deck-zmachine/0.1.0/testdata/lantern.z5

lantern.z5 is Lantern, the zmachine deck's own two-room test game (LGPL, like the deck). No Infocom game and no real disk is used. Both decks need no capability; the programs only read and write files in this folder.

Programs

FileShows (slides)Run
disk.jthe 1541 layout, format and list, the maze as bytes, reading back, the BAM, listFiles, PETSCII, undo by value and the duplicate-name error (3 to 10)jennifer run disk.j (writes demo.d64)
story.jstart Lantern, read its header, play four commands from a list, the status row (12, 13)jennifer run story.j
play.jthe console player: the waiting loop with save and restore to lantern.z5.qzl (14)jennifer run play.j, or printf 'take lamp\nsave\nnorth\nrestore\nlook\n' | jennifer run play.j
saves.jthe save, undo and restore transcript, with the host's view in brackets (15)jennifer run saves.j
limits.ja step limit that throws, and loading demo.d64 as a story (16)jennifer run disk.j, then jennifer run limits.j

disk.j writes demo.d64 (open it in VICE as drive 8, then LOAD"MAZE",8 and RUN); play.j writes lantern.z5.qzl when the game saves. Delete them afterwards.

FileSize
LICENSE899 Braw
README.md1.5 KiBraw
deck.toml414 Braw
disk.j2.4 KiBraw
limits.j684 Braw
play.j1.1 KiBraw
saves.j1.1 KiBraw
story.j762 Braw