H8-Dual-CF Controller for HDOS!

141 views
Skip to first unread message

norberto...@koyado.com

unread,
Apr 19, 2022, 1:03:04 AM4/19/22
to se...@googlegroups.com

I’m still waiting for DHL to deliver such board by next week or earlier. These are the boards from JLCPCB.COM.

 

 

Thanks,

Norberto

image001.png

Richard Davis Jr.

unread,
Apr 19, 2022, 6:10:19 AM4/19/22
to se...@googlegroups.com
Norbeto,

Thanks for the update.

Rick


--
You received this message because you are subscribed to the Google Groups "SEBHC" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sebhc+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/sebhc/017301d853aa%24be14ce90%243a3e6bb0%24%40koyado.com.

norberto.collado koyado.com

unread,
Apr 19, 2022, 2:33:09 PM4/19/22
to se...@googlegroups.com
It looks that it will be delivered today instead of the 27th! 🙂



From: se...@googlegroups.com <se...@googlegroups.com> on behalf of Richard Davis Jr. <rickdav...@gmail.com>
Sent: Tuesday, April 19, 2022 3:10 AM
To: se...@googlegroups.com <se...@googlegroups.com>
Subject: Re: [sebhc] H8-Dual-CF Controller for HDOS!
 

Glenn Roberts

unread,
Apr 19, 2022, 3:05:41 PM4/19/22
to se...@googlegroups.com

When it rains it pours! Seems like every day there’s a new board arriving!

image001.png

Richard Davis Jr.

unread,
Apr 19, 2022, 3:22:37 PM4/19/22
to se...@googlegroups.com
That is good news. I updated my driver to use 110Q. Still need to figure out how to tie in the slave ide and the second port.
I added slave support logic though.

Rick


norberto.collado koyado.com

unread,
Apr 19, 2022, 4:25:47 PM4/19/22
to se...@googlegroups.com
Yes Glenn! Also, Terry S. received today the "new" HA-8-3 boards. A dense and beautiful board.

So, this week we received about 5 boards between us. 2xH89 and 3xH8.

A lot of soldering at my end...

Norberto

From: se...@googlegroups.com <se...@googlegroups.com> on behalf of Glenn Roberts <glenn.f...@gmail.com>
Sent: Tuesday, April 19, 2022 12:05 PM
To: se...@googlegroups.com <se...@googlegroups.com>
Subject: RE: [sebhc] H8-Dual-CF Controller for HDOS!
 

Glenn Roberts

unread,
Apr 19, 2022, 4:52:03 PM4/19/22
to se...@googlegroups.com

For me the nightmare is always ordering the parts. I know many of you keep a lot of parts on hand but I pretty much order based on the board I’m building.  I keep a small collection of passive components of course, but the ICs are pretty much ordered based on need.  Almost never can get down to a single vendor – often need multiple vendors (especially with today’s supply-side issues).  Even with the Bill of Materials I often have to spend multiple hours putting together the orders.  Of course, once a board is up and running it’s all worth the effort!

image001.png

norberto.collado koyado.com

unread,
Apr 19, 2022, 7:14:20 PM4/19/22
to se...@googlegroups.com
I agree with your assessment! I will use Jameco as my default for these boards BOM unless the part is not available. I will try my best to minimized such situation going forward.

The H8-Dual-CF controller got delivered. Once I get home, I will check it out.

Thanks,
Norberto

Sent: Tuesday, April 19, 2022 1:51 PM

norberto...@koyado.com

unread,
Apr 19, 2022, 10:52:03 PM4/19/22
to se...@googlegroups.com

Hello Rick,

 

The H8-Dual-CF controller is here and it looks great. Attached is a picture of the board.

 

Even, I have not tested it yet, can I send you one, or do you prefer to wait? Which parts you do need?

 

Thanks,

 

Norberto

 

 

H8-Dual-CF-Controller.jpg

Douglas Miller

