I keep grabbing zero-page pairs as I need them and eventually discover that two routines quietly claimed the same bytes. It works until it spectacularly does not.
Do you draw up the allocation first, or keep a source file that owns all aliases?
How much zero page do you reserve before coding?
2 replies · opened JUN 20 ago
One include file is the authority. Temporary pairs get names too; “temporary” otherwise means “mysterious dependency.”
I reserve a small scratch block and document which interrupt routines may touch it. The interrupt rule matters more than the exact addresses.
Want to add to this transmission?
SIGN IN TO REPLY →