Add run-voyager, and make running depend on the disk
The jitter was a stale disk. An image built before the escape sequences came out still had the old Snake on it, which sends ESC [ H every frame: the console swallows the escape, because it is below the font's first character, and then draws "[H" as two ordinary letters. So every frame began two characters to the right and one line further down than the last, and the board walked down the screen. Not timing at all. WHAT IS ON A DISK IS WHATEVER WAS BUILT WHEN THE DISK WAS MADE, and a machine whose console has changed will start that image quite happily. That is the compatibility break we chose when the parser came out, and it is fine - but it should not be a puzzle, so both run targets depend on the disk rather than merely using it, and both READMEs say why. run-voyager boots the same disk on the machine with a screen. It existed only as EMU=../Voyager in front of run-cosmos, which is not a thing anybody should have to know. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01E2JrLzFvuFX9fgi1LDRjrW
This commit is contained in:
co-authored by
Claude Opus 5
parent
310804e267
commit
761c11a66b
@@ -104,6 +104,12 @@ make run-cosmos
|
||||
|
||||
Then `dir` to see what is there, `load Snake.sbx` and `run` to play something, or `load Asm.sbx` and `run cosmos.asm` to watch the machine build itself.
|
||||
|
||||
`make run-voyager` boots the same disk on the machine with a screen instead of a terminal.
|
||||
Both targets depend on the disk, so a disk built before a change to the machine is rebuilt
|
||||
rather than booted as it stands: **what is on a disk is whatever was built when the disk was
|
||||
made**, and a system whose console has changed will happily start an image full of programs
|
||||
written for the old one.
|
||||
|
||||
## Running Programs: SplitBit
|
||||
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user