LisaList2

General Category => LisaList2 => Topic started by: stepleton on August 06, 2020, 07:03:50 pm

Title: The Great Extendo
Post by: stepleton on August 06, 2020, 07:03:50 pm
These AppleNet cards are making a monkey out of me. I'm gonna need to probe them, but it's hard to reach them inside the Lisa when they are installed.

Does anyone have any physical specifications or measurements for Lisa expansion cards?

I'm thinking it might be nice to make some kind of bus extender. I would be shocked if you could still get those ZIF expansion slots from anywhere, but maybe it's possible to hack an ordinary card-edge connector to receive a Lisa expansion card. Anyway, the idea would be to feed the bus lines just a short way outside the case via ribbon cable---that way I can poke the card with a scope. I'm not sure how much the bus will tolerate this, but it's not too much of a hassle to give it a shot.

Speaking of things around the expansion connector, has anyone got a source for those wide-slot screws that the rear panel uses to hold in the expansion slot cover plates? I'm missing one.
Title: Re: The Great Extendo
Post by: rayarachelian on August 07, 2020, 09:28:13 am
The specs are in the Lisa Hardware Guide for the size of the cards, etc. don't have that handy now, but check bitsavers
I think the pins are the same spacing as IBM PC ISA slots, so if you can find a connector for an 8 bit ISA slot - the short ones, you might e be able to use that, though youll need to cut the back end so the card can slide into it as the lisa card is much longer and expects to slide in as those zif sockets are pretty unobtainum.

I don't know if isa slots are still available, but I'd guess they're a lot more available than lisa ones. worst case you've got a lot desoldering to do to reclaim one off a dead motehrboard.

(still no electricity)
Title: Re: The Great Extendo
Post by: patrick on August 07, 2020, 03:10:34 pm
Does anyone have any physical specifications or measurements for Lisa expansion cards?

Attached is a template for the Lisa Expansion card in Eagle 2.60 and 5.12 format. KiCAD should be able to import this.

Some 20 years ago I made my own SCSI card for MacWorks. Based on the SunRem circuit, two-layer PCB etched in the kitchen, all components soldered from both sides, no plated slot -- but it worked! A few years later it got replaced by a genuine SunRem board after a couple of unpopulated bareboards appeared at ebay.
Title: Re: The Great Extendo
Post by: stepleton on August 07, 2020, 05:52:28 pm
Fantastic! Thanks Patrick!

Guess this means I've got to go ahead and try to make one of these things  :D
Title: Re: The Great Extendo
Post by: patrick on August 08, 2020, 07:25:19 am
How do you want to arrange the board unter test on the extender? 90° rotated, so that it points out backwards?

Provide a breakout point (pinheader with jumpers) on each signal line, and one test pin for the logic analyzer. Or better two, one before and one after the break. And many Gnd connections. Power lines might be protected with PTC (self-restoring) fuses and fitted with indicator LEDs.
Title: Re: The Great Extendo
Post by: stepleton on August 08, 2020, 12:31:08 pm
I was thinking to have a pin header on the expansion card and then a short ribbon cable going to a small separate board with a socket for the card and pins for probing. My home setup doesn't have a lot of room, so having the card be able to flop around a bit could be helpful.

It might be a good idea to have a switch on the +5V standby power line, and maybe another that can bridge \BGOn to \BGOn-1.

Maybe I'll sketch a design and put it up for critique before I have any boards spun. In any case, I will probably keep on disassembling for a while before I pursue this in earnest.
Title: Re: The Great Extendo
Post by: patrick on August 09, 2020, 02:28:26 pm
I was thinking to have a pin header on the expansion card and then a short ribbon cable going to a small separate board with a socket for the card and pins for probing. My home setup doesn't have a lot of room, so having the card be able to flop around a bit could be helpful.

My temporary solution was an edge connector cut from an ISA card soldered to 30 cm flat cable, and an ISA socket at the other end. Did not look very reliable, but worked quite well.

Title: Re: The Great Extendo
Post by: stepleton on August 09, 2020, 05:48:49 pm
30cm is encouraging! I was concerned that more than a few cm would upset the bus somehow. I'm no EE; all I can do is be superstitious and try making big margins...
Title: Re: The Great Extendo
Post by: stepleton on August 15, 2020, 08:04:11 am
Starting to have a look at making this bus extender.

Patrick, it looks like KiCad can only read Eagle 6+ XML-based files and not the older binary formats. "pcb-rnd" is a FOSS program that can read the "512" file, but not well. Is there any chance that you have the ability to make a file in the new XML-based format? I know EAGLE licensing got increasingly antagonistic as the project evolved, so I won't be surprised if you don't.
Title: Re: The Great Extendo
Post by: patrick on August 15, 2020, 09:35:55 am
Please try the file attached. I do not own a license for Eagle 6 and the freeware version only works up to 80x100 mm2, but it seems I can open the file and save it in XML format.