unread,
Apr 20, 2022, 8:13:26 AM4/20/22
to SEBHC
I had not been paying close enough attention to this project. I now see that it is not at all a GIDE, nor is it a direct-connect CF like the RC2014 cards (https://rc2014.co.uk/modules/compact-flash-module/). So, this is going to require all new software.

I'm inclined to discard my GIDE work, as it appears that is not the future. Where can I get the schematic for this board? I don't see it on koyado.com yet.

Richard Davis Jr.

unread,
Apr 20, 2022, 8:42:32 AM4/20/22
to SEBHC
Douglas,

I already have a driver and support apps for part of the board.
My current driver supports the master CF on the Primary port.
I wire wrapped a single IDE version of the board before Norbeto created the DUAL CF board.
I will be adding support for Slave and the secondary IDE port.
It works well with the original 8080 cpu board.

Rick

Douglas Miller

unread,
Apr 20, 2022, 8:49:56 AM4/20/22
to se...@googlegroups.com

Hi Rick,

I'm assuming you are talking about the HDOS driver. Or at least you are not talking about the CP/M 3 driver. I'm interested to see the schematic so I can model an emulation and work on the CP/M 3 and MP/M drivers, as well as the boot code for the new monitor ROM.

Thanks,
Doug

--
You received this message because you are subscribed to the Google Groups "SEBHC" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sebhc+un...@googlegroups.com.

Terry Smedley

unread,
Apr 20, 2022, 8:53:48 AM4/20/22
to SEBHC
Norberto's newer boards are shown in his new website.  There's a link on the old home page that is easy to miss.

http://koyado.com/heathkit/New-H8-Website/h8-h89-pcb-s.html

tas

Douglas Miller

unread,
Apr 20, 2022, 12:07:04 PM4/20/22
to se...@googlegroups.com

Thanks, I had not read the memo on the new web site! (probably got it, just neglected to read it).

Looking at the schematic, I see that this is not really a CF interface, but rather an IDE interface. Is it being restricted to 16-bit IDE transfers, or is the CF 8-bit mode allowed? It also appears that the data strobes are bit-banged through the 82C55? What mode is the 8255 to be operated in? This would prohibit use of Z80 block-I/O instructions and cut the data transfer rates considerably.

I realize that I'm past the "speak now or forever hold your peace" stage. I guess I should not have made assumptions about this when it was being designed.

Richard Davis Jr.

unread,
Apr 20, 2022, 12:39:02 PM4/20/22
to SEBHC
Douglas,

Originally, there was no intent for the board.
I took it upon myslef to create an IDE interface for my 8080 based H8. I didn't want to spend the money buying all of the boards required to get an IDE interface.
I extracted the 8255 part of the Z67 IDE board and wire wrapped just the 8255 and glue logic required to connect the 8255 to the H8 bus.
I then wrote a driver and also modified Glenn's version of part67 and prep67 to work with the 8255 based solution.
Once I got all of the working, I shared it with the group. Norby asked me if I could get the driver to boot HDOS.
I managed to do that. You do need to boot HDOS via floppy since there is no boot rom.
Once HDOS is booted, you just do "boot ID0:" and now you can run without floppies. ID0: becomes SY0: etc and you can mount multiple partitions.
After I told Norby I got that working he decided to create a board for use on non-z80 H8s. Maybe I am the only non-z80 user.

Yes, bit banging the control bits slows it down but it is still faster and more reliable than using floppies and you have more disk space.
The IDE is using 16 bit data. I use the control register to set/clear port C bits. The biggets pain is when you switch the 8255 mode from input to output and visa-versa, it clears all output data and I have to re-init all of the port C bits because they all get cleared. It is an unfortunate artifact of the 8255.

As far as I know, this is not replacing the GIDE board. It just gives non-z80 users an option to add IDE.

Rick

Joseph Travis

unread,
Apr 20, 2022, 1:07:33 PM4/20/22
to se...@googlegroups.com
  Thank you Rick and Norberto! I'm planning on getting one for my H8 as soon as possible!

Regards,
Joe Travis


20220409_125156.jpg

Douglas Miller

unread,
Apr 20, 2022, 1:14:27 PM4/20/22
to se...@googlegroups.com

OK, I will not plan on providing support for this board. Renegotiation is possible, but may require top-shelf bourbon.

norberto.collado koyado.com

unread,
Apr 20, 2022, 1:41:57 PM4/20/22
to se...@googlegroups.com
Douglas,

I never asked you to port CP/M3 or + to this controller. I build out this board for Rick as a development platform to port HDOS to a different controller as HDOS is only using the H17/H37 and H67 controllers. This is the first time we are booting HDOS on a different controller thanks to Nick passion on such idea. It was painful  but he did get the job done. Thanks to his work, we should be able to port HDOS as needed to other technologies going forward. The same idea applies to Heath CP/M as it only works with the H17/H37 and H67.... 

Now my question to you! After reviewing such schematics how will you improve such controller as we have such much space left? What it takes to take it to the next level?

Thanks,
Norberto

From: se...@googlegroups.com <se...@googlegroups.com> on behalf of Douglas Miller <durga...@gmail.com>
Sent: Wednesday, April 20, 2022 10:14 AM

To: se...@googlegroups.com <se...@googlegroups.com>
Subject: Re: [sebhc] H8-Dual-CF Controller for HDOS!
 

OK, I will not plan on providing support for this board. Renegotiation is possible, but may require top-shelf bourbon.

norberto.collado koyado.com

unread,
Apr 20, 2022, 1:59:25 PM4/20/22
to se...@googlegroups.com
Nice system Joe! Thanks for sharing such beautiful system.

Norby

From: se...@googlegroups.com <se...@googlegroups.com> on behalf of Joseph Travis <jtravi...@gmail.com>
Sent: Wednesday, April 20, 2022 10:07 AM

To: se...@googlegroups.com <se...@googlegroups.com>
Subject: Re: [sebhc] H8-Dual-CF Controller for HDOS!

Joseph Travis

unread,
Apr 20, 2022, 2:00:38 PM4/20/22
to se...@googlegroups.com
Rick,

I'm curious if you are using any HDOS system calls to boot the CF? I wonder how difficult would it be to create a H8T image to boot the CF? Just a thought...

Regards,
Joe Travis n6ypc


Douglas Miller

unread,
Apr 20, 2022, 2:03:43 PM4/20/22
to se...@googlegroups.com

Yes, no one ever asked me to work with this board. I was just projecting... I mistook this board as a replacement for earlier, similar, boards.


As far as "modern" storage on the H8, we seem to have two main technologies: CF and (micro)SD. We have a plan for SDCard in the works. If the GIDE board is remaining an active product, then perhaps we have both covered. I don't see a need to keep re-inventing new ways to connect solid-state storage to the H8. Unless there's a problem with the GIDE.


I suppose one could argue that SAS/SATA is another, but I'm not sure we need to go that far. Then there's NVMe, which I also don't think we need to try. These are just too complex for an 8-bit system, IMHO.

Richard Davis Jr.

unread,
Apr 20, 2022, 2:07:33 PM4/20/22
to SEBHC
Joe,

Funny you should ask. I created an app to do just that. I haven't had a chance to test yet. It worked fine from HDOS without using the boot.abs command.
It will require the panel monitor rom to be xcon-8 or any other panel monitor rom that contains the H17 ROM.

Once I get the new board running, I am going to try it.

Rick

Richard Davis Jr.

unread,
Apr 20, 2022, 2:10:40 PM4/20/22
to SEBHC
Douglas,

I haven't tried SD cards yet but, I do have an IDE to SD card adapter that will plug on to the IDE connector 
and will be trying that after I get this board running.

Rick

Douglas Miller

unread,
Apr 20, 2022, 2:13:48 PM4/20/22
to se...@googlegroups.com

I'd be curious about how an IDE-SDCard adapter works. The SDCards are SPI or at least some hybrid serial/parallel (2 or more serial "lanes") interface. Also, the SDCards do not work on the ATA command spec. Is there a micro-controller on this adapter?

Richard Davis Jr.

unread,
Apr 20, 2022, 2:16:41 PM4/20/22
to SEBHC
Douglas,

The IDE to SD card adapters I have look like it has a processor or an FPGA between the IDE interface and the SD card.

Rick

norberto.collado koyado.com

unread,
Apr 20, 2022, 2:57:57 PM4/20/22
to se...@googlegroups.com
Rick,

I'm using such adapter in my system without any issues as it is easy to insert and take CF cards when doing development. I'm in the process to install two in my H17 chassis and moving the Z67-IDE+ inside the H17 chassis as well. 




From: se...@googlegroups.com <se...@googlegroups.com> on behalf of Richard Davis Jr. <rickdav...@gmail.com>
Sent: Wednesday, April 20, 2022 11:16 AM
To: SEBHC <se...@googlegroups.com>

Douglas Miller

unread,
Apr 20, 2022, 3:30:39 PM4/20/22
to se...@googlegroups.com

norberto.collado koyado.com

unread,
Apr 20, 2022, 3:30:57 PM4/20/22
to se...@googlegroups.com
Maximum cable length is 18" from controller to adapter #1, and from here, 18" more to adapter2.

From: se...@googlegroups.com <se...@googlegroups.com> on behalf of norberto.collado koyado.com <norberto...@koyado.com>
Sent: Wednesday, April 20, 2022 11:57 AM

norberto.collado koyado.com

unread,
Apr 20, 2022, 3:34:11 PM4/20/22
to se...@googlegroups.com
I never got this one to work on the Z67-IDE+.


Sent: Wednesday, April 20, 2022 12:30 PM

norberto.collado koyado.com

unread,
Apr 20, 2022, 3:47:04 PM4/20/22
to se...@googlegroups.com
Douglas,

As the 8080A uses the XCON-8 ROM, can you check if there is enough space left to add boot support for this controller? Also, any code for the H47 can be deleted.

Thanks,
Norberto

 

From: se...@googlegroups.com <se...@googlegroups.com> on behalf of norberto.collado koyado.com <norberto...@koyado.com>
Sent: Wednesday, April 20, 2022 12:34 PM

norberto.collado koyado.com

unread,
Apr 20, 2022, 3:55:41 PM4/20/22
to se...@googlegroups.com

Douglas Miller

unread,
Apr 20, 2022, 4:02:03 PM4/20/22
to se...@googlegroups.com

Just looking at the binary image, the ROM is completely full. Hard to say for sure how much space can be reclaimed from H47. There is a little space for padding to specific addresses that might be used. It really depends on what the code is like to boot from this device (how large it is).

norberto.collado koyado.com

unread,
Apr 20, 2022, 4:11:34 PM4/20/22
to se...@googlegroups.com
Understood. The XCON-8 source file was provided by Terry G. and I see the GIDE support in there. Perhaps see how much code the GIDE is taking to replace it to see if we can push support for this card. This is to help the H8 8080A users with additional storage options. 

We can prototype on the Z80 FW that you support to see how much space will take. I will be building one for my Z80 v4 card and will use the floppy method for now to boot HDOS.

Thank you,
Norberto


Sent: Wednesday, April 20, 2022 1:01 PM

Douglas Miller

unread,
Apr 20, 2022, 4:50:34 PM4/20/22
to se...@googlegroups.com

Curious about one thing related to the Dual GIDE board. I understand that Terry G's GIDE Z80-piggyback requires a Z80, but your Dual GIDE board operates off the H8 bus, right? It should work with any CPU?

Norby

unread,
Apr 20, 2022, 5:15:25 PM4/20/22
to se...@googlegroups.com
Yes! It should work with any CPU. So, you are asking to port HDOS to the GIDE as XCON supports it?

Sent from my iPhone

On Apr 20, 2022, at 1:50 PM, Douglas Miller <durga...@gmail.com> wrote:



Douglas Miller

unread,
Apr 20, 2022, 5:25:23 PM4/20/22
to se...@googlegroups.com

Well, I'm not suggesting anything. It just seems like it's a piece of existing hardware that works for all CPUs and supports two IDE channels (4xCF cards), and we already have code for it. I'm not sure what was done for HDOS and the GIDE, but even if it were written with Z80 instructions it's not too bad to convert back to 8080 (with expected performance loss). I also have not looked at the XCON8 GIDE code, but even if it is not for the same I/O port address, it should be easy to fix.

That doesn't help Rick get his board booting, though.

Richard Davis Jr.

unread,
Apr 20, 2022, 5:34:23 PM4/20/22
to se...@googlegroups.com
Getting the board working for the primary master ide should be a piece of cake since I already prototyped that.

My road block is the other three devices. Are we planning to mount devices from different cf cards simultaneously or are we just booting and using one cf at a time?

Rick


image.png

Douglas Miller

unread,
Apr 20, 2022, 5:59:43 PM4/20/22
to se...@googlegroups.com

I was getting myself confused again about IDE. Looking at the GIDE schematic and ATA-1 specification, it looks like the "Dual GIDE" board is actually one IDE channel with a maximum of two drives (CF cards). Is that correct? It just "presents" those two drives as two separate connectors (for convenience of plugging in CF cards)?

Ricks board, though, seems to be two IDE channels and could potentially support 4 drives?

In neither case can a CF card be connected without the IDE-CF adapter, right?

Richard Davis Jr.

unread,
Apr 20, 2022, 6:23:14 PM4/20/22
to se...@googlegroups.com
Douglas,

Yes the board can handle 4 drives.
As for connecting cf directly I would say yes since the ide to cf adapters i have are basically connector adapters with leds and jumpers to select master/slave and 5 or 3.3v power.
 I also have dual cf adapters that allows two cf cards to be plugged in.  One master and one slave.

Rick


Douglas Miller

unread,
Apr 20, 2022, 6:29:39 PM4/20/22
to se...@googlegroups.com

Right, the adapters have no active components on them. But they do map signals to a different connector with a different pinout. I've also heard that it is possible to get "unreliable" adapters, for whatever reason. But you still have to connect a CF socket adapter to the IDE plug, and need to anchor that to the main PCB if you don't want wobble. As opposed to soldering a CF socket on the PCB directly. That would also eliminate any need to acknowledge IDE at all, for example as done by the RC2014 board - in fact it is strictly an 8-bit mode board, which makes perfect sense since we're talking about 8-bit CPUs with 8-bit data buses anyway.

norberto.collado koyado.com

unread,
Apr 20, 2022, 6:35:32 PM4/20/22
to se...@googlegroups.com
Douglas,

Send me high level schematics to add the direct attached CF socket into the board (2X). It will required surface mount soldering, but small detail as we are moving slowly into that direction.

Thanks,
Norberto

Sent: Wednesday, April 20, 2022 3:29 PM

Douglas Miller

unread,
Apr 20, 2022, 7:38:53 PM4/20/22
to se...@googlegroups.com

There are thru-hole sockets available... one at digiKey:


https://www.digikey.com/en/products/detail/samtec-inc/CFT-125-01-L-D-RA-01-SL/6677950


I think the schematic would be based on whatever they do for the IDE-CF adapters. We'd just route the appropriate IDE signals to the pads on the CF-socket footprint. I've not found one that published a schematic. I did find this:


https://allpinouts.org/pinouts/cables/data_storage/ide-to-compactflash-cf-adapter-schematic/


Have not looked through these connections in-depth.


I'm not trying to force any changes here, but just bring it up for discussion. It just seems as though (based on the RC2014 design) it is reasonable to connect a CF card in a "8-bit only" configuration, which would eliminate a lot of components, GALs, etc. If it is reasonable to eliminate the option of connecting an IDE spinning HDD (can you even buy new ones anymore? There might be SSDs). If IDE doesn't really give us anything, seems to me we could live with CF-only just fine. Of course, the boards are already designed, so I'm not keen on making extra work or waste.

Norberto Collado

unread,
Apr 20, 2022, 8:33:57 PM4/20/22
to se...@googlegroups.com

This is cool Douglas having the thru-hole sockets, thank you. I was looking at the RC2014 schematic and they short to ground the address lines, except A2-A0. How much storage can you get out of this configuration?  How this works?

 

Diagram, schematic

Description automatically generated

 

Thanks,

Norberto

Error! Filename not specified.

Norberto Collado

unread,
Apr 20, 2022, 8:40:45 PM4/20/22
to se...@googlegroups.com

Analyzing the RC2014 schematics, all the signals are on the 82C55, so we just take it out for now the 82C55 and insert a board with such CF connector and done, to prototype it.  Just like Terry S. did for the I2C IC.

Douglas Miller

unread,
Apr 20, 2022, 8:55:48 PM4/20/22
to se...@googlegroups.com

Yes, it might be that simple - to prototype.

The address lines, at least in the mode we use, are for register select. Only the bottom 3 are used. I'm no expert at the CF specification, so I'm not sure why those higher address lines even exist. I seem to recall something about the standard PC I/O address being decoded there. Storage is accessed through the LBA in the commands, so we have more than 16 bits (i.e. 28 bits). CS1 is tied high as the two "extra" registers accessed by that aren't really needed, or at least not usually. That means they only need 8 ports instead of the 16 for GIDE. Although, if you want to support more than 2 CFs then you'll need some sort of selector port (or another 8-port range). Like you did with the IDE sockets, CSEL will need to be "0" and "1" on the ports to select drive 0 and 1.

Norberto Collado

unread,
Apr 20, 2022, 9:19:08 PM4/20/22
to se...@googlegroups.com

I got it now. It is using 8 bit mode and a maximum of 128MB will be available. For CP/M a 128MB card is split in to 15 x 8MB drives and 1 x 2MB drive. That should work fine for Quikdata boot loader.

 

4x128 = 512MB  max.

 

At least we can still buy the 128MB from Transcend at $16+.

 

Graphical user interface, text

Description automatically generated

Douglas Miller

unread,
Apr 20, 2022, 9:30:55 PM4/20/22
to se...@googlegroups.com

I'm not finding any restriction on storage capacity in 8-bit mode. You still have 28 bits for the LBA, which should be 128GB. The version of CP/M being run may have limitations, like 16x8MB partitions = 128MB. The CP/M I saw has hard-coded DPBs using the first ~128MB of the CF. But, software in general should be able to access 128GB as far as I know.

Norberto Collado

unread,
Apr 20, 2022, 10:20:37 PM4/20/22
to se...@googlegroups.com

I'm not finding any restriction on storage capacity in 8-bit mode. Much better and thank you for the clarification. I will order today the right angle socket and will use the H8-Dual-CF controller to add such connector. Which I/O address can you use to boot at least CP/M3 on the Z80 v4 board for POC?

Norberto Collado

unread,
Apr 20, 2022, 10:26:04 PM4/20/22
to se...@googlegroups.com

Ordered parts + other pending parts.

 

Graphical user interface, application

Description automatically generated

Douglas Miller

unread,
Apr 20, 2022, 11:00:27 PM4/20/22
to se...@googlegroups.com

So, the GIDE put the standard CF registers at base+8, and we were using 0x80 as the base I/O port, so that means we'd need the CF card to be based at 0x88 in order to have the software work... I think... without modification. I'll have to check the status of the last CP/M 3 GIDE image I made - I have not run that in quite awhile. The Z80 v4 ROM should already have GIDE boot in it, at the same I/O address.

norberto...@koyado.com

unread,
Apr 21, 2022, 12:09:38 AM4/21/22
to se...@googlegroups.com

The Z80-V4 board works fine with the GIDE board at base 0x80 using CP/M3 OS. So, I will change the port to 0x88 for POC.

 

Thanks,

Norberto

image001.png
image002.png

norberto...@koyado.com

unread,
Apr 21, 2022, 2:51:30 AM4/21/22
to se...@googlegroups.com

Let me re-phase: I will change the port to 0x88 for POC on the H8-DUAl-CF controller to test the changes with CP/M3.

image001.png
image002.png

Douglas Miller

unread,
Apr 21, 2022, 9:27:15 AM4/21/22
to se...@googlegroups.com

Regarding the CF socket, even though it is thru-hole it may not be a picnic to solder, with the pins on a 0.05x0.125 matrix - still better than the 0.025-spaced fingers on the surface mount.

I seem to recall that some PCB fabs would offer to do (partial) assembly as well. Is it possible to use surface-mount sockets and have the PCB manufacturer solder them on? No idea what that costs, if they do offer it.

Dave McGuire

unread,
Apr 21, 2022, 9:54:35 AM4/21/22
to se...@googlegroups.com
On 4/21/22 09:27, Douglas Miller wrote:
> Regarding the CF socket, even though it is thru-hole it may not be a
> picnic to solder, with the pins on a 0.05x0.125 matrix - still better
> than the 0.025-spaced fingers on the surface mount.
>
> I seem to recall that some PCB fabs would offer to do (partial) assembly
> as well. Is it possible to use surface-mount sockets and have the PCB
> manufacturer solder them on? No idea what that costs, if they do offer it.

Nobody wants to believe this, but once again, these are actually
really easy to solder.

I think the mistake that people make is that they assume that one
solders each pin individually.

I'm willing to solder these for people if they want to pass them
through me. They typically take 2 to 3mins to solder. This sort of
thing is part of what I do for a living, but I'm willing to do it for
people here for free.

-Dave

--
Dave McGuire, AK4HZ
New Kensington, PA

Douglas Miller

unread,
Apr 21, 2022, 10:04:08 AM4/21/22
to se...@googlegroups.com
Yeah, and I'm guessing you've got a hot-air soldering station as well? I
just think of myself with a full-contact soldering iron trying to remove
the inevitable solder bridges.

I suppose, if we decide to go with surface mount sockets, we could ship
the fresh boards to Dave (and other volunteers) to have the sockets
added, then on to Terry for holding until people order them.

norberto...@koyado.com

unread,
Apr 21, 2022, 10:25:00 AM4/21/22
to se...@googlegroups.com
Thank you Dave for your support on SMD.

Norberto

-----Original Message-----
From: se...@googlegroups.com <se...@googlegroups.com> On Behalf Of Dave McGuire
Sent: Thursday, April 21, 2022 6:55 AM
To: se...@googlegroups.com
Subject: Re: [sebhc] H8-Dual-CF Controller for HDOS!

--
You received this message because you are subscribed to the Google Groups "SEBHC" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sebhc+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/sebhc/5d86e4f8-44f5-ae37-561f-5358f271273b%40neurotica.com.

Dave McGuire

unread,
Apr 21, 2022, 10:50:44 AM4/21/22
to SEBHC
On 4/21/22 10:04, Douglas Miller wrote:
> Yeah, and I'm guessing you've got a hot-air soldering station as well?

I do, as well as an infrared reflow oven, but components like these
sockets are best soldered with an iron.

> I
> just think of myself with a full-contact soldering iron trying to remove
> the inevitable solder bridges.

(I'm not trying to get in your face here, I promise.)

You see, this is where these long-held misconceptions come rushing
in. Removing the solder bridges is probably the easiest part!

You hold the component in place, if necessary by soldering one pin
individually, or perhaps one on each side. With these sockets in
particular, solder the hold-down tabs on the "front" side to immobilize
it. Then, draw a bead of solder across the pins, ALL of them at once,
by sliding the iron tip across them and feeding solder simultaneously,
from one side to the other. You'll quickly learn how fast to move the
iron and how fast to feed the solder.

If the PCB has proper solder mask, it's possible to do this in one go
and create no solder bridges at all, but most of the time there will be
at least one or two. Dab them up with solder wick, and watch surface
tension do its work to make the joint clean.

It's important to have a proper soldering iron to do this (but that's
good advice in any situation), no $10 Amazon specials here. The tip
must be clean and in good condition with no pitting.

Two to three minutes, including cleanup. No joke.

> I suppose, if we decide to go with surface mount sockets, we could ship
> the fresh boards to Dave (and other volunteers) to have the sockets
> added, then on to Terry for holding until people order them.

That works for me.

Dave McGuire

unread,
Apr 21, 2022, 11:01:55 AM4/21/22
to se...@googlegroups.com

It's my pleasure to help.

-Dave
> To view this discussion on the web visit https://groups.google.com/d/msgid/sebhc/032f01d8558b%2492694fe0%24b73befa0%24%40koyado.com.

Douglas Miller

unread,
Apr 21, 2022, 11:05:17 AM4/21/22
to se...@googlegroups.com
Respect, Dave. I'm sure I could do it, but prefer to leave it to
professionals! I've seen some work done by "kit builders" out there (not
SEBHC, of course) that definitely couldn't do it. Definitely need the
right soldering iron. Reminds of my Calculus teacher in High School when
students would complain about making something fit on the page: "It's
hard using those fat crayons!". This was before people got fired and
banished to the netherworld for less.

