LisaList2

Advanced search  

News:

2022.06.03 added links to LisaList1 and LisaFAQ to the General Category

Pages: [1]   Go Down

Author Topic: Using a Widget Drive in a Lisa 2/5  (Read 13034 times)

AlexTheCat123

  • Sr. Member
  • ****
  • Karma: +68/-1
  • Offline Offline
  • Posts: 228
Using a Widget Drive in a Lisa 2/5
« on: July 25, 2021, 10:59:54 am »

I was lucky enough to stumble upon a Widget drive at an e-waste recycler around a week ago (unfortunately, the rest of the Lisa was nowhere to be found) and I'm going to try to repair it in the coming weeks once my schedule gets a little less busy. Unfortunately, I only have a Lisa 2/5, so I'm unsure about whether the Widget would actually work with my Lisa. Since it uses the same interface as the ProFile, I would assume that I could just connect it to the external parallel port with the appropriate cable, right? Has anyone actually tried this before?
Logged

rayarachelian

  • Administrator
  • Hero Member
  • *****
  • Karma: +105/-0
  • Offline Offline
  • Posts: 772
  • writing the code,writing the code,writing the code
    • LisaEm
Re: Using a Widget Drive in a Lisa 2/5
« Reply #1 on: July 25, 2021, 12:39:06 pm »

Congrats. Yes it will work with a Lisa 2/5, but you'll need to rig up external power and a DB25 to ribbon cable.

I'm not sure, but you might need +12V and -12V as well as +5V and GND. I think the drive cage uses a 24V fan, but not sure if the -12V is used by the drive or just the fan. Obviously you can use whatever fan you like in your own enclosure. I think the fan hooks up to the drive with a 2 (or maybe 3?) pin plug, but obviously not needed for your own enclosure + fans.

If you have an old full height SCSI drive enclosure it might work, but yeah, the power supply might be an issue.
« Last Edit: July 25, 2021, 12:42:46 pm by rayarachelian »
Logged
You don't know what it's like, you don't have a clue, if you did you'd find yourselves doing the same thing, too, Writing the code, Writing the code

AlexTheCat123

  • Sr. Member
  • ****
  • Karma: +68/-1
  • Offline Offline
  • Posts: 228
Re: Using a Widget Drive in a Lisa 2/5
« Reply #2 on: July 25, 2021, 02:29:02 pm »

Great! It should be really easy to make the appropriate DB25 to ribbon cable and I can use an ATX power supply for testing just like I did with my ProFile.
Logged

rayarachelian

  • Administrator
  • Hero Member
  • *****
  • Karma: +105/-0
  • Offline Offline
  • Posts: 772
  • writing the code,writing the code,writing the code
    • LisaEm
Re: Using a Widget Drive in a Lisa 2/5
« Reply #3 on: July 25, 2021, 04:38:31 pm »

Sure, an ATX PC power supply should work, though you may need to force it to power on by shorting the right pins. see: https://www.smpspowersupply.com/connectors-pinouts.html
Logged
You don't know what it's like, you don't have a clue, if you did you'd find yourselves doing the same thing, too, Writing the code, Writing the code

AlexTheCat123

  • Sr. Member
  • ****
  • Karma: +68/-1
  • Offline Offline
  • Posts: 228
Re: Using a Widget Drive in a Lisa 2/5
« Reply #4 on: July 25, 2021, 04:56:44 pm »

Yep, I've got an ATX power supply that has a wire permanently soldered between those pins that I use for testing stuff.
Logged

compu_85

  • Sr. Member
  • ****
  • Karma: +68/-0
  • Offline Offline
  • Posts: 250
Re: Using a Widget Drive in a Lisa 2/5
« Reply #5 on: July 25, 2021, 08:07:43 pm »

From the fiddling I've done with this, the Office System gets grumpy when there's a widget on the first parallel port of a 2/5.

Perhaps you'll have better luck! You can convert the pin header on the controller to a DB25 with the parallel port cable from an old PC.

-J
Logged

AlexTheCat123

  • Sr. Member
  • ****
  • Karma: +68/-1
  • Offline Offline
  • Posts: 228
Re: Using a Widget Drive in a Lisa 2/5
« Reply #6 on: August 03, 2021, 03:30:54 pm »

So I've fired up the Widget and it seems to mostly work (I can install and boot LOS on it just fine), but sometimes it just randomly stops booting and I have to go into NeoWidEx and reinitialize the spare table (and then reinstall the OS) to fix things. I want to give it a low-level format in the hopes that this will clear up some of this strange behavior, but the low-level format always fails. It seems to succeed with the trial format on cylinder 0, but then it tries to format cylinder 221 and gives the error "Failed to fine-tune head position at this location. The initial handshake with the drive failed." This seems really odd because I thought that the Widget only had 202 cylinders to begin with. What could be causing this problem?
Logged

stepleton

  • Sr. Member
  • ****
  • Karma: +127/-0
  • Offline Offline
  • Posts: 425
