CalamityLime wrote on 2023-02-19, 18:43:Curious.
Now I would wonder if you force a pullup on pin34 to see if there is a change.
For a pullup you would want to connect […]
Show full quote
eesz34 wrote on 2023-02-19, 17:54:
EDIT: pulling the disk change line to ground doesn't change the state of the register per debug.
Curious.
Now I would wonder if you force a pullup on pin34 to see if there is a change.
For a pullup you would want to connect pin 34 through a 10k resistor and maybe a diode to 5v.
It might seem a bit weird but from my own messing around with a floppy drive and breadboard, I've noticed that 3.5 floppies give their signal lines much less current compared to the 5.25 and goteks. There isn't enough current to light an led and even a cheap multimeter has too much impedance and cannot measure the signals at all, some floppy drives are worse than others. I'd be curious if it's a case of the super io chip is just being really insensitive or something.
Assuming you've already checked that it's not a physical issue with the superio chip not getting the signal in the first place and you don't have a gotek handy since that would do too.
Now this is just my own thinking, I wouldn't think an insensitive super io chip is very likely. Though depending what you're measuring the signals with, it might be worth putting a Schmitt trigger between the floppy drives and the instruments.
I believe I have those possibilities eliminated. I have measured the voltage right at pin 57 of the Super I/O which is /DSKCHNG, referenced to power supply ground. It changes between close to 5V and under 0.2V, so well within the logic high and low levels. This is with a pretty good meter. The pullup on the controller is 150 ohms so it's quite stiff, and from looking at a floppy drive schematic the disk change line is an open collector, so given the pull-up, I wouldn't expect it to be able to source anything.
I do have a Gotek, but it's in a different computer. Anyway I have tried a 1.44MB drive and a 1.2MB, and they both cause the same behavior. However in both cases the disk change line is going low when the drive is accessed, and it's not moving the heads unless I clear the directory cache with CTRL-C.
As this MB had some sort of custom non-bootable BIOS when I got it, I had to replace the BIOS. I thought that may have something to do with it, but I tried a totally different BIOS and the problem still exists. The BIOS I'm using now is AMI, and I tried a C&T BIOS. They are both for the correct chipset, and both have this floppy problem (or not, depending if DOS is reading the floppy controller directly or not). The MB has absolutely no integrated I/O.
For what it's worth, I just tried reading port 0x3F7 on another computer and it always reads 0x40, regardless of if I changed the disk or not, and regardless of whether I have a disk in the drive. So not sure if this is a good method to use.