M62 – Z80 SBC Card – Rev 2

This design supersedes the revision 1 design of the SBC, this revision is fully backwards compatible with software designed for revision 1, with the exception of any that require I/O port $00 for it’s operation.

Changes since Rev 1

  • Changed the UART (16C550) package from DIP40 to PLCC44, this reduces the size and is easier to source.
  • Bank 0 and 1 are now hardwired to be ROM/RAM for Bank 0, and RAM for Bank 1 (the Bank 1 is the 16K upper half of the RAM chip).
  • Circuitry has been added to exchange the ROM in Bank 0 for the 16K lower half of the RAM chip.
  • Header for Bluetooth module removed, this can be still used by making a cable to attach to the FTDI cable header.
  • All discrete components are now through hole to make it easier for people to build.
  • USB socket for power removed, power can be fed in via the FTDI cable or the M62 bus still.
  • correct shape is now cut either side of the edge connector

Bank_0 ROM/RAM switching logic

The SBC Rev 2 now incorporates a circuit to allow the Bank_0 to be switched between 16K of ROM or the lower 16K of the RAM chip. The upper 16K of the RAM chips is permanently assigned to Bank_1.

I have implemented this to work towards porting CP/M to the M62 system eventually. I also use this in the OS I am currently developing.

Switching between the ROM and RAM is done by writing to I/O port $00, writing $00 will select ROM mode, and $01 will select RAM mode. This circuit will automatically switch back to ROM mode when RESET is asserted, this ensures that the ROM is always available during a cold boot of the SBC.

This circuit can be downloaded here to be used with Logic Circuit if you wish to simulate it.

(Logic Circuit is a free logic simulation tool that I was introduced to at university, I use it to check all my logic before I implement them in my circuits)


The schematic PDF can be downloaded here