Announcing the 'IWMless' IWM substitution - call for beta testers

77 posts / 0 new
Last post
PTB
Offline
Last seen: 10 hours 11 min ago
Joined: Aug 14 2020 - 07:01
Posts: 124
Magnificent!

Magnificent!

Offline
Last seen: 15 hours 14 min ago
Joined: Jul 5 2018 - 09:44
Posts: 3077
I miss Byte too.  It is cool

I miss Byte too.  It is cool that pretty much all the issues of it are availabe in PDF on archive.com

 

Offline
Last seen: 2 months 3 weeks ago
Joined: May 26 2025 - 16:10
Posts: 51
Uncle Bernie

Uncle Bernie really deserves a frontpage of a worldwide magazine!

Khaibitgfx's picture
Offline
Last seen: 10 hours 42 sec ago
Joined: Jun 29 2019 - 20:02
Posts: 341
How about a retro apple released manual?
Offline
Last seen: 3 hours 19 min ago
Joined: Jul 25 2025 - 21:54
Posts: 43
Until it became PC Magazine

I miss Byte before it became PC Magazine. ;-)

Khaibitgfx's picture
Offline
Last seen: 10 hours 42 sec ago
Joined: Jun 29 2019 - 20:02
Posts: 341
linuxha wrote:I miss Byte
linuxha wrote:

I miss Byte before it became PC Magazine. ;-)

Both of which are now history!

Offline
Last seen: 15 hours 14 min ago
Joined: Jul 5 2018 - 09:44
Posts: 3077
Earlier this week I received

Earlier this week I received a package from Uncle Bernie containing an IWMless test card.

 

I can verify that I have booted up several different 32MB ProDOS images with my BMOW FloppyEmu Rev C and it so far works flawlessly.  And it is pretty fast too.

 

Testing with VIBR's floppy emulator device has not been as successful, although it seems to work OK with a real LiRON card.  I'm not sure why yet.  It does seem like some 32MB images work better than others and some firmware versions work better than others.

 

Uncle Bernie tells me that VIBR will be testing also and hopefully with firmware updates it will be flawless soon as well.

 

I wish I had a Unidisk 3.5 to test, but alas, I've never had one (I used Central Point/VTech/Laser 3.5" drives with their UDC back in the day).  I got my LiRON separately and until now had never been able to get it to work, but that was just me, I didn't have the floppy emulators set up right aparently.

 

 

Offline
Last seen: 2 days 6 hours ago
Joined: Apr 1 2020 - 16:46
Posts: 1336
On the current state of the project

Hi fans -

 

While the various propaganda pictures posted by 'Khaibitgfx'  in posts #47, #51, #55 above look nice, they are a bit off topic for this 'beta test thread', as they seem to imply 'victory' for the 'IWMless', which would only be true if all the beta tests were completed (they are not !) and yielded results which allow to start production (a milestone not yet reached).

 

So let's better stay honest (no propaganda pictures anymore !) and stick to the facts:

 

'IWMless' ON APPLE IIc PLATFORM

 

- as of today, only (!) four (!) Apple IIc have been repaired by replacing a dead original IWM with an 'IWMless' beta test unit. This count of four includes my own Apple IIc, so only three beta testers so far. The feedback from beta testers is in this thread:

 

https://www.applefritter.com/content/results-reports-iwmless-beta-testers

 

- one further beta tester is still struggling to make his Apple IIc work after the replacement, but this seems to be no 'IWMless' problem so far, it looks as if this Apple IIc has more bad ICs other than the dead original IWM.

 

'IWMless' ON APPLE IIe / 'Liron' CARD PLATFORM

 

- two examples of the 'IWMless TEST CARD' have been populated so far and they are now being tested to see if the 'IWMless' could work in a 'Liron' style card. I have one of these two, and 'softwarejanitor' has another one. The third empty PCB is on its way to 'VIBR' in France, so he will eventually have a test platform to make his floppy emu work with it.

 

- 'softwarejanitor' had some success with running TOTAL REPLAY, see his post #58 above, but with my own 'IWMless TEST CARD' which is identical to 'softwarejanitor's card I saw some freezes and crashes of TOTAL REPLAY.

 

CURRENT STATUS SUMMARY

 

While the repaired Apple IIc so far look good, the tests with the 'IWMless TEST CARD' already have reveiled some issues which question the functionality of an 'IWMless' in such a card. And because the 'IWMless TEST CARD' is a 100% identical circuit and firmware copy of the original 'Liron' card, except that it has two 20-pin headers instead of the DB-19 connector to attach floppy disk drives or floppy disk emulators, this also implies that the 'IWMless' in its current form probably can't fix original 'Liron' cards having a dead original IWM. I don't deem this to be catastrophic, because fixing 'Liron' cards was not an initial mission objective for the 'IWMless' - all I wanted is a viable solution to fix Apple IIc having a dead IWM. The potential opportunity to fix 'Liron' cards appeared later, and requires further investigations to see if this is possible at all.

 

