Prev: A3B8 Up: Map Next: A408
A3FB: check room on stack for A bytes
Used by the routines at A742, A883 and AD9E.
if stack too deep do out of memory error
A3FB 0A ASL A *2
A3FC 69 3E ADC #$3E need at least $3E bytes free
A3FE B0 35 BCS $A435 if overflow go do out of memory error then warm start
A400 85 22 STA $22 save result in temp byte
A402 BA TSX copy stack
A403 E4 22 CPX $22 compare new limit with stack
A405 90 2E BCC $A435 if stack < limit do out of memory error then warm start
A407 60 RTS
Prev: A3B8 Up: Map Next: A408