Browse Source

Spec: correct NTSC frame budget to 17,095 cycles

Approved by the user 2026-12-03. x64sc emulates the 263-line 6567R8,
measured with tools/check-people.ps1.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
main
Daniel Covington 3 days ago
parent
commit
3406f5298d
3 changed files with 3 additions and 3 deletions
  1. +1
    -1
      docs/spec.md
  2. +1
    -1
      docs/verification-status.md
  3. +1
    -1
      project.json

+ 1
- 1
docs/spec.md View File

@@ -129,7 +129,7 @@ Capabilities: keyboard-input, smooth-animation, raster-interrupts
| Persistence (save/load) | None. Maps and seeds are not saved. | practical default |
| File formats | None. A single PRG. | practical default |
| Peripherals | Keyboard only. No disk access after loading, no joystick. | practical default |
| Timing and memory budgets | NTSC: 60 Hz, 17,030 cycles per frame. Per frame: fine-scroll update, one slice of the hidden-buffer rebuild (about 9,000 bytes of bitmap and screen RAM spread over 8 frames), and restoring and redrawing visible people; together under one frame. World data about 4 KB; two bitmap buffers with their screen RAM about 18 KB. World generation may take several seconds. | practical default |
| Timing and memory budgets | NTSC: 60 Hz, 17,095 cycles per frame (263 lines x 65 cycles, the NTSC VIC-II 6567R8 that x64sc emulates). Per frame: fine-scroll update, one slice of the hidden-buffer rebuild (about 9,000 bytes of bitmap and screen RAM spread over 8 frames), and restoring and redrawing visible people; together under one frame. World data about 4 KB; two bitmap buffers with their screen RAM about 18 KB. World generation may take several seconds. | practical default |
| Memory layout | Buffer A in VIC bank 1 and buffer B in VIC bank 2, each with its own 8 KB bitmap and 1 KB screen RAM; flipping switches bank bits in $DD00 during vertical blank. Colour RAM is shared and constant (light red). | practical default |
| Rebuild source | The hidden buffer is rebuilt from the tile world, never copied from the visible buffer, so people's dots are never copied into the new view. | practical default |
| Seed | The seed comes from the CIA timer at start-up and at each SPACE press. It is not shown or saved in the first release. | practical default |


+ 1
- 1
docs/verification-status.md View File

@@ -20,7 +20,7 @@ manual = `pending`, `confirmed by user (<date>)`, `problem reported (<date>): <n

## Notes

- 2026-12-03 (M2.2): VICE x64sc NTSC runs 263 lines x 65 cycles = 17,095 cycles per frame (measured with tools/check-people.ps1). The spec's budget says 17,030 (the 262-line 6567R56A figure). The difference does not affect any acceptance criterion. Correcting the spec text needs the user's approval (AGENTS.md section 6).
- 2026-12-03 (M2.2): VICE x64sc NTSC runs 263 lines x 65 cycles = 17,095 cycles per frame (measured with tools/check-people.ps1). The spec's budget said 17,030 (the 262-line 6567R56A figure). The difference does not affect any acceptance criterion. With the user's approval (2026-12-03), docs/spec.md and project.json now say 17,095.
- 2026-12-03 (M2.2): A3 checked in VICE only: flipping the two buffers with the $DD00 bank bits in vertical blank shows the same map in both banks and passes the byte-exact buffer check. The user's MT2.2 visual check is still pending.

- Generated 2026-12-03. Starter verification at generation time is reported by the Foundry; re-run `pwsh -File tools/smoke.ps1` on your machine and record the result in row M0.1.

+ 1
- 1
project.json View File

@@ -146,7 +146,7 @@
"source": "user"
},
"budgets": {
"value": "NTSC: 60 Hz, 17,030 cycles per frame. Per frame: fine-scroll update, one slice of the hidden-buffer rebuild (about 9,000 bytes of bitmap and screen RAM spread over 8 frames), and restoring and redrawing visible people; together under one frame. World data about 4 KB; two bitmap buffers with their screen RAM about 18 KB. World generation may take several seconds.",
"value": "NTSC: 60 Hz, 17,095 cycles per frame (263 lines x 65 cycles, the NTSC VIC-II 6567R8 that x64sc emulates). Per frame: fine-scroll update, one slice of the hidden-buffer rebuild (about 9,000 bytes of bitmap and screen RAM spread over 8 frames), and restoring and redrawing visible people; together under one frame. World data about 4 KB; two bitmap buffers with their screen RAM about 18 KB. World generation may take several seconds.",
"source": "default"
},
"sound": {


Loading…
Cancel
Save

Powered by TurnKey Linux.