Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Tiny url http://tinyurl.com/jdp3qqr

...

  • using the NAND gates, then if that was successful, try
  • a decode chip from the same family.
  • Combining a Single 3-Input Positive AND-OR Gate and a single decode chip to make a high speed 74139.

    The Z88 only uses one half of the dual functionality of the full chip.
    Using just NAND gates requires too many of them. However using the Single 3-Input Positive AND-OR Gate and a single decode chip allows this device to be built with four 3mm high speed chips.

See http://www.neuroproductions.be/logic-lab/index.php?id=63191 for the ongoing logic in checking that the full chip will work. 

NAND Gate Build

Choosing a Fast NAND gate

Looking through the datasheets for NAND gates found the following timings:-

...

  • A19 - Selects either the top half of the 1M memory space for the flash chip or the bottom half for the RAM.
  • /CE - Selects the 1M card.

Truth Table of

...

half a 74139 using two outputs

Inputs Enable SelectOutputs
/E
/CE 

A1
GND 

A0
A19 
/Y1
/CE1 FLASH 
/Y0
/CE0 RAM 
00010
00101
1XX11

...

The Z88 only uses one half of this dual decode chip. This circuit may be made with

  • inverters
  • 2 NAND gates

The inverters are slower than the NAND gates, so it was decided to use 5 NAND gates using 3 of the gates as inverters.

...

The latest software was tried again in a standard 512K/512K Flash/RAM Card and Vic could not make the games software go wrong. The prototype board was packed and sent to Mr T who had a failing Z88 and 512K/512K Flash/RAM Card. He confirmed that it was the decoder chip that was causing the fault and suggested that another decoder could be found.

...

DECODER

...

Chip Build

http://tinyurl.com/j6zkfaj

...

Part NoChipManufactureSpeed nS
PackagePrice



MinTypMax


1741279

SN74LVC1G139DCTR

Ti

<2.5
SM8$ 0.69

SN74LVC1G139DCUTTi / Farnell

<2.5
VSSOP£0.404

...

View file
namesn74lvc1g139.pdf
height150


This chip on its own provides the logic for the Z88 application.

Circuit Description

There are 2 inputs,

  • A19 - Selects either the top half of the 1M memory space for the flash chip or the bottom half for the RAM.
  • /CE - Selects the 1M card.

Truth Table of Decode Chip

InputsOutputs
B
/CE 
A
A19 
/Y1
/CE1 FLASH 
/Y0
/CE0 RAM 
0010
0101
1X11

Circuit Diagram using a single decode chip.

http://tinyurl.com/h9nw253
Updated 3/10/2016

Image Added

Building the circuit on a breadboard externally

Components required

Image Added

Image Added

2 MSOP-8 AND 1 VSOP to IC adaptors were obtained in addition to the 5 2-to-4 Line Decoder chips.
This circuit could now be bread-boarded and tested outside the Z88 card case.

Image Added

The four signal and power lines can be seen connecting the card to the breadboard.

Image Added

The Games play without crashing.

Full 74139 Version Build

Adding an additional chip SN74LVC1G0832 will allow the /CE, A and B to be decoded.

Looking through the datasheets for a Texas Instruments VC1 chip found  found the following timings:-

Part NoChipManufactureSpeed nS
PackagePrice



MinTypMax



SN74LVC1G0832

Ti

<2.5
SOT-23 (DBV)$ 0.69

SN74LVC1G139DCUTTi / Farnell

<2.5
VSSOP£0.404
Single 3-Input Positive AND-OR Gate display fast times.

...

View file
namesn74lvc1g0832.pdf
height150

Circuit Description

There are 2 inputs,

  • A19 - Selects either the top half of the 1M memory space for the flash chip or the bottom half for the RAM.
  • /CE - Selects the 1M card.

Truth Table of Decode Chip

...

Logic Diagram

(to be changed)

Original

Image Added

Cut Down Version using two inputs and two outputs

This ignores A1 GND line.

Image Added

The Z88 only uses one half of this dual decode chip. This circuit may be made with

  • inverters
  • 2 NAND gates

The inverters are slower than the NAND gates, so it was decided to use 5 NAND gates using 3 of the gates as inverters.

Logic Lab Test v Truth Table

The logic was checked with thanks to http://www.neuroproductions.be/logic-lab/ for the simulator.

...

Inputs Enable SelectOutputs

/E
/CE 
A0
A19 
/Y1
/CE1 FLASH 
/Y0
/CE0 RAM 
000010
010101
021X011

Circuit Diagram using a single decode chip.

http://tinyurl.com/h9nw253
Updated 3/10/2016

Image Removed

Building the circuit on a breadboard externally

Components required

...

Image Removed

...

Image Removed

2 MSOP-8 AND 1 VSOP to IC adaptors were obtained in addition to the 5 2-to-4 Line Decoder chips.
This circuit could now be bread-boarded and tested outside the Z88 card case.

Image Removed

The four signal and power lines can be seen connecting the card to the breadboard.

Image Removed

031111

00

Image Added

01

Image Added

02

Image Added

03

Image Added

They both agree.

Circuit Diagram using the Single 3-Input Positive AND-OR Gate and a single decode chip.

To be drawn

...

Note
titleSignals not the same abbreviations as the circuit

The names of the signals on the scope are not all the same as shown in the circuit.

SignalScopeCircuit
A19A19A19
/CE1_CE1/CE1
/CE0_CE/CE0


Printed Circuit Board

http://tinyurl.com/h8dxsct

A PCB has been laid out (just in case Tony's prototype works).(this needs to be done.)

Main points

  • A letterbox slot has been made in the centre of the HD1, HD2, (which are connected both sides,) so that either direct soldering or wire links may be used to connect the signals from the 512K/512K card to the PCB.
  • The pads of the footprint of the SOT-23-5 have been made longer, to enable easier soldering of the small parts.
  • The bottom Left Hand corner of the PCB matches the shape of the 512K/512K Card for easy alignment.
  • C2 on the 512K/512K, needs to be removed and put onto the PCB, in the same space. This is to make the PCB a bit larger for stability.

...