SYSTEM ONLINE *** WELCOME, TRAVELER *** 38911 BASIC BYTES FREE

How much zero page do you reserve before coding?

2 replies · opened JUN 20 ago

ORIGINAL TRANSMISSION
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?
REPLY #1
One include file is the authority. Temporary pairs get names too; “temporary” otherwise means “mysterious dependency.”
REPLY #2
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 →