Norberto Collado

unread,
Apr 21, 2022, 3:28:03 PM4/21/22
to se...@googlegroups.com

Douglas,

 

On seconds thoughts I do not need the 50 pin CF connector. I can use the same 40 pin connector that connects to the 40 pin CF card adapter and just bypass the 8255 IC. Is this assumption correct?

 

Something like this:

 

A picture containing text, electronics, indoor, circuit

Description automatically generated

Thanks,

Norberto

    --

    You received this message because you are subscribed to the Google Groups "SEBHC" group.

    To unsubscribe from this group and stop receiving emails from it, send an email to sebhc+un...@googlegroups.com.

Douglas Miller

unread,
Apr 21, 2022, 3:55:04 PM4/21/22
to se...@googlegroups.com

Yes, one could do that and use the 40-pin header like before. I thought there was some advantage to eliminating the adapter, though. Maybe the new board could provide pads for the 40-pin IDE header as well as a CF-socket.

I thought I had heard talk about "bad adapters" before, or availability issues, or just clearance concerns. It really depends on what people want, though. I think my main point was that we don't need all that extra circuitry, be it 82C55 or "GIDE", between the bus signals and the CF card. As long as we aren't trying to support legacy IDE devices.

norberto.collado koyado.com

unread,
Apr 21, 2022, 4:19:47 PM4/21/22
to se...@googlegroups.com
Yes, I had a few bad adapters that failed to work (brand new). Also, I had seen where I need to take the adapter out, put it back to get it to work again. Overtime, I think, not sure, its losses contact with the IDE 40 pin connector. Perhaps poor quality or flux inside the female pins. 

