Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Circuit Description

Tiny url http://tinyurl.com/jdp3qqr

...


Some games that run in RAM, particularly when in combination with OZ v4.6 and later - running in slot 1, fails to run on the 512K/512K Flash/RAM Card. This may be due to a timing error which is introduced by the decode chip CD74HCT139. This Although this is one of the fastest decode chips but , it is too slow for our purposes.

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

  • 3 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 object of this exercise is to see if by redefining the design, a faster decode is achieved by using the NAND gates that are required.

...

Choosing a fast NAND gate

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

Part NoChipManufactureSpeed
PackagePrice



MinTypMax



108529774HCT00DNXP
10nS

SOIC0.221
38175574HCT00NNXP
10nS

DIP0.667
959088974HC00Ti
8nS

DIP0.31
1105915SN74AHCIG00Ti
5,2
8 mA

SOT-23-5

1.78
1287697SN74LVCIG007 SN74LVC1G00DBVRTi
4.0
32mASOT-23-51.98

SN74LVC1G00-EPTi1.04.0





SN74LVC1G00DBVRTi1.0
4.0
SOT-23-5

...

The Single 2-input Positive NAND gates display the fastest times.

Here is the chip that has been chosen:-

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 the 74139

Inputs Enable SelectOutputs
/E
/CE 

A1
GND 

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

Logic Diagram

Original

Cut Down Version using two inputs and two outputs

This ignores A1 GND line.

Logic Lab Test v Truth Table

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

...


Extra components required

Component

Manufacturer Part No

Order Code

Price

Min Qty

Assemtech RI-90 Micro Changeover Reed Switch

N95BT

Maplin

4.09

1

Assemtech Round Magnet 10x5mm

YA29G

Maplin

1.79

1

WELWYN - MFR3 2K2 FC - RESISTOR, 0.4W 1% 2K2

MFR3 2K2 FC

1565301

£0.085

10