Changes

Jump to: navigation, search

UIDE Universal IDE adapter cards for Z-80 computers

4,104 bytes added, 15:55, 9 March 2017
== Z80 Shims ==
{| class="wikitable"|-|[[File:Z80 Shim LHS.png|100px|thumb|left|Left handed Z80 Shim card]]|| [[File:Z80 Shim RHS.png|100px|thumb|right|Right handed Z80 Shim card]]|}
These small cards are inserted between the Z80 and its socket, and present all 40 pins of the CPU via a 40 way header. This header is the "Z80 Bus" that the uIDE cards connect to.
'''Important:''' Check your machine has a socketed Z80 before ordering a shim (you should open it up anyway to decide which shim gives the best mounting solution). If the Z80 does not have a socket and you are not willing to desolder the Z80 and fit a socket to the machine, then a shim is not the solution for you.
 
 
 
 
 
 
 
== Machine-specific expansion port adapters ==
=== PCW 8256/8512/9512 ===
{| class="wikitable"|-|[[File:PCW bus adapter.JPG|100px|thumb|left|PCW Bus adapter with composite video output]]|| [[File:PCW bus adapter lite.JPG|100px|thumb|right|PCW Bus adapter "lite" (no composite video)]]|} 
These cards allow connection of a uIDE card to the 50 way expansion port on the back of the machine. They are designed to support the PCW edge connector type port, but the European Centronics type port might be accommodated if a suitable connector exists (50 way Centronics, 2.54 header pitch). In addition they provide access to the PCW's 5v and 12v power supply, as well as other signals from the card edge connector. One variant has a small composite video circuit so that you can connect an external monitor to the PCW.
 
 
 
 
 
 
 
 
 
 
 
 
 
=== CPC 6128 ===
{| class="wikitable"|-|[[File:CPC 6128 bus adapter.png|200px|thumb|left|CPC 6128 Bus adapter]]|}
The CPC 6128 bus adapter is a card which plugs directly into the 6128's expansion port with the front face of the board facing away from the CPC. The image shows an early render from OSH Park. Per the other adapter cards, uIDE plugs into it via a 40 way IDC cable.
 
 
 
 
 
 
 
 
 
 
 