Because of the above, then I will proceed with the CF-socket as I ordered four of them. On the H8 full size board, I think four of them will fit nicely.

I will need your help to test this before I update the board.

Norberto


Sent: Thursday, April 21, 2022 12:54 PM

To: se...@googlegroups.com <se...@googlegroups.com>
Subject: Re: [sebhc] H8-Dual-CF Controller for HDOS!
 

Yes, one could do that and use the 40-pin header like before. I thought there was some advantage to eliminating the adapter, though. Maybe the new board could provide pads for the 40-pin IDE header as well as a CF-socket.

Douglas Miller

unread,
Apr 21, 2022, 4:59:59 PM4/21/22
to se...@googlegroups.com

If there are 4 CF sockets, we'll need a way to "select" between master/slave pairs. That will be one (more) I/O port and at least 1-bit (flipflop) to contain the "select A" or "select B" signal. If we are only using 0x88-0x8f for the CF cards, then we could use anything in the (previously GIDE) range 0x80-0x87. To be safe, and avoid software incompatibility, we could choose something that GIDE did not use, like 0x80. We could choose to also permit access to the GIDE registers at 0x86 and 0x87 by adding a CS1 connection.


Or have I missed something about the GIDE? From what I can tell, right now it can support only two drives since there is only one IDE channel.