WHO IS THE CULPRIT ?

 

The big question, as always, is "who is the culprit". My take on this is that the whole 'SmartPort' complex is a really rotten engineering rathole full of wonky and unreliable hardware, firmware and software. My IWM reverse engineering work has exposed nasty bugs in the original IWM and my decision to fix them may have caused some incompatibilities, who knows - this typically happens  when software was 'hacked' to dodge a hardware bug and to make everything work, everybody is happy, until later, the hardware bug is found and fixed, and then the hack doesn't work anymore as expected and instead of making the system work breaks the system. Alas, this is how bug fixes can break things - I have seen enough engineering documents explaining hardware flaws in ICs which must not be touched to keep everything out there in the field working.

 

(No good because now you have to design that same bug into all the ICs of the same family forever and ever. TELETEXT is one of the known examples for that - the first generation of these ICs made by Philips had bugs and unexpected behaviours and because the TV studio side had developed and deployed hacks to dodge these bugs, all the knockoff TELETEXT ICs made by other companies had to have the very same bugs, too. An engineering nightmare !)

 

Note that the Apple IIc (the primary target) is a very closed machine with not much variability. Plug in the ROM 4 upgrade and you are good to go and use 'SmartPort'. There are NO other variables in this game, as long as it's an Apple IIc. 'SmartPort' won't work with ROM FF (the first firmware version for the Apple IIc) and ROM 4 is believed to be the latest and greatest firmware version where 'SmartPort' works well enough to be useful. Consequently, I was able to run TOTAL REPLAY hosted on a BMOW Floppy Emu on my 'IWMless' equipped Apple IIc with ROM 4 upgrade 24/7 and no trouble.

 

But anything 'Liron'-ish on the Apple IIe or Apple II+ is wonky, with or without the 'IWMless', mind you - I always try both the original IWM and the 'IWMless'. Every possible combination of slot number, drive number, CPU type, TOTAL REPLAY version was tried, and some either refuse to start at all, or only run briefly, or run for a few hours, before it hangs or crashes.

Now, tell me who is the culprit ? - I could not tell, as it also happens with the original IWM.

 

ISSUES WITH WONKY 'Liron' BANK SELECT

 

More disturbing, I found out that the 2k ROM bank select mechanism of the 'IWMless TEST CARD' does not work flawlessly on my Taiwanese PC-48 Apple II clone. The activation of the 2k ROM page works, but then , when the 2k ROM is accessed, it will turn off at some point (at the same address, and not only when accessing $CFFF). This also depends on the type of the CPU, NMOS or CMOS. I'm still investigating what is wrong there. The very same 'IWMless TEST CARD' works fine in the Apple IIe, as far as the 2k ROM bank select mechanism is concerned. And the bank select circuit is the same as in the original 'Liron' card. Maybe it's a timing problem in this particular PC-48 Apple II clone.

 

A CAN OF WORMS ?

 

So you can see that the whole 'SmartPort' complex seems to be  a can of worms, aka "engineering rathole". I can explain some of the problems and know remedies for them, but so far some of the weird behaviour can't be explained (in a "root cause" sense).

 

DID 'SmartPort' EVER WORK RELIABLY ?

 

I have a hunch that the whole 'SmartPort' design may be botched and never did work all too well, and this might be the reason why Apple may have decided to not support it any further and to not sell a 'SmartPort' based HDD for the Apple II family. The equivalent to this is Atari's "Parallel Port" of their Atari XL and XE family which, despite of having fancy specs and built in firmware-in-ROM support for "Parallel Port Devices", it never really worked and so they never made and sold any such devices - the only thing that worked was the Atari 1064 memory expansion module for the 600XL, and this is not a true "Parallel Port Device" as specified by their documentation full of untested functions that never worked as intended.

 

WHAT CAN WE DO ?

 

It boils down to more testing and analysis work on the 'IWMless TEST CARD' to find out why the hangs and freezes do occur. Once root cause is found, the software/hardware/firmware/'IWMless' RTL may be patched to make it work. This might mean that there may be two versions of the 'IWMless', one which works in the Apple IIc, and one which works in the 'Liron' card. Who knows.

 

THE 'softSP' TESTS

 

