static ALWAYS_INLINE void WrMemHook(unsigned int A, uint8 V) { if(X.WriteHook) X.WriteHook(&X,A,V); else if(!X.preexec) BWrite[A](A,V); }
static ALWAYS_INLINE uint8 RdMemHook(unsigned int A) { if(X.ReadHook) return(_DB = X.ReadHook(&X,A) ); else return(_DB=ARead[A](A)); }
static INLINE void WrMemHook(uint32 A, uint8 V) { if (X.WriteHook) X.WriteHook(&X, A, V); else BWrite[A](A, V); }
static INLINE uint8 RdMemHook(uint32 A) { if (X.ReadHook) return(_DB = X.ReadHook(&X, A)); else return(_DB = ARead[A](A)); }