Norberto Collado

unread,
Apr 21, 2022, 5:41:08 PM4/21/22
to se...@googlegroups.com

I was thinking more in getting 4x masters as some CF cards will not play well as slave. So, slave is out to be able to use any CF card as master.

 

The new GIDE supports 4x CF cards. I will post the files online as it is ready to order some prototypes. I will find the ports being used or will be eventually used.

 

Thanks,

Norberto

Douglas Miller

unread,
Apr 21, 2022, 5:49:16 PM4/21/22
to se...@googlegroups.com

OK, so we'll need a "1 of 4" selector: two bits and a decoder, or 4 bits to direct-select. Basically, like what we did on the H8xSPI adapter, adding "select" bits to add more devices.

[photo deleted]

Richard Davis Jr.

unread,
Apr 21, 2022, 6:14:50 PM4/21/22
to se...@googlegroups.com
Umm. I am confused here. Mater/slave is a function of the ide bus. Are we tieing 4 devices to one connector now?
Rick


Douglas Miller

unread,
Apr 21, 2022, 6:58:59 PM4/21/22
to se...@googlegroups.com

It's no longer an IDE bus, but rather a set of CF cards that are bused together. They would all be strapped for "drive 0" but we'd have to use a separate I/O port to individually select the desired CF card's CS0 line. Similar to what was done on legacy floppy controllers or what is done on SPI buses.

