Hi Alan,I like it! When you are done testing, please share the design. I want to build one.
Adding it to my to-build list along with your dual serial and PS/2 boards, JB's TMS9918 and Steve's CTC board
Cheers,
Ed
--
You received this message because you are subscribed to the Google Groups "retro-comp" group.
To unsubscribe from this group and stop receiving emails from it, send an email to retro-comp+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/retro-comp/c58da6d6-11ef-4355-92f2-0cd210981720%40googlegroups.com.
if you are only looking for a RC2014-Style Floppy Controller Board, look here:It's based on Dr. Scott Bakers design.
Hi Alan,very nice!So, it is compatible with RomWBW's "FDMODE_RCWDC" mode?
It would be great if it will be possible to get a board as soon as you are finished.I would replace my smbaker board with this one, as its shape matches all other boards :) (will it also be available in blue? *g*)
On Tuesday, 21 April 2020 10:34:48 UTC+1, Anna Christina wrote:Hi Alan,very nice!So, it is compatible with RomWBW's "FDMODE_RCWDC" mode?Unless I've screwed up then yes it should work with ROMWBW. It's still a 37C65 so just the addressing will need a tweak.
Am 21.04.20 um 16:08 schrieb Alan Cox:
Hi Alan,
>> So, it is compatible with RomWBW's "FDMODE_RCWDC" mode?
> Unless I've screwed up then yes it should work with ROMWBW. It's still a
> 37C65 so just the addressing will need a tweak.
What do you mean with the tweak?
The tweak you did to narrow the IO port usage or is a configuration
tweak in the software neccessary?
Will probably be a new FDMODE setting, perhpas FDMODE_EPFDC. Trivial to implement in RomWBW.
They'll be set up the proper way (ie not the PC/AT way) as they are
not from the PC world. That would explain why FDU only works with the
second drive, but not why ZSDOS/CPM report overruns and FDU doesn't.
Thanks - one mystery resolved.
For better or worse, all of the existing WD37C65 implementations (before yours) use AT style connectors/cabling. I assume you overcame this with FDU when you created a new variation for your hardware. The RomWBW floppy driver will require a similar change. Should not be too hard -- the driver doesn't really care about cabling, it just needs to initialize the FDC in the correct mode.Sadly, all of this floppy code (both FDU and the RomWBW driver) was created a decade ago when I was just learning Z80 assembler. Never really revisited it because it always worked.
-Wayne
Yep. I switched to an old PC drive and cabling and that also works reliably with FDU - but not ROMWBW (git head). I guess I should try my mods on ROMWBW 3.0 or another known good for RC2014 floppy ROMWBW to eliminate that from my investigation. At the moment I am debugging the Fuzix FDC code to see if that gives me any more clues.Anna - what ROMWBW version are you using that woks with floppies ?
There is one significant difference in the operation of FDU and RomWBW HBIOS code. FDU was modified to not require the TC signal. Instead, when it programs the FDC to read/write a sector, it tells the FDC that the sector requested is the last sector on the track, so the FDC will automatically stop I/O after reading one sector. By default, the FDC will continue reading sectors until it has read the last sector of the track.
Of course, you may make better progress with your own driver in Fuzix
And this was indeed the problem. I didn't know all the weird and wonderful magic about PC/AT mode. WIth Sergey's explanation I swapped it over to pull TC high and strobe DACK and now all is happy in ROMWBW
Tightening the inner loop to run 1.44MB at 3.5MHz doesn't actually look too hard for ROMWBW. The classic way it was done was to make use of left shift, jr c, jp p and ini. The FDC will always let you out of the loop with an error or other status. If I get a moment I'll take a look at it.