I've also looked into softSP operation (I finally got one softSP specimen) with the 'IWMless' and it almost works if the 'IWMless' is put into 'compatibility mode' where it emulates a DISK II controller. Alas, TOTAL REPLAY also freezes / crashes after running for a while. Then I repeated the 'softSP' experiment with a real DISK II card, and it froze / crashed after running a while, too. So who is the culprit there ? --- Maybe my Apple IIe is sick.

 

ONION MODEL ?

 

It looks like we have the dreaded "onion model" of system debugging at hand: peel away layer after layer of bug ridden code and wonky hardware and "weep" in the process. Until the budgeted money runs out and management dumps the whole project into the trash can. At least this is how it's done in the industry. As hobbyists, we never will run out of budget, and neither will we miss deadlines, because there ain't any, but we might run out of patience. This is because we don't know if it ever will work robustly enough to be acceptable. We don't even know if it ever did work in the first place, back in the 1980s ! --- maybe some people who did use 'SmartPort' back then, perhaps with one of the very rare third party HDDs, could tell us more about whether it worked or not - at least in the 1980s, the hardware platforms were new and not full of 40+ year old electronic components who could contribute to the observed issues.

 

Comments invited !

 

- Uncle Bernie

Offline
Last seen: 2 days 6 hours ago
Joined: Apr 1 2020 - 16:46
Posts: 1336
Some progress with testing made !

After removing all slot cards except the 'IWMless TEST CARD' and also removing the 'AIIE 80COL/64k MEMORY EXPANSION' card from my Apple IIe, TOTAL REPLAY was able to run for many hours glitch free, no crashes and no hangs, until it reached the 'SERPENTINE' demo where it is expected to hang, which of course it did. 'SERPENTINE' does not hang when running on the Apple IIc equipped with the 'IWMless'. More on this issue with 'SERPENTINE' here:

 

https://www.applefritter.com/content/asking-you-do-small-experiment-needs-liron-card-or-clone

 

... the screen photo in post #15 of this thread shows how 'SERPENTINE' freezes / hangs when TOTAL REPLAY is running on a Apple IIe.

 

So what does this recent experiment prove ?

 

It proves that the 'IWMless TEST CARD' works fine in a 64k RAM equipped Apple IIe. But it does not allow a conclusion whether the hangs / freezes did come from certain 128k games within TOTAL REPLAY, or just from a bad 'AIIE 80COL/64k MEMORY EXPANSION' card.

 

To be able to find out, I started to repair a known dead original 'AIIE 80COL/64k MEMORY EXPANSION' card, Apple part #820-0067-B.  At the moment, all the suspect 'uT' DRAMs have been desoldered, and I also desoldered the poor quality socket for the 74LS245:

 

 

I did not attempt to diagnose or repair the other card I used before, which is a clone of the original Apple card. This leaves the clone card as is, and gives me the opportunity to swap it back. The idea is that if I can get trouble free operation of 'SmartPort' (no crashes / hangs) when using the repaired card, then swapping it against the previous card should bring the crashes / hangs back. If so, this would prove that the previous card was the culprit for the hangs / freezes, and not some issue with the 'IWMless TEST CARD'.

 

But if both cards fail, then it could be an issue with the 128k game demos or some yet unknown fault in my PAL Apple IIe. It recently got a MMU donated by 'softwarejanitor' to bring it back to life. Most earlier tests with 'Liron'-ish slot cards equipped with the 'IWMless' a few months ago were done with a NTSC Apple IIe sent to me by 'softwarejanitor' for repairs. I repaired it and then used it as a test platform for the 'IWMless', and the 'Liron'-ish card was based on 'bradleyb's 'Liron' clone which he had lent to me under the condition I'd populate it and send it back to him including an 'IWMless'. I only did very brief tests with the MMU from the NTSC Apple IIe transferred into my own PAL Apple IIe, just to see if the 'Serpentine' freeze happens in both machines (it did, and this proves that the 'freeze' is not caused by a difference between NTSC and PAL machines).

 

So I'm now dealing with a different Apple IIe test platforms than with the one I had a few months ago. This of course means that all the problems I see now might come from defects within the new test platform.

 

But all of this is not a surprise. We are dealing with > 40 year old hardware here and so all bets are off. Instead of chasing bugs in the 'IWMless' I might see and chase faults in the old hardware. My Taiwanese PC-48 Apple clone is known to be wonky and I saw a previously known good DISK II card fail in its slot #6 when trying out the 'softSP' in slot #5. It would load TOTAL REPLAY just fine and then after a few demos it would hang or crash. Wiggling the DISK II card did help, at least for a while,  hinting at a possible contact problem. Oh the joys of working with 40+ years old hardware !

 

