(1)    Z80 - Memory Map

       +---------------+  $FFFF
       |               |
       |    Frame 3    |
       |               |
       +---------------+  $C000
       |               |
       |    Frame 2    |       ------ $FFFF
       |               |
       +---------------+  $8000
       |               |
       |    Frame 1    |       ------ $FFFE
       |               |
       +---------------+  $4000
       |               |
       |    Frame 0    |       ------ $FFFD
       |               |
       +---------------+  $0000


(2)   Memory Control Registers


      *  $FFFF - Frame 2 Control Register

          msb                         lsb
         +---+---+---+---+---+---+---+---+
         | 0 | 0 | 0 |   |   |   |   |   |
         +---+---+---+---+---+---+---+---+
                     |___________________|
                               |
                  ROM Page Number for Frame 2   


      *  $FFFE - Frame 1 Control Register

          msb                         lsb
         +---+---+---+---+---+---+---+---+
         | 0 | 0 | 0 |   |   |   |   |   |
         +---+---+---+---+---+---+---+---+
                     |___________________|
                               |
                  ROM Page Number for Frame 1   


      *  $FFFD - Frame 0 Control Register

          msb                         lsb
         +---+---+---+---+---+---+---+---+
         | 0 | 0 | 0 |   |   |   |   |   |
         +---+---+---+---+---+---+---+---+
                     |___________________|
                               |
                  ROM Page Number for Frame 0   


      *  $FFFC - Frame 2 RAM Control Register

      msb  7           4   3   2   1   0  lsb
         +---+---+---+---+---+---+---+---+
         |   | 0 | 0 |   |   |   |   |   |
         +---+---+---+---+---+---+---+---+
           |           |   |   | \___ ___/
           |           |   |   |     +---- Bank Number Shift
           |           |   |   +---------- Ext RAM Bank Number
           |           |   +-------------- ROM/RAM SW. 0=ROM, 1=RAM
           |           +------------------ RAM Write Protect Sw.?
           +------------------------------ Dev Brd Write Protect Sw.?


NOTE:  When power is applied, the following data is set
       by the system ROM program:

           $FFFF = 2
           $FFFE = 1
           $FFFD = 0
           $FFFC = 0

       Bit 7 of $FFFC is write protect bit for ROM Board
       (Just for development board only)
           
           0 = R/W
           1 = Read Only


* (4M Bit ROM)

 $80000 ----+-----+--+-----+--+-----+--+-----+
            | $1F |  | $17 |  | $0F |  | $07 |  <-- Bank Number
            +-----+  +-----+  +-----+  +-----+
            |  .  |  |  .  |  |  .  |  |  .  |
            |  .  |  |  .  |  |  .  |  |  .  |  The address which is
            |  .  |  |  .  |  |  .  |  |  .  |  set by Bank Shift 00
            +-----+  +-----+  +-----+  +-----+  and Bank Number 09 can
            | $19 |  | $11 |  | $09 |  | $01 |  also be accessed by
            +-----+  +-----+  +-----+  +-----+  Bank Shift 01 and
            | $18 |  | $10 |  | $08 |  | $00 |  Bank Number 1.
 $60000 ----+-----+--+-----+--+-----+--+-----+
            | $17 |  | $0F |  | $07 |  | $1F |
            +-----+  +-----+  +-----+  +-----+
            |  .  |  |  .  |  |  .  |  |  .  |
            |  .  |  |  .  |  |  .  |  |  .  |
            |  .  |  |  .  |  |  .  |  |  .  |
            +-----+  +-----+  +-----+  +-----+
            | $11 |  | $09 |  | $01 |  | $19 |
            +-----+  +-----+  +-----+  +-----+
            | $10 |  | $08 |  | $00 |  | $18 |
 $40000 ----+-----+--+-----+--+-----+--+-----+
            | $0F |  | $07 |  | $1F |  | $17 |
            +-----+  +-----+  +-----+  +-----+
            |  .  |  |  .  |  |  .  |  |  .  |
            |  .  |  |  .  |  |  .  |  |  .  |
            |  .  |  |  .  |  |  .  |  |  .  |
            +-----+  +-----+  +-----+  +-----+
            | $09 |  | $01 |  | $19 |  | $11 |
            +-----+  +-----+  +-----+  +-----+
            | $08 |  | $00 |  | $18 |  | $10 |
 $20000 ----+-----+--+-----+--+-----+--+-----+
            | $07 |  | $1F |  | $17 |  | $0F |
            +-----+  +-----+  +-----+  +-----+
            |  .  |  |  .  |  |  .  |  |  .  |
            |  .  |  |  .  |  |  .  |  |  .  |
            |  .  |  |  .  |  |  .  |  |  .  |
            +-----+  +-----+  +-----+  +-----+
            | $01 |  | $19 |  | $11 |  | $09 |
            +-----+  +-----+  +-----+  +-----+
            | $00 |  | $18 |  | $10 |  | $08 |
 $00000 ----+-----+--+-----+--+-----+--+-----+

               00	01       10       11    <-- Bits 0 & 1 of $FFFC 
                                                    (Bank Number Shift)


* Z80 Address $0000 - $03FF

  The lower 1K (1024 bytes) of the Z80 address range is always mapped to
  the lower 1K (1024 bytes) of ROM to ensure that the reset and interrupt 
  vectors are always available. 

  For example, if Bank #8 (ROM Address $20000 - $24000) were assigned to 
  Frame 0 (Z80 Address $0000 - $4000) then ROM Address $20000 - $203FF
  cannot be accessed as Z80 Address $0000 - $03FF remains mapped to ROM
  Address $00000 - $003FF.

