rhinoceroshead wrote:How big of a deal is it really to be using that first page of RAM anyway? I've never worried about the speed boost that gives.
You probably don't notice this when you write in C, but some instructions only work in page zero, and others don't have the extended addressing mode available.
The BCLR, BSET, BRCLR and BRSET only work with page-zero. So you need to put bit-flags in page zero.
The MOV, CLR, INC, DEC, COM, NEG, TST, ASL, ASR, LSL, LSR, ROL, ROR, LDHX, STHX, CPHX, CBEQ and DBNZ instructions can directly access page zero, but can only access other addresses indirectly, either relative to the H:X registers or relative to the stack-pointer.