Richard Davis Jr.

unread,
Apr 21, 2022, 7:40:54 PM4/21/22
to se...@googlegroups.com
It looks like it is now an 8 bit IDE bus? If that is the case, that frees up 8 lines of 8255 port B
Rick


You received this message because you are subscribed to a topic in the Google Groups "SEBHC" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/sebhc/imxfvMnNSvs/unsubscribe.
To unsubscribe from this group and all its topics, send an email to sebhc+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/sebhc/5f31a58f-ea6e-de0c-77ce-e233610b090d%40gmail.com.

Douglas Miller

unread,
Apr 21, 2022, 7:49:39 PM4/21/22
to se...@googlegroups.com

Yes, except in this case we're talking about directly connecting the CF cards to the H8 bus (more or less). CF cards are essentially an I/O device themselves, with chip-select lines and tri-state outputs, etc. They can be directly connected to the bus the same way an INS8250 UART (or any other peripheral) chip would. Since we're not doing DMA or any other special IDE features, we don't need an IDE controller/bus. And since this is an 8-bit CPU and bus, we don't need special circuitry to multiplex 16-bit data (because CF cards support 8-bit mode).

Richard Davis Jr.

unread,
Apr 21, 2022, 8:01:11 PM4/21/22
to se...@googlegroups.com
OK. Sounds simple enough. Will definitely make my driver less complicated and smaller without having to bit bang the control lines. It was a real pain getting the read only device driver to fit in 512 bytes for booting.