Re: Using a Widget Drive in a Lisa 2/5
« Reply #7 on: August 03, 2021, 04:57:02 pm »

Good question here --- I've had to try and rekindle some of my Widget memory, and I don't think I'm all the way there. If we're lucky, Dr. Schaefer will chime in with real knowledge.

So formatting from cylinder $221 is normal behaviour for NeoWidEx. I think the reason for this is because there are two ways of "recalibrating", or resetting the head servo and getting the Widget's heads close to a known location over the platter. There's an ordinary one called a "recal" or "data recal", which places the heads near the innermost data track, then there's the "format recal" which places the heads "about 36 tracks closer to the inside diameter of the disk", a place where "the disk surface in this area is not likely correctly [sic] store information written there". You can see this text on page 98 here:

http://bitsavers.trailing-edge.com/pdf/apple/disk/widget/Widget_ERS.pdf

When formatting, NeoWidEx follows a script that Dr. Schaefer observed whilst watching an Apple /// format a ProFile. You can skim the comments in the source code here:

https://github.com/stepleton/NeoWidEx/blob/main/NeoWidEx_UTIL_Format.X68#L128

where the comments at the top of each "block" of opcodes say what's going on. Anyway, the format starts formatting tracks from the position it reaches after a "format recal".

I'm not sure what the story is with the failure you're observing, and it may take some back-and-forth to sort it out. Perhaps a good turn-it-off-and-on-again first question to ask is: what ROM revision is your Widget? In other words, when you do DRIVE INFO, what's the number after "REV-"? The UsbWidEx documentation recommends formatting with the latest firmware revision, 1A45. I'm not sure if that's relevant here, but it would be interesting if you were using a different version.
« Last Edit: August 03, 2021, 04:59:33 pm by stepleton »
Logged

AlexTheCat123

  • Sr. Member
  • ****
  • Karma: +68/-1
  • Offline Offline
  • Posts: 228
Re: Using a Widget Drive in a Lisa 2/5
« Reply #8 on: August 03, 2021, 07:23:07 pm »

It looks like the ROM revision was indeed the problem. My Widget had 1A43 originally, but after installing 1A45 like you suggested it formatted perfectly and the format seems to have solved the reliability problems! I wonder what's different between the two revisions that keeps the LLF from working with the older one? 
Logged

stepleton

  • Sr. Member
  • ****
  • Karma: +127/-0
  • Offline Offline
  • Posts: 425
Re: Using a Widget Drive in a Lisa 2/5
« Reply #9 on: August 04, 2021, 05:10:18 am »

Ha, well, like they say, it's better to be lucky than good  :)

Glad it's fixed, although I also wonder whether simply resocketing the 1A43 ROM would have had a similar effect.

It's possible that your older ROM might have been compatible with the READ_ABORT_STATUS command as implemented in NeoWidEx. I ought to have asked you to give the ABORT STATUS menu option a try after your format failure.

It might be nice to have a copy of 1A43 on some public archive. I can see that bitsavers has archived some source code for 1A43, but I don't think we have the ROM data anywhere.
Logged

AlexTheCat123

  • Sr. Member
  • ****
  • Karma: +68/-1
  • Offline Offline
  • Posts: 228
Re: Using a Widget Drive in a Lisa 2/5
« Reply #10 on: August 04, 2021, 01:21:05 pm »

Quote
Glad it's fixed, although I also wonder whether simply resocketing the 1A43 ROM would have had a similar effect.
As a test, I tried putting the old firmware back in and it refused to format again, so I think the failure has to do with the ROM version itself instead of just being a connection problem.

Quote
It might be nice to have a copy of 1A43 on some public archive. I can see that bitsavers has archived some source code for 1A43, but I don't think we have the ROM data anywhere.
I just uploaded the contents of the EPROM to archive.org and it can be found at the following link: https://archive.org/details/1-a-43
Logged

patrick

  • Sr. Member
  • ****
  • Karma: +88/-0
  • Online Online
  • Posts: 106
    • Patrick's Hardware Page
Re: Using a Widget Drive in a Lisa 2/5
« Reply #11 on: August 04, 2021, 04:23:38 pm »

The Set_AutoOffset command fails with Firmware 341-0289-B (1A43) because it just wasn't there. It has been added with 341-0289-C (1A44).
Logged

stepleton

  • Sr. Member
  • ****
  • Karma: +127/-0
  • Offline Offline
  • Posts: 425
Re: Using a Widget Drive in a Lisa 2/5
« Reply #12 on: August 04, 2021, 06:03:27 pm »

That is an excellent reason for the command to fail!
Alex, thanks for trying a second time.
Logged

AlexTheCat123

  • Sr. Member
  • ****
  • Karma: +68/-1
  • Offline Offline
  • Posts: 228
Re: Using a Widget Drive in a Lisa 2/5
« Reply #13 on: August 04, 2021, 07:30:59 pm »

Quote
Alex, thanks for trying a second time.
No problem! I'm glad that we've figured out the reason that it failed and I hope that this information will be helpful to more people in the future!
Logged
Pages: [1]   Go Up