Changes

Jump to: navigation, search

UIDE Universal IDE adapter cards for Z-80 computers

184 bytes added, 21:53, 14 March 2017
/* BASIC program to load the driver from a DOM or CF card */
There may be other ways to achieve this (such as using a LocoLink cable) but it is out of scope of this WIKI page. If in doubt, ask on the forum.
=== BASIC program to load the PCW driver from a DOM or CF card ===If you choose to buy one of my DOMs, I can will load it with the xdriver FID file and the uIDE image I describe below. You can also download and copy the uIDE hard disk image onto your own IDE device as this has the driver file preloaded (see below for instructions).
Enter To get the PCW xdriver from the image, enter the following program into BASIC and run it. It will retrieve the driver from the IDE device and write it to the currently logged-in disk. The driver file is written to the first three sectors on the IDE device, so that even if you format it, you can still use the BASIC program to restore the FID (because track 0 is reserved by the driver for future use).
10 REM uIDE bootstrap - load FID from uIDE track 0
* Turn the PCW off.
* Connect the uIDE to the PCW.
* Plug the DOM or CF card into the uIDE's IDE socket. If using your own, copy the PCW uIDE image onto it first.* Power up the PCW. If the uIDE power and activity lights both come on, you have the cable or DOM back to front. Power down and check.* Now , then power-onagain.* Load Mallard BASIC and enter the program. It's easier if you type AUTO 10 first. Take care with the entering of variable names, most of them have a % at the end (integer).
* Save the BASIC program down before running it. SAVE "get-xdrv.bas"
* Return to CP/M. SYSTEM
* Copy get-xdrv.bas onto your boot disk and run it from the boot diskthere. From CP/M: BASIC get-xdrv
* You should see a progress bar as the FID is loaded from the DOM. The activity light on the uIDE should be flashing.
* Now a second progress bar comes up as the FID is being written to the floppy drive.
* When the program ends, return to CP/M with the SYSTEM command.
* Use PIP to copy the xdrv.fid file to your boot disk if not already on there.
* Reboot the PCW (use LEFT-SHIFT - EXTRA - EXIT key combination rather than the power switch, it's quicker).
* You should see the sign-on message "PCW IDE Extended Driver Copyright (C) Jon Bradbury"
* You should also see a list of available drives.
* CongratulationsTry a entering DIR C:. if it shows a list of files, your new IDE device uIDE is working!Otherwise, there's something wrong and you will need to check your assembly. If I assembled it, contact me immediately.
* It is wise to make a backup of the xdrv.fid file and the BASIC retrieval program onto a separate floppy disk.
412
edits