norberto.collado koyado.com

unread,
Apr 21, 2022, 9:14:56 PM4/21/22
to se...@googlegroups.com
Yes it will less complicated than using the bit bang process.

Douglas,

The new GIDE is using the following ports:

0x80
0x90



From: se...@googlegroups.com <se...@googlegroups.com> on behalf of Richard Davis Jr. <rickdav...@gmail.com>
Sent: Thursday, April 21, 2022 5:00 PM

Douglas Miller

unread,
Apr 21, 2022, 10:00:06 PM4/21/22
to se...@googlegroups.com

OK, may need to see more of the schematic but it looks like essentially 2 IDE channels. So, if you have to run CF cards as "master" (drive 0) then that's only two CF cards, right? You did say there were issues when running a CF as a slave, right?


I guess one big question is, do we want to make this "direct CF" board software compatible with the GIDE? (can we accomplish that?) There may be some subtle differences, if someone were writing software that expected an IDE drive, but I think for existing software we can get pretty close.


Depending on the details for that GAL, we may want to re-use it for the direct CF approach. It really depends on how we want to support 4 CF cards (I'm wondering if it's really necessary to support 4, or is 2 really (more than) enough?).



On 4/21/22 20:14, norberto.collado koyado.com wrote:
Yes it will less complicated than using the bit bang process.

Douglas,

The new GIDE is using the following ports:

0x80
0x90


Norberto Collado

unread,
Apr 21, 2022, 11:37:46 PM4/21/22
to se...@googlegroups.com

Two should be fine as masters. There is so much real state on this board, that I will need to figure out what else I could add if we go with two. I just want to wire this baby as in the RC2014 board, just direct wiring with slave disabled. The only GAL is for the I/O decoder.

 

Here is a better idea. Just wired two CF sockets and move the SD circuit from the NEW CP/Net controller and just leave the old CP/Net controller as it is. So, this board will have the 2 CF cards and the 2 SD cards for additional storage. I think this is more practical and provides better alternatives than floppies. A better, elegant, and simple design.

 

All four cards at the top and the logic below.

 

 

Norberto Collado

unread,
Apr 21, 2022, 11:58:04 PM4/21/22
to se...@googlegroups.com

I will build out this controller and just add one of the CF connectors once I get them to test the timing on such controller. Rick is using I/O address 110Q for first master for HDOS. Let’s use this address to prototype one CF connector. Once is working/booting CP/M3 or even HDOS, then I will generate a new controller with 2x CF cards and 2X SPI SD cards for additional storage.

