You're right, I looked it into it myself and I'd come to the erroneous conclusion it could host both kinds of disk based on some poorly-worded sources.Yeah, I've tried it, and the 5.25 drive doesn't show any signs of life at all. I was also told by a couple of other people with Lirons that it wouldn't work.
So, here's where my point basically is. The Apple II's bus slot has 50 pins and a DIP-package IWM has 28, but the IWM only communicates with the computer using 16 pins. Googling up a picture of a Liron card it looks like it consists of an IWM, a ROM, a 74LS245 octal bus transceiver (kind of curious why it needs that), and some NAND gates which I assume are there to decode the ROM and device address spaces. (The Apple II's slots are already partially decoded.) The IWM itself needs access to an 8 bit bidirectional data bus, four address lines (one of which also effectively acts as the read selector), a device select, a couple clocks, and a reset line.- A CPLD or FPGA. Design #2 needs the CPLD to emulate the IWM. I don't think it's possible to emulate the IWM entirely in a microcontroller, for the same speed reason as the ROM. Design #1 also needs a CPLD to act as basic glue. There are too many signals on the Apple II bus to send them all over that 20-pin floppy cable without some kind of intermediate buffer or logic.
As you note, it's pretty sketchy to try to directly follow the 1mhz signals on the Apple II's bus with perfect synchronicity by just bit-banging lines with an MCU. (We're looking at cycle times in the 250ns ballpark.) That's why you want a CPLD and, well, you have one in the floppy EMU, right? The IWM has 5 8-bit registers (state, mode, status, handshake, and data), so... again, just skimming the documentation it looks to me if your CPLD can latch those registers and keep them updated with latency less than a few microseconds emulating the IWM directly on the FloppyEMU hardware should be doable. So... *if* that's the case, then it seems to me you should be able to make a card that combines both approaches, IE, it uses the ROM and most of the rest of the schematic from the Liron card, but the interface to the FloppyEmu is at the "IWM socket" level instead of the disk port level. The one thing you lose is the ability to drive "real" disks with the card, but considering the only thing the Liron is really good for is the UniDisk 3.5" and a few vanishingly rare SmartPort hard drives would that really be a loss? Of course, this idea falls down if you don't have 16 available I/Os on the FloppyEMU's 20 pin port(*). (* Or maybe more like 14. I kind of suspect you don't really need the clock inputs, since you're not actually going to be driving the IWM's internal state machine.)
Anyway, yes, in the end the card doesn't have a much lower parts count than a replica Liron (it's just missing the IWM itself), but not needing an IWM is the whole point. The 74xxx logic is dirt cheap.
Last edited by a moderator: