pet_key_hold
Hold a key down for a specified number of game ticks by re-poking the keyboard matrix before each tick, stopping at a designated frame anchor. For BASIC 4 Commodore PET models.
Instructions
Hold KEY down for N game ticks by re-poking $97 before each one,
running to the frame anchor at (label or address executed once per
tick) between pokes; the machine ends STOPPED there. KEY is one
character or 'space'. BASIC 4 models only ($97 holds a matrix index
on BASIC 2).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| at | Yes | ||
| key | Yes | ||
| frames | No | ||
| session | No | ||
| timeout | No |