So there are a lot of suspected defects to sort out. If I can prove the original IWM in the original 'Liron' card is bad, I will desolder this IWM and put a socket in, and then I have a real 'Liron' card to test the 'IWMless' with.

 

Once I have enough proof that the 'IWMless' works in a 'Liron'-ish slot card for the Apple IIe, then I might launch another beta test series aimed at repairing original 'Liron' cards.

 

The beta test series for repairing Apple IIc having a dead original IWM will soon enter the 2nd round, I have already built seven more 'IWMless' units, but as I ran short of those ultra low profile sockets, there will be a delay until I have found viable substitute sockets. They are on Digikey but before I have obtained a sample I can't say if it fits.

 

- Uncle Bernie

Offline
Last seen: 5 months 4 days ago
Joined: Apr 23 2024 - 05:01
Posts: 3
Beta Test Volunteer with a IIc

What a fantastic project - looks like I stumbled across this a bit later than others. I've a IIc with what I suspect is a bad IWM chip. I'd love to be a beta tester if you're still looking for volunteers!

Offline
Last seen: 2 days 6 hours ago
Joined: Apr 1 2020 - 16:46
Posts: 1336
Still in need for more beta testers / volunteers !

In post #61, 'DigitalNZ' wrote:

 

" I'd love to be a beta tester if you're still looking for volunteers !"

 

Uncle Bernie answers:

 

Indeed, more 'IWMless' beta testers are needed !  The first round of beta testers did not yield much insight into the compatibility of 'IWMless' with copyprotected software titles. All feedback I got so far is that "it works !"

 

Fine. A few Apple IIc saved and brought back to life !

 

It also was found out that a few of the beta testers had one or more bad DRAM in their Apple IIc - and this must be fixed before attempting to replace the IWM with an 'IWMless'. (I have a whole conjecture how bad DRAMs may lead to a path of destruction of the original IWM, as a bad DRAM can also lead to the dreaded "Check Disk Drive" error, and then while tinkering with the disk drive, users may blow up the IWM).

 

For this purpose I've published the binary of a DRAM test program here:

 

https://www.applefritter.com/content/dram-test-eprom-all-apple-ii-except-iigs-maybe

 

... and I recommend it to any prospective 'IWMless' beta tester wanting to repair an Apple IIc. All you need is a 27128 or 27256 pin compatible EPROM and an EPROM burner. Follow the instructions in the above link. This way you can find out whether your Apple IIc needs the 'IWMless' at all. Repair the DRAM before ordering an 'IWMless' - because the original IWM may be intact, and the culprit for the "Check Disk Drive" error message may have been the DRAM alone.

 

