RE: It's working!

From: Mark Shostak <shostak_at_nortelnetworks.com>
Date: Wed Apr 25 2001 - 14:37:45 EDT

> Now... on to to the bank switch mod...

I don't think you specified, but if you intend to directly
connect your register's output to the upper address lines
of your program store device, remember that once you write
the register, the next opcode will be fetched from the
PC's offset within *the new bank*.

Some creative opcode placement can work around this
(I don't think the 6502 does any prefetching).

A trick I've used to work around this issue is to copy
the bank selection code and jump into ram, then jump to
the ram, then jump back to rom after the bank switch,
so you don't pull the rug out from under yourself.

Hope this is of some use.

-Mark
 

---------------------------------------------------------------------------
** To UNSUBSCRIBE from vectorlist, send a message with "UNSUBSCRIBE" in the
** message body to vectorlist-request@synthcom.com. Please direct other
** questions, comments, or problems to neil@synthcom.com.
Received on Wed Apr 25 15:01:58 2001

This archive was generated by hypermail 2.1.8 : Thu Jul 31 2003 - 23:00:51 EDT