Douglas Miller

unread,
Apr 22, 2022, 8:20:12 AM4/22/22
to se...@googlegroups.com

If we're going to go this route, combining SPI/SDC and CF, I'd suggest using ports 0x80/0x81 (200Q/201Q) for the SPI logic, and use the extra 2 bits in the SPI control register for the CF select. Then keep the CF ports at 0x88-0x8f (210Q-217Q). The previous GIDE logic used only ports 0x86-0x8f. Since this board has completely different semantics than Rick's, I don't think it makes sense to use port 110Q. The IDE/CF I/O semantics really don't work well for cases where the base I/O address is not a constant (since the 8080/Z80 does not have indexed I/O instructions), so I'll resist the idea of having separate I/O ranges for each CF card. It is possible, but it's messy plus we don't have that many open I/O addresses on the H8 anymore.

How many people are currently using one of the GIDE boards? The ROM and CP/M 3 code does not support the second IDE channel (0x90-0x9f), so nothing there is expecting that. The GIDE code currently expects the second drive to be "slave", which supposedly does not work for CF cards so I would assume it's not being used. I'm trying to gauge whether anyone would be affected by a change is semantics for the second CF card.

Joseph Travis

unread,
Apr 22, 2022, 9:53:16 AM4/22/22
to se...@googlegroups.com
There's now 60+ emails in this thread and I'm lost.  Is the H8-Dual-CF Controller now defunct even before being released?

Regards,
Joe Travis n6ypc


Dave McGuire

unread,
Apr 22, 2022, 12:10:21 PM4/22/22
to SEBHC

Fair enough. I'm only trying to make the point that, really, anyone
CAN actually do this. It should not be considered a barrier. I'm
willing to assist anyone who wants to learn how.

-Dave

Norberto Collado

unread,
Apr 22, 2022, 1:51:44 PM4/22/22
to se...@googlegroups.com

I won’t say that! We are brainstorming what new features or updates it will need for the next version of such board. Also we need to build out this board to test the logic and timing to be correct. Afterwards move to the updates.

Joseph Travis

unread,
Apr 22, 2022, 3:08:18 PM4/22/22
to se...@googlegroups.com
Thanks Norberto,

The funny thing is, I was in the process of building a 8255 board that would displace one of the 8250s on my H8-4 Serial I/O board when Rick announced his design for the 8255 -> IDE interface.  I was going to keep mine very generic so I could interface it to a variety of projects (parallel printer, voice / sound synthesizer, whatever).  I held off to see what Rick had done in case I wanted to duplicate it.

I like that he developed a software approach to booting the CF as that allows a lot of flexibility and doesn't require a firmware change (that often sacrifices something in order to do something else).  I believe that would be easy to port to the H89 as well (I'm contemplating building a board for that too).

I'd still like to get the dual CF controller for my H8 and look forward to using it.

BTW Rick - Yes, others still use the original 8080 CPU board and very much appreciate your efforts!

Regards,
Joe Travis n6ypc


norberto...@koyado.com

unread,
Apr 22, 2022, 4:12:56 PM4/22/22
to se...@googlegroups.com

Also we have the 8255 I/O module as well designed by Terry S.

 

http://koyado.com/Heathkit/H8-82C55-PPIO.html

 

image001.jpg
image002.jpg
image003.jpg

norberto...@koyado.com

unread,
Apr 22, 2022, 4:14:35 PM4/22/22
to se...@googlegroups.com

After Rich verifies the H8-Dual-CF board is working fine, we can share one board with you as we have 3 left.

 

Norby

 

Subject: RE: [sebhc] H8-Dual-CF Controller for HDOS!

 

Also we have the 8255 I/O module as well designed by Terry S.

 

http://koyado.com/Heathkit/H8-82C55-PPIO.html

 

 

Thanks,

Norberto

 

 

 

From: se...@googlegroups.com <se...@googlegroups.com> On Behalf Of Joseph Travis


Sent: Friday, April 22, 2022 12:08 PM

image001.jpg
image002.jpg
image003.jpg

norberto...@koyado.com

unread,
Apr 25, 2022, 2:52:08 AM4/25/22
to se...@googlegroups.com

Douglas,

 

The 50 pin thru-hole CF connectors arrived today and they look great. I had to update to KiCad 5.0 as I had problem loading footprint with version 3, 4, and 6. Version 5 seems to be fine. With version 5, it cannot read my old schematics, so I cannot import..

 

I just started to play with V5 and it is easy to manage.

 

Here is me just playing with it (SD card adapter & 50 pin connectors)

 

 

Thanks,

Norberto

image004.png

Douglas Miller

unread,
Apr 25, 2022, 7:58:34 AM4/25/22
to se...@googlegroups.com

Looking good! I've got the simulator changes for the CF cards done, and converted the new ROM gide boot over to CF. Just a matter of doing the same conversion to the CP/M 3 drivers and I'll have a bootable CP/M 3 image ready. You should be able to test on a pretty simple CF card setup. Just need to do the I/O decoding for /IOR and /IOW on ports 0x88-0x8f, and can hard-wire the /CS0 for testing purposes. Of course, there's probably no prototyping board pattern that will fit the CF socket pins.

--
You received this message because you are subscribed to the Google Groups "SEBHC" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sebhc+un...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages