he <CODE>ReadMemory()/WriteMemory()</CODE> functions usually put a lot of 
overhead on the emulation, and must be made as efficient as possible,
because they get called very frequently. Here is an example of these
functions:
<FONT COLOR=#000080>
<PRE>
static inline byte ReadMemory(register word Address)
{
  return(MemoryPage[Address>>13][Address&0x1FFF]);
}

static inline void WriteMemory(register word Address,register byte Value)
{
  MemoryPage[Address>>13][Address&0x1FFF]=Value;
}
</PRE>
</FONT>
<B>Notice