Title: Re: The Great Extendo
Post by: rayarachelian on August 15, 2020, 12:12:50 pm
These might be useful in the conversion (but require you to have eagle, I think): https://github.com/lachlanA/eagle-to-kicad (https://github.com/lachlanA/eagle-to-kicad) - there's also a link to a video, found it via HackADay: https://hackaday.com/2015/12/27/eagle-to-kicad-made-easy/
I don't know much about Eagle, sorry, if they're helpful great, if not, pls ignore.
Title: Re: The Great Extendo
Post by: stepleton on August 16, 2020, 08:46:14 pm
Thanks Patrick! The new file imports just fine. Rather than adopt the board outline directly, I decided to use it as a template in order to figure out how KiCad does card-edge connectors. After an afternoon, I think I've succeeded in making something that works in the official KiCad way, but I don't think it really bought me very much :)

More as things develop...
Title: Re: The Great Extendo
Post by: stepleton on August 22, 2020, 05:51:36 pm
Here's what the bus extender looks like so far. KiCad has 3D models for some components but not others.

You clip out the panelised board within the expansion card and attach it on the other end of your ribbon cable. Then you plug the expansion card that you want to probe into that. I haven't figured out what keeps your expansion card from tipping over onto its side, but maybe it doesn't matter.

Unfortunately I think I will need to move the ribbon cable connector on the expansion card down a few mm...
Title: Re: The Great Extendo
Post by: stepleton on August 22, 2020, 05:52:51 pm
Here's a detail of the "coupon":
Title: Re: The Great Extendo
Post by: rayarachelian on August 22, 2020, 06:10:02 pm
Very neat! Have you found a source of compatible edge connectors to use? I looked around and the new places that advertised ISA card edge connectors no longer had them.
Title: Re: The Great Extendo
Post by: stepleton on August 22, 2020, 06:15:53 pm
Digi-Key have some 56-place card-edge connectors, so I'll give those a whirl once the PCBs are ready to go.
Title: Re: The Great Extendo
Post by: stepleton on September 13, 2020, 04:17:20 pm
The Mark 1 extendo is completed now, and it appears mostly to work (see attached image).

"Mostly" reflects how (in my 2/10 at least) the card fits in slots 1 and 2 but not slot 3, where it can't be inserted all the way. I'm not quite sure why this is. I don't use Slot 3 very much in my 2/10 --- the network card fits there, but that DMA test card I bought doesn't quite fit either. (This is an annoyance since Slot 3 is the best place to put a card that does DMA.) I think my own card is maybe about half a millimetre too wide and needs to be trimmed, but I'm not certain.

My card design also needs to be filed down about 0.5mm just in front of the card-edge connector.

Another aspect of "mostly" is that my RESET/ button is ill-conceived---I had assumed that I could use a pushbutton and a resistor to pull down RESET/ and reset the computer. Instead, it appears that (a) RESET/ can't be used that way, it's mostly an input that tells an expansion card to reset itself, and (b) if I wanted to wire RESET/ somewhere, I ought to have wired it to pull RESET/ up to +5VStdby, which can turn on the computer! (Didn't we previously wonder whether an expansion card could turn on the Lisa? Apparently it can, according to page 3-11 of the 1983 hardware manual (https://lisa.sunder.net/LisaHardwareManual1983.pdf#page=79).)

So what happens if you momentarily pull down RESET/ through a 1 kohm resistor? Well, the screen gets very bright and a bit smeared, but otherwise the Lisa runs normally. Huh. Resetting it with the real reset button brings the computer back to normal.

As a final amendment to the design for Mark 2, I'll probably just get rid of my big fills, which are not there for any particular reason and (as private feedback pointed out to me) may mostly just act as antennas.
Title: Re: The Great Extendo
Post by: rayarachelian on September 14, 2020, 11:59:15 am
(Didn't we previously wonder whether an expansion card could turn on the Lisa? Apparently it can, according to page 3-11 of the 1983 hardware manual (https://lisa.sunder.net/LisaHardwareManual1983.pdf#page=79).)

Well done, and great find about the auto power on!
Title: Re: The Great Extendo
Post by: patrick on September 14, 2020, 05:03:37 pm
Instead, it appears that (a) RESET/ can't be used that way, it's mostly an input that tells an expansion card to reset itself, and (b) if I wanted to wire RESET/ somewhere, I ought to have wired it to pull RESET/ up to +5VStdby, which can turn on the computer! (Didn't we previously wonder whether an expansion card could turn on the Lisa? Apparently it can, according to page 3-11 of the 1983 hardware manual (https://lisa.sunder.net/LisaHardwareManual1983.pdf#page=79).)

Oh, that's a clever trick. I've always wondered why they connected transistor Q11 the wrong way. A NPN with emitter towards VDD, that will not work. But during standby there is no VDD, so that rail will be at 0 V. In this case any high level applied to the base of Q11 will turn on the tranistor and connect /PWRSW (which is pulled up to the +5B2 standby voltage by R43) to ground. Same effect as pressing the power button on the front panel.


You cannot pull down the /RESET line to reset the computer. This would reset the I/O board and extension cards only, but not the CPU. There is buffer U2E on the CPU board, decoupling the /RESET line from the reset signal generated by U15B at startup or when the button has been pressed.