Using DivIDE Plus with the PlusD Disk Interface

Talk on the DivIDE Plus Hard disk interface for the Sinclair ZX Spectrum, including manual updates and FAQs

Using DivIDE Plus with the PlusD Disk Interface

Postby RWAP on Tue Jul 01, 2008 9:02 pm

We have been investigating the problems with using the DivIDE Plus (with +DivIDE firmware) together with the PlusD disk interface to enable your Spectrum to access both floppy disk drives and hard disks (or compact flash cards) at the same time, which would provide the best of all worlds!

Rudy Biesma (the author of the +DivIDE firmware) has so far commented:
Can't get floppy working (yet), reason Floppy Disk Controller uses port 227, which happens to be the control port for DivIDE (Plus).. Trying to work around it but the workings of port 23 is not exactly as the manual says. The biggest problem is that some FDC commands set MAPRAM mode (because of equal port address). When I soft reset DivIDE Plus it doesn't always work OK.


and today's update:
The problem with the Floppy Disk Controller remains, I've tried some but it seems the soft reset of the DivIDE doesn't do what I expect... The best solution would be the replacement of the PAL chip (not the EPROM) in the +D in order to remap the FDC's I/O ports. I will try that the coming period but during the holiday season, which starts coming week, I have to work close to 7 days a week.

The printer port doesn't seem to have conflicts, I tried from BASIC doing some OUT's and the printer responds OK. So the printer routines could be added fairly easy (I probably 'borrow' the complete +D code).

I've redesigned (not fully implemented yet) the way the system accesses d1 and d2. It will see the d1 and d2 as logical drives, pointers to a device driver so it can use floppy, IDE or whatever there is a driver for (I have ideas about the latter but don't now if I will be writing those drivers). GDOS had only to cope with floppy so the code is a bit dirty, meaning the device independent and the device depended code isn't separated. Because +DivIDE was never meant to handle another device it is also quick and dirty. Patching the code now gives problems later when .TAP support has to be added. 'Some more work today keeps the headache tomorrow at bay'.

To be continued.
Rich Mellor
RWAP Services
http://www.rwapsoftware.co.uk
http://www.rwapadventures.com

Supporting the Sinclair Retro Computing Scene
RWAP
Site Admin
 
Posts: 121
Joined: Sat Jan 12, 2008 4:02 pm
Location: Staffordshire, UK

Re: Using DivIDE Plus with the PlusD Disk Interface

Postby RWAP on Wed Sep 17, 2008 8:07 am

There has now been some movement on this. It looks as though we will need to supply an upgrade for the logic controller on the PlusD to get it to work in combination with the DivIDE Plus - it is a socketed chip, so not too difficult to swap.

Rudy's comments over the past two days:
(14/9/08)At last, this weekend I have been able to continue with the project. I've programmed alternative logic for the +D so the FDC can be accessed without the divIDE hardware interfering. I also managed to get the floppy drive responding by replacing the load sector routine in +DivIDE for the +D code. For testing purposes; LOAD@ and CAT 1 work only from floppy now. The next step will be cleaning up the +D routines, should be finished at the end of today (Sunday). Then I have to get the +DivIDE and the +D code inside the +DivIDE Plus.

I've been to the Sinclair meeting in Wittenberg Germany (23 & 24th August) and there also was another +DivIDE Plus owner Scott-Falk Hühn. He would like to see that CAT gives the working image number somewhere (shoudln't be too much work).
....

(15/9/08) I've just copied a floppy to a HDD image. Currently only reading/loading from physical drive 1 is supported. The floppy drive can be selected by the GOTO *1 or GOTO *2 command (without any parameters). Drive 2 (d2 or *2) also uses physical drive 1. This gives problems with the current or last drive option (LOAD d*"name" and LOAD p syntax). There are some minor glitches which have to be ironed out before releasing the new firmware...
....

(16/9/08) Fixed the current drive bug...

Rich Mellor
RWAP Services
http://www.rwapsoftware.co.uk
http://www.rwapadventures.com

Supporting the Sinclair Retro Computing Scene
RWAP
Site Admin
 
Posts: 121
Joined: Sat Jan 12, 2008 4:02 pm
Location: Staffordshire, UK

Re: Using DivIDE Plus with the PlusD Disk Interface

Postby Vapula on Thu Nov 05, 2009 11:58 am

Using the RAM mode (like Residos) may (or may not) solve the problem.
In RAM mode, a whole 16K RAM page is mapped (no ROM) and E7 should have no use. This could enable to work with the +D plugged in without changing anything into the interface.

Fatware uses RAM pages 0 and 1, DemFir ram 2-3, +divIDE pages 4-5, MDOS pages 6-7, Residos page 8 (9 is unused unless Residos uses OUT 23,x to use 32Kb). Ram pages 10-31 are available... Out 23,106 to Out 23,127...

If I read well, when using the firmware selector, Fatware is moved to another ROM/RAM page... better avoid using that page (these pages if FatWare uses several 8Kb pages)
Vapula
 
Posts: 12
Joined: Wed Apr 22, 2009 7:51 am


Return to ZX Spectrum DivIDE Plus Hard Disk Interface Discussion

Who is online

Users browsing this forum: No registered users and 1 guest

cron