Chromatix wrote:
On the subject of (zp) addressing mode, it might be worth looking at it as equivalent to (zp,X) or (zp),Y modes with the index replaced by a zero.
Yes, that's how it should be done. Right now, the core only has one combined (ZP,X),Y addressing mode with either X or Y replaced by zero, so it would seem to be a simple extension of that idea. The problem is that the extra opcodes don't really fit in the old pattern, so a fairly large amount of extra control logic is needed.
I'll give it a shot later, but I first want to fix the bugs.