I'm currently finishing up the BOM I need to build some 'YAAKEN' keyboard encoders and once I have that, I'll order components along with new ultra low profile sockets. Once I have them and found them fit (literally, as in: mechanical fit), then I will make another call for 'IWMless' beta testers here in this thread. Alas, the price will increase as these new ultra low profile sockets are very expensive and USPS has increased the minimum postage for parcels again (seems to become a bad habit, it's called "inflation", also seen in grocery bills ... just yesterday I paid $73 at Whole Foods just for two tiny filet mignon steaks (1.3 lb meat), one "Bonhomme Brie" cheese box imported from France, one tub of vanilla icecream and two bags of organic flour, as I bake all my bread myself since they dropped their marvelous organic bread and only offer the same toxic crap bread you can find everywhere for half the money --- imagine if you have to feed a family at these food prices !)

 

Stay tuned ! (Oh, and buy durable goods you need to replace soon now ... prices may increase dramatically, except for real estate, where I expect the prices to collapse, but of course, predicting the future is difficult and uncertain)

 

- Uncle Bernie

Offline
Last seen: 5 months 4 days ago
Joined: Apr 23 2024 - 05:01
Posts: 3
Thanks, I'll give your RAM

Thanks, I'll give your RAM testing ROM a go - I've already replaced a good number of my RAM chips a couple years back, but then it started playing up again six months later and I wasn't able to get it going properly again. While I can use BASIC again now, but I can't load anything to/from a disk anymore.

These are the only slim sockets I've been able to find locally in New Zealand: https://www.jaycar.co.nz/28-pin-gold-insert-machined-pin-ic-socket/p/PI6466

We're experiencing enough food price inflation down here too - Had to pay  NZD 12  for a 500g block of butter last month. Might have to raise my fees for my dairy farming clients who are quite literally creaming it this year!

 

 

 

 

jwg1962's picture
Offline
Last seen: 10 hours 56 min ago
Joined: Jan 29 2012 - 07:17
Posts: 379
Interested in Testing

Hi  Uncle Bernie, 

 

I would be happy to help test. 

 

Thanks,

Jay 

 

Offline
Last seen: 5 days 20 hours ago
Joined: Aug 26 2024 - 10:21
Posts: 30
But... I need a replacement for my IIc+!

It appears that the IWM on my IIc+ is failing.  Is there a potential solution for that??  Finding one seems to be like finding a unicorn's gold tooth filling.  I get that I'm a very very small minority of those needing FAST mode.  If anyone is willing to pull a good IWM and put in an IWMless for me, I would declare that would fall under Uncle Bernie's request for keeping as many legacy machines "whole" as possible.  But honestly, right now I don't know if that's the issue with my IIc+.  Everything attached to SmartPort (except SD-based drive emulators) work fine.  Internal drive works fine - EXCEPT it keeps spinning after reading.  It'll turn off if I use Apple ][ Desktop or ADTPro to scan all drives.  Maybe it isn't the IWM.  IDK.  If there are suggestions, or if anyone knows of a thread here already addressing this issue, I'll be happy to redirect my tangent post.

Offline
Last seen: 2 days 6 hours ago
Joined: Apr 1 2020 - 16:46
Posts: 1336
How to diagnose failure of floppy motor tor turn off

In post #65, 'tiktok4321' wrote:

 

" It appears that the IWM on my IIc+ is failing.  Is there a potential solution for that ? "

 

Uncle Bernie answers:

Sorry, but the 'IWMless' was deliberatly specified to not support the FAST mode of the IWM. Which is needed only for the 3.5" floppy disk drives in the Apple IIgs, the Apple IIc+ and the Macs. The Apple IIc runs only at 1 MHz CPU clock which is too slow to handle FAST mode, and it is never used in the IIc nor in the 'Liron' card for the other 1 Mhz Apple II members, so I could leave FAST mode out., allowing to fit the design into a smaller and cheaper CPLD.

 

Another reason for this is that for the IIc+ and the IIgs there is not a large enough marketplace / demand for an 'IWM' replacement and I'm not interested in any of the Macs, as I never had one. Development of the 'IWMless' was driven by my desire to a) repair my own Apple IIc, and, later, b) to allow my 'Replica 2e' project to also emulate the Apple IIc with SmartPort etc. ('Replica 2e' will never emulate the Apple IIgs, as the IIgs deviates far too much from the basic Apple II architecture and never was successfully cloned, so if the Taiwanese cloners could not do it back in the day when there was money in it, I better don't waste my own time on trying that feat).

 

HOW TO REPLACE An IWM IN THE APPLE IIc+

 

If your Apple IIc+ really needs a new 'IWM' you can always use an Apple IIc as an organ donor: take the original IWM out of the IIc to fix your IIc+, and then use an 'IWMless' the make the donor whole again - it even will be better as with the original IWM, as 'IWMless' has the DISK II compatibility mode.

 

HOW TO DIAGNOSE MOTOR TIMER PROBLEMS

 

I think it's unlikely that your drive motor keeping spinning problem comes from the IWM. You can check the logic level on the /ENBL1 pin of the IWM (pin #20) to see if it ever tries to turn the motor off (going from low to high) but fails to reach a good 'high' level so the disk drive does not know what to do. A poor 'high' level due to a weak high side driver transistor in the IWM could be helped with a pull up resistor of 1k (or around that value) to +5V (IWM pin #26). You could also enter the monitor program to give motor on and motor off commands manually. If the internal motor timer of the IWM was faulty, it would not attempt to rise the /ENBL1 pin from low to high.

 

Again, I think it is unlikely that the IWM develops such an internal fault.

 

THE MOST LIKELY REASON WHY 'IWM's GET DAMAGED

 

The most common way how the IWM 'dies' has to do with overvoltages applied to its SENSE and RDDATA inputs which may happen when people tinker with the floppy disk drive after getting a "Check Disk Drive" error, which may have been caused by a bad DRAM. All the three Apple IIc with a dead IWM I had acquired over the last two decades also had a bad DRAM, which might have set the chain of events in motion that then did cause damage to the IWM.

 

In any case, manual motor on / motor off commands and measuring the actual logic levels (a cheap multimeter is enough) will allow you a diagnosis of the problem.

 

- Uncle Bernie

 

P.S.: Motor on command: read location COE9,  Motor off command: read  COE8. Allow ~1 sec of motor off delay time.

Offline
Last seen: 5 months 3 weeks ago
Joined: Aug 12 2022 - 14:40
Posts: 35
Interested

