IamRob wrote:
Since you are using a 65816 anyways, maybe consider using a direct-page.
But for a quick reference:
zero page unused memory
FREE - $6.9 $17.19 $1E $86.88 $8B $8D.8E $90 $AE $CE.CF $D5 $D7 $D9 $E3 $EB.EF $FA.FE
Monitor calls use (so user should never use this memory) - $20.4F
Applesoft - $0D.14, $10.16, $4E.4F, $67.84, $B1.CD, $D6, $D8.DE, $F1.F8
Integer Basic - $0D, $4A.DF, FE.FF
Text screen - $20.25, $28.29, $32.33, $F1, $F3
Lores graphics - $28.29, $2C, $30
Hires graphics - $1A.1D, $26.27, $E0.EA, $F9
Prodos - $40.4E
Dos 3.3 - $18.19, $26.2F, 33.46
Basically then, you can consider memory free if you are not using that capability. For instance, I use $E0.EF quite a bit if my program uses the text screen and not the graphics screens.
I'm not sure I am following the above. The OP didn't mention the system type.