Memory()</CODE> function: 
<FONT COLOR=#000080><PRE>OpCode=ReadMemory(PC++);</PRE></FONT>
There should also be a <CODE>WriteMemory()</CODE> function to write into
emulated memory. Besides handling memory-mapped I/O and pages,
<CODE>WriteMemory()</CODE> should also do the following:
<UL>
<LI><B>Protect ROM from writing</B><BR>
Some cartridge-based software (such as MSX games, for example) tries to
write into their own ROM and refuses to work if writing succeeds. This is
often done for copy protection.
<LI><B