Would be happy to test over here as well.  I have a iic motherboard with a failing IWM.  It behaves odd, working with some smartport devices, but not all.  Seems like it's a power draw issue.  Too much pull and the chip fails.  I have another board with a working IWM that I primarily use. 

 

Anyway, would love to test.  And even buy.  

 

Offline
Last seen: 2 days 6 hours ago
Joined: Apr 1 2020 - 16:46
Posts: 1336
Procedures how to deal with suspected 'IWM' issues.

In post #67, 'microbmen' wrote:

 

 "I have a iic motherboard with a failing IWM.  It behaves odd, working with some smartport devices, but not all.  Seems like it's a power draw issue.  Too much pull and the chip fails."

 

Uncle Bernie comments:

 

Unless the IWM gets really hot to the touch it does not draw too much power. I'd recommend you to check your IIc's 5V supply first, and also disconnect the internal floppy disk drive and plug in a Floppy Emu configured to boot DOS 3.3   .  .  . this can tell you if the problem is in the floppy disk drive.

 

Other than the DRAM problem (for which the IIc is notorious) there is another systematic problem in the IIc and this is a race condition between the FCLK (pin #24) and Q3 (pin #25) clocks on the IWM. This is a "hazard" present in all Apple II but generally does not manifest in any slot card that uses only one clock. The IWM does use both clocks and hence has the "hazard". Apple knew about the problem and added a series resistor on their "Liron" card to delay Q3 by a few 10 ns, hereby defusing the race condition. I did not have enough Apple IIc on my lab bench to know if they ever tried the same remedy on the IIc. The only IIc I have left over is my "lab rat" for 'IWMless' work, and on this motherboard the FCLK and Q3 go directly from the TMG PAL to the IWM. Which is why the 'IWMless' has a RC delay and a Schmitt Trigger on its PCB to delay Q3 in a more controlled manner than a series resistor alone could do (which uses the parasitic capacitance of the IWM's Q3 input pin and has a poorly defined logic threshold).

 

This said, here is a proposed way to tackle the problem:

 

- check your DRAMs first ... the exact failure mode of these uT4264-15 is still unknown but it is tricky, as not all DRAM tests can catch it. Some people with a lot of skill and patience replace all DRAMs, but this may be excessive. I have repaired the DRAM in maybe half a dozen Apple IIc, and it always has been one or two bad DRAM ICs and all were  the lower right corner of the PCB (positions 16-19). But this anecdotal evidence based on only half a dozen cases does not mean it's a general rule.

 

- once the DRAM has been brought to fully functional condition, and you still have an issue with IWM related functions, try a Floppy Emu in lieu of the internal disk drive. If the problem goes away, the culprit is the disk drive.

 

- If the internal disk drive was not the culprit (it can be defective and interfere with SmartPort operations) try to add a delay in the IWM's Q3 clock. This involves cutting a trace and adding a resistor over the cut, try values from 220 Ohm to 470 Ohm.

 

I would recommend to anyone suspecting problems with the IWM in an Apple IIc to go through the above procedure first. Desoldering the IWM is tricky and the 40+ years old PCBs are not in good condition anymore, in most cases I saw some "bubbling" of the solder when soldering in the ultra low profile sockets and this is a bad sign hinting at a problem with the PCB. So you would want to avoid swapping any ICs in the Apple IIc unless absolutely necessary. This is why I don't change all the DRAMs at once ... doing so has a 16 x higher risk of damaging the PCB than just changing one DRAM. Sure, a skilled operator could also fix damaged PCBs by adding flight wires but it's tricky to find out exactly where the defect is (i.e. hairline crack, or a plated through hole gone bad - the solution for the latter is to resolder the IC pins on both sides of the PCB).

 

The bottom line is that only if the IWM has been confirmed to be bad, replace it.

 

I've still three 'IWMless' beta test kits left, send me a PM if you want one, but sorry, I can't send them to the EU or any other country with insane customs paperwork requirements or "RoHS" bans, etc. The "EU" is probably the worst offender, see my post #9 of this thread:

 

https://www.applefritter.com/content/smartport-disk-emulators-and-daisy-chaining

 

to find out why I can't send them to the EU. It's really bad, and I don't think it will get any better. The times where you could buy collectible electronics from all over the world is definitely over ... they are now being treated as "toxic waste" due to lead based solder and won't be allowed to enter the EU (they get a red sticker with the text "not conforming to the way the EU works" or such, and go back to the sender, if you are lucky, otherwise they just disappear). Oh, and here in the USA we can't order stuff from abroad either, because of unpredictable tariffs and, worse, insane and surprise "handling fees" the carriers slap onto parcels, these are independent of the declared value, so your few components bought in China worth $2  might be hit with additional $16 "handling fees" extorted from you by the greedy carrier ... looks like a criminal racket and a scam.

 

- Uncle Bernie

Offline
Last seen: 2 weeks 5 days ago
Joined: Jan 28 2023 - 08:33
Posts: 16
I just recently purchased my

I just recently purchased my first IIc & it is exhibiting IWM issues.  The drive does the head banging thing at power on but then just spins the disk constantly without seeking.  I've observed activity on the RDDATA pin so it's reading the flux.  Pin 1 (PH0) is high while Pin 2 (PH2), Pin 27 (PH4?), Pin 28 (PH3?) are all stuck low.  I do NOT get the "Check disk" message at all (with or without a disk in the drive).   I'm in the process of getting a bare IIc mainboard for parts but I would love to be a beta tester of IWMless if they are still available. 

 

- Ben

Offline
Last seen: 2 days 6 hours ago
Joined: Apr 1 2020 - 16:46
Posts: 1336
Some beta test kits still available !

In post #69, 'superbenk' wrote:

 

" The drive does the head banging thing at power on but then just spins the disk constantly without seeking ...  Pin 1 (PH0) is high while Pin 2 (PH2), Pin 27 (PH4?), Pin 28 (PH3?) are all stuck low.  I do NOT get the "Check disk" message at all (with or without a disk in the drive) ... I would love to be a beta tester of IWMless if they are still available. "

 

Uncle Bernie answers:

 

These symptoms are not necessarily caused by a dead IWM. Can you run the built-in memory test ? It is  quite weak but still good enough to detect most trouble with the DRAMs. It will also give you a sign of life for the CPU being able to execute code, you can see this from the screen pattern changing all the time (some short pauses are normal, when the memory test works elsewhere). If this test runs and runs, the basic machine is most likely OK and trying to change the IWM against an 'IWMless' may be worth an attempt. But success is not guaranteed. Bad Apple IIc can suffer from many ailments. I once had half a dozen IIc and ended up with two that work (with 'IWMless', all of them had bad IWMs).

 

At the moment I have two 'IWMless' beta test kits left over, while the beta testers slowly churn through the Apple II software base (3500+ titles). So far it looks good, but progress is slow, and I did not get progress reports for a while. But this is understandable, the volunteers also have a bread job and a family life, so they can't work all the time on the testing.

 

If you want a beta test kit, just send me a PM. I can send it easily to the lower 48, or any other country other than the EU, Norway and Switzerland.

 

- Uncle Bernie

Offline
Last seen: 2 weeks 5 days ago
Joined: Jan 28 2023 - 08:33
Posts: 16
These symptoms are not

These symptoms are not necessarily caused by a dead IWM. Can you run the built-in memory test ? It is  quite weak but still good enough to detect most trouble with the DRAMs. It will also give you a sign of life for the CPU being able to execute code, you can see this from the screen pattern changing all the time (some short pauses are normal, when the memory test works elsewhere). If this test runs and runs, the basic machine is most likely OK and trying to change the IWM against an 'IWMless' may be worth an attempt. But success is not guaranteed. Bad Apple IIc can suffer from many ailments. I once had half a dozen IIc and ended up with two that work (with 'IWMless', all of them had bad IWMs).

I was able to buy a bare IIc mainboard that did have a working IWM but bad (MT!) memory.  Originally I tried fixing the memory issues on the "new" board & was able to get it to boot from disk just fine but couldn't completely solve the memory issues.  I upgraded the original mainboard to ROM4 & ran the memory tests which succeeds without issues.  I decided to transplant the IWM to the original mainboard which passes all the memory tests.  Now I'm getting a different issue on the original mainboard where the drive will do the following: 

  • No disk inserted - Does initial head bang & then produces "Check Disk Drive." error & stops spinning
  • DOS 3.3 disk inserted - Does initial head bang & then does a more violent & higher frequency cycle of head banging over & over again indefinitely.  The disk never boots.  

I have tried a different Disk-II drive from a //e with the same results.  

I also tried this from Sam's Computerfacts: 

 

I see pulses on the IWM & GLU chip before running that first BASIC program but not after.  I tried swapping the GLU chip from the "new" mainboard but it behaved exactly the same way so I don't think that's a problem.  I can't find any bad solder joints or traces so I'm really at a loss.  The old/original IWM behaves the same as it did in the original mainboard (disk spins, I see RDDATA activity but the head never seeks any other tracks).  So neither IWM chips seem to be working properly in either mainboard.  Happy to try more troubleshooting but I'm not sure where to look next.  

Offline
Last seen: 2 weeks 5 days ago
Joined: Jan 28 2023 - 08:33
Posts: 16
I would love to figure out

I would love to figure out why the one board keeps saying "00001000" is the bad RAM chip.  I've replaced 4 of them including the one that it's saying is bad.  Moving chips around doesn't make the failing chip error move so I'd think it's something about that specific location.  I've replaced the socket I used to replace the chip & I've scoped out all the connections as best as I know how.  Everything looks correct.   

I know there is a RAM check ROM.  All I have is a Winbond 26C512 (64k) EEPROM but I think UncleBernie's RAM tester ROM is 16k - I'm assuming I can just copy it 4 times & not need to mess with the solder bridges on W1/2?  Of that works I'll give it a try.   

I did try this when I had the IWM in this board & it confirmed the location as being bad: https://www.ivanhogan.com/kfest/MemUtil/.  I question it though since I question the IWM.   

Offline
Last seen: 2 weeks 5 days ago
Joined: Jan 28 2023 - 08:33
Posts: 16
Well, I figured out the RAM

Well, I figured out the RAM issue.  Tried swapping the IWM back to the "new" board hoping the RAM issue would make things work 100% but now the IWM that seemed to be working in this "new" board originally does the same weird rapid head banging when trying to boot like it did in the other board.  I'll add some video here shortly if I can.  

Offline
Last seen: 2 weeks 5 days ago
Joined: Jan 28 2023 - 08:33
Posts: 16
Videos of the IWM boot issue:
Videos of the IWM boot issue:  
Offline
Last seen: 2 days 6 hours ago
Joined: Apr 1 2020 - 16:46
Posts: 1336
Some hints on using my DRAM test ROM image

In post #72, 'superbenk' wrote:

 

" I think UncleBernie's RAM tester ROM is 16k - I'm assuming I can just copy it 4 times & not need to mess with the solder bridges on W1/2?  Of that works I'll give it a try.   "

 

Uncle Bernie comments:

 

For my DRAM memory test, you can always use larger EPROMs as long as they fit into the socket and have the industry standard pinout all 27XXX EPROMs do have. For FLASH devices you need to be more careful about the few pins which are different because they control write/erase functions. And for EPROMs, check that VCC (+5V) is present on all the "other" pins (other than pin #28) where VCC might be required. Just consult the datasheets and find out the differences between the usual IC in the target socket and the EPROM you want to use. Then program that EPROM with the DRAM test image repeating as often as needed to fully fill it - this prevents any issues with banks selects etc. After successful programming, bend the conflicting pins by 45 degrees so they don't contact the socket and flight wire them to the VCC or GND as needed to get the regular READ function for the EPROM or FLASH memory IC.

 

I would not attempt to replace an original IWM unless the DRAM of the machine has been confirmed to work for the lower 48k - this is all you need to boot DOS 3.3 and once you can boot DOS, you can run more sophisticated DRAM tests which test all the banks in all the various models of Apple II. My DRAM test in ROM intentionally tests only these lower 48k - it is meant to be used for near dead Apple II and it can even telegraph the bad bit# out even when the DRAM is so bad that no useful text screen can be obtained. But I forgot how that telegraph trick works - would need to find the source code, which is difficult. In the Apple-1, the same DRAM test algorithm fits into 256 bytes but does not have the "telegraph" feature as it assumes the terminal section of the Apple-1 works.

 

- Uncle Bernie

Offline
Last seen: 2 weeks 5 days ago
Joined: Jan 28 2023 - 08:33
Posts: 16
I niticed that the videos I

I niticed that the videos I posted earlire aren't working so trying a different way

 

https://youtube.com/shorts/6r1nB3R7E-s?feature=share

 

 

 

https://youtube.com/shorts/1jyx4f7JicU?feature=share

 

Offline
Last seen: 2 weeks 5 days ago
Joined: Jan 28 2023 - 08:33
Posts: 16
I wanted to post a follow-up

I wanted to post a follow-up after installing the IWMless.  So far I've had COMPLETE SUCCESS!  I've been able to boot & run several physical floppies as well as use a FujiNet without issues*.  The FujiNet depends on SmartPort communications for everything so it was a nice "stress test" of that functionality.  

 

* Initially FujiNet had issues with IWMless but it turned out to be a software bug that only manifested with ROM0 & had nothing to do with IWMless.  Running FujiNet on a ROM3 or 4 would work flawlessly but ROM0 would throw an error on some functions.  Very strange but reverting to previous working libraries fixed that issue for now.  

 

Fantastic project & a real life saver for these old broken IIc's!  

- Ben

Pages

Log in or register to post comments