X-Git-Url: http://shamusworld.gotdns.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fv6809.cpp;fp=src%2Fv6809.cpp;h=a8b24fadfb6266463606eaf21619d1fe733d1335;hb=2879315d07ce59a7996bc8a137c3b66ae018013a;hp=cb670726874d0ab4cdad5e1bf31722bb76aae8d0;hpb=f51c96856129613e8aefd07a777dc59812ded4c7;p=stargem2 diff --git a/src/v6809.cpp b/src/v6809.cpp index cb67072..a8b24fa 100755 --- a/src/v6809.cpp +++ b/src/v6809.cpp @@ -47,6 +47,7 @@ //Small problem with the EA_ macros: ABS macros don't increment the PC!!! !!! FIX !!! //Hmm, why not do like we did for READ_ABS*??? +//Because the EA_* macros are usually used as an argument to a function call, that's why. #define EA_IMM regs.pc++ #define EA_ZP regs.RdMem(regs.pc++) #define EA_ZP_X (regs.RdMem(regs.pc++) + regs.x) & 0xFF