== BOMs ==
[[File:All board BOM.csv|framed|All Board BOM]]
== Putting it all together Connectivity options ==
Here is a table summarising your options for connecting a uIDE device to your computer.
{| class="wikitable"|-|[[File:UIDE connection options.JPG|500px||left|]]|}
Choose one option from each column. Some guidance notes:
* Expansion adapters connect to the rear edge connector of your PCW or 6128. Choose one if you don't want to fit the uIDE internally or your Z80 is not socketed.
* Z80 shims are for general purpose use and will fit any Z80 machine with a socketed processor. Choose LHS or RHS dependant on the space and orientation of the CPU in your machine.
* Direct connection (between the host adapter and uIDE device) means soldering the Z80 bus header pins on each board directly together. Note, some combinations may prevent this, or may require odd orientation of the two cards.
* The IDE device can plug directly into the uIDE board. Angled IDC connectors are recommended when building the board.
* A DOM is recommended as it is the only device I have tested the uIDE prototype with. Unfortunately, I can't guarantee that specific Compact Flash cards will be compatible but if you let me know what works and what doesn't we can build a compatibility list on this page.
== Information for self builders ==
=== uIDE-16 fix for 8-bit mode ===
The current version of uIDE-16 (v0.3) has some errors that prevent the 8-bit addressing mode from working. If you want to use it in 8-bit addressing mode, some modifications are required as shown below.
{| class="wikitable"
|-
|[[File:UIDE-16 v0.3 8-bit fix.PNG|700px||centre|]]
|}
On the underside of the board:
* Cut the tracks marked with a red disk.
* Add the links marked with a green disk.
=== uIDE-8 74LS02 considerations ===
The timing of the Z80 /RD signal is very tight, so the choice of NOR gate IC that you put at U2 is critical. Choose a fast part such as a 74'''F'''02. At least one manufacturer, Misubishi, makes a fast enough 74'''LS'''02 and that is what I used in my prototype. It has a propagation delay of 6-12ns, and this is the maximum speed the design will allow. If in doubt, check the manufacturer's datasheet. I've done this for several different '02 logic chips and the results are below.
'''74??02 Propagation times'''
{| class="wikitable"
|-
! Maker / type !! H-L min !! L-H min !! H-L max !! L-H max !! Datasheet !! Comment
|-
| Motorola SN74ALS02 || 14 || 14 || 22 || 22 || http://pdf1.alldatasheet.com/datasheet-pdf/view/5703/MOTOROLA/SN54LS32.html || Not compatible
|-
| TI SN74LS02 || 8 || 12 || 15 || 22 || http://www.ti.com/lit/ds/symlink/sn74ls02.pdf || Not compatible
|-
| Hitachi 74LS02 || 10 || 10 || 15 || 15 || http://pdf1.alldatasheet.com/datasheet-pdf/view/63971/HITACHI/74LS02.html || Not compatible
|-
| Mitsubishi 74LS02 || 6 || 6 || 15 || 15 || http://www.datasheetspdf.com/datasheet/download.php?id=770368 || Compatible (tested)
|-
| Philips/NXP ALS02 || 2 || 2 || 10 || 12 || http://pdf1.alldatasheet.com/datasheet-pdf/view/15231/PHILIPS/74ALS02.html || Likely compatible
|-
| Fairchild LS02 || - || - || 18 || 15 || http://pdf1.alldatasheet.com/datasheet-pdf/view/51020/FAIRCHILD/74LS02.html || Not compatible
|-
| TI 74S02 || 8 || 12 || 16 || 22 || http://www.futurlec.com/74S/74S02.shtml || Not compatible
|-
| Tesla 74ALS02 || || || 12 || || || Not compatible
|-
| TI 74F02 || 1 || 1.7 || 5.3 || 6.5 || http://www.ti.com/lit/ds/symlink/sn74f02.pdf || Likely compatible
|-
| Fairchild 74F02 || 1.5 || 2.5 || 4.3 || 5.5 || http://www.futurlec.com/74F/74F02.shtml || Likely compatible
|-
| Philips 74HCT02 || || || 7 || 9 || http://www.futurlec.com/74HCT/74HCT02.shtml || Likely compatible
|-
| Philips 74F02 || 2 || 2.5 || 4.3 || 5.5 || http://pdf.datasheetcatalog.com/datasheet/philips/74f02.pdf || Likely compatible
|-
| Signetics 74F02 || 2 || 2.5 || 4.3 || 5.5 || p.73 of http://bitsavers.informatik.uni-stuttgart.de/pdf/signetics/_dataBooks/1987_FAST_Data_Manual.pdf || Likely compatible
|}
If in doubt, ask on the forum or choose a '''74F02''' or known working type. If you find working types that are not listed, or are shown as not compatible, please let me know so I can update the list.
== Pictures of the built boards ==
I present here some photos of the finished boards for reference. Click on an image for a closer look.
{| class="wikitable"
|-
|[[File:UIDE-8 build.JPG|thumbnail|left|uIDE-8 card built and configured for the PCW]] || [[File:UIDE-16 build 2.JPG|thumbnail|center|uIDE-16 card built and configured for the CPC6128]] || [[File:Expansion port adapters front.JPG|thumbnail|right|(bottom to top) PCW video, PCW lite and CPC6128 expansion port Z80 bus adapters, front view.]]
|-
|[[File:Expansion port adapters rear.JPG|thumb|left|(bottom to top) PCW video, PCW lite and CPC6128 expansion port Z80 bus adapters, underside view.]] || [[File:Z80 LHS Shim build.JPG|thumb|center|Z-80 Shim, left hand bus connector.]] || [[File:Z80 RHS shim build.JPG|thumb|right|Z-80 Shim, right hand bus connector.]]
|}
                 Choose one option from each column. Some guidance notes:'''Notes'''* Expansion adapters connect to uIDE-8 is configured for the rear edge connector of your PCW or 6128. Choose one if you dondriver't want to fit the uIDE internally or your Z80 is not socketeds I/O address.* Z80 shims are uIDE-16 is configured for general purpose use and will fit any Z80 machine with a socketed processor. Choose LHS or RHS dependant on the space and orientation of the CPU in your machineproposed 6128 driver's I/O address.* Direct connection The expansion port pictures show (between front to back, respectively) the host PCW video adapter and uIDE device) means soldering the Z80 bus header pins on each board directly together. Note, some combinations may prevent thisPCW "lite" adapter, or may require odd orientation of the two cards.* The IDE device can plug directly into the uIDE board. Angled IDC connectors are recommended when building the board.* A DOM is recommended as it is the only device I have tested the uIDE prototype with. Unfortunately, I can't guarantee that specific Compact Flash cards will be compatible but if you let me know what works and what doesn't we can build a compatibility list on this page6128 adapter.
== Testing the IDE device ==
The provisional PCW driver suite can be downloaded here: [[File:Xdriver PCW suite 0.1.zip|framed|PCW CP/M Plus Xdriver suite]].
'''Note: There are no drivers available for the CPC6128 at this time.'''(But I am working on it!)
=== Transferring software to the PCW ===
412
edits