LisaList2

General Category => LisaList2 => Topic started by: AlexTheCat123 on February 02, 2022, 01:40:38 pm

Title: Sun Remarketing SCSI Card Reverse-Engineering
Post by: AlexTheCat123 on February 02, 2022, 01:40:38 pm
A few days ago, I got the idea to reverse-engineer some Lisa boards, particularly the 2/5 motherboard and the Sun SCSI card since the schematics for both of these boards are either incomplete (the motherboard) or nonexistent (the SCSI card). I want to design some replica PCBs that are as accurate to the originals as possible and release the files to everyone in the Lisa community so that it's easy and inexpensive to replace a damaged board. The motherboard is coming along really well and it's pretty easy to fill in the gaps in the schematic since I have an actual board to probe around on with the multimeter, but the SCSI card is a lot more difficult since there isn't a schematic for it and I don't actually have one of these cards, so I'm just having to follow the traces on the board around based on pictures I've found online.

It's tedious, but I've made good progress with most of the board thanks to the pictures I found on Bitsavers, the low-res but still somewhat useful picture of a blank board on the Vintagemicros site, and the pictures on this site: http://www.classic-computer-collection.de/de/neue-details/apple-lisa-2-peripherie.html (http://www.classic-computer-collection.de/de/neue-details/apple-lisa-2-peripherie.html). The only area of the board that I'm struggling with is the area around and underneath U4 and U6, the two logic chips right next to the 4-pin hard disk power connector. None of the pictures (other than the Vintagemicros picture, but it's way too blurry to see anything useful) show the bare board in this area and I was wondering if you guys could help me out here.

Would anybody who owns a Sun SCSI card be willing to desolder those two chips and post some pictures of that area of the board so that I can see all of the traces underneath? If not, I totally understand, but I figured that it wouldn't hurt to ask!

I'll keep you guys posted on any progress that I make with the motherboard or the SCSI card and if these projects are successful, I'm thinking about designing PCBs for the 2-port parallel card next!
Title: Re: Sun Remarketing SCSI Card Reverse-Engineering
Post by: rayarachelian on February 02, 2022, 02:07:55 pm
Here you go: http://lisaem.sunder.net/sunrem_scsi_blank_card.zip
Title: Re: Sun Remarketing SCSI Card Reverse-Engineering
Post by: AlexTheCat123 on February 02, 2022, 02:34:43 pm
Thanks Ray! Those are going to be super helpful!
Title: Re: Sun Remarketing SCSI Card Reverse-Engineering
Post by: patrick on February 03, 2022, 03:25:47 am
Attached is a schematic of the Sun Remarketing SCSI card.

I also have (redrawn) Eagle design files for the card. Twenty years ago I had built my own copy, with self-etched board and Quickboot-compatible EPROM. However, I never published the data because Sun Remarketing was still in business then. So it remained limited to personal use.

Title: Re: Sun Remarketing SCSI Card Reverse-Engineering
Post by: jamesdenton on February 03, 2022, 11:23:26 am

Would anybody who owns a Sun SCSI card be willing to desolder those two chips and post some pictures of that area of the board so that I can see all of the traces underneath? If not, I totally understand, but I figured that it wouldn't hurt to ask!

I'll keep you guys posted on any progress that I make with the motherboard or the SCSI card and if these projects are successful, I'm thinking about designing PCBs for the 2-port parallel card next!

I have a blank of the SCSI card if you'd like to borrow it for this project. Feel free to DM me.
Title: Re: Sun Remarketing SCSI Card Reverse-Engineering
Post by: AlexTheCat123 on February 03, 2022, 04:37:50 pm
Thanks for all of the resources guys! This is a lot more information than I was expecting to get and it will be really helpful in quickly finishing up this project!
Title: Re: Sun Remarketing SCSI Card Reverse-Engineering
Post by: Lisa2 on February 03, 2022, 09:58:26 pm
Attached is a schematic of the Sun Remarketing SCSI card.

I also have (redrawn) Eagle design files for the card. Twenty years ago I had built my own copy, with self-etched board and Quickboot-compatible EPROM. However, I never published the data because Sun Remarketing was still in business then. So it remained limited to personal use.

Note while Sun Remarking is not in business, the rights to the SUN SCSI design was sold before SUN shut down, and the current owner of this IP does not want this information to be open-source at this time.  Likewise the Quickboot ROM has not been open-sourced. 
Title: Re: Sun Remarketing SCSI Card Reverse-Engineering
Post by: patrick on February 04, 2022, 04:30:32 am
Understood. This means that this design data will continue not to be published.

For me, the DIY PCB became obsolete when I had the chance to buy an original unpopulated PCB from Sun Remarketing on ebay. And a few years later I developed my own storage solution https://john.ccac.rwth-aachen.de:8000/patrick/idefile.htm (https://john.ccac.rwth-aachen.de:8000/patrick/idefile.htm), which had the advantage that it could also be used with the "real" LisaOS. I didn't want to have a rare Lisa restored only to use it as a Macintosh.


Of course, this also means that no replica PCBs will be produced (which was the intention of the TO). Perhaps the current owner of the IP rights will decide to produce and sell a new batch of PCBs based on the existing Gerber data?
Title: Re: Sun Remarketing SCSI Card Reverse-Engineering
Post by: AlexTheCat123 on February 04, 2022, 10:39:59 am
Quote
Note while Sun Remarking is not in business, the rights to the SUN SCSI design was sold before SUN shut down, and the current owner of this IP does not want this information to be open-source at this time.  Likewise the Quickboot ROM has not been open-sourced.

I was under the impression that what I'm doing (and what Patrick did 20 years ago) is okay since I'm reverse-engineering the board myself without access to the original schematics. Of course, if I got my hands on the original files and released them to everyone online, that would be really bad and a clear violation of IP rights, but based on stuff that I've read online it seems that reverse-engineering a schematic from a PCB and making a new PCB layout from it is not IP infringement as long as you're not directly copying/referencing the original design files, which I don't even have access to.

I don't want to cause any sort of conflict over this, but I've put a lot of work into this project and it would be really upsetting if I'm not allowed to share the final product with anyone.
Title: Re: Sun Remarketing SCSI Card Reverse-Engineering
Post by: patrick on February 04, 2022, 01:08:27 pm
PCB artwork, drawings and software code is protected by copyright law. Circuits and algorithms might be patented.

So it is legal to draw a schematic from something you own and publish it, but you must not distribute the original documents without permission from the owner.. Assuming there is no patent on the circuit you could create your own pcb artwork, but you must not copy the original one.

At least in Europe patents expire after 20 years, but copyright remains until 75 years after the death of the author.
Title: Re: Sun Remarketing SCSI Card Reverse-Engineering
Post by: AlexTheCat123 on February 04, 2022, 01:46:00 pm
Quote
PCB artwork, drawings and software code is protected by copyright law. Circuits and algorithms might be patented.

So it is legal to draw a schematic from something you own and publish it, but you must not distribute the original documents without permission from the owner.. Assuming there is no patent on the circuit you could create your own pcb artwork, but you must not copy the original one.

So it looks like it's okay to proceed, right? I'm only going to publish my reverse-engineered schematics, not the originals, and the circuit doesn't seem to be patented so it seems like I'm free to make my own PCB.
Title: Re: Sun Remarketing SCSI Card Reverse-Engineering
Post by: Lisa2 on February 04, 2022, 04:19:10 pm
So it looks like it's okay to proceed, right?
I am not cool with this.  Legal or not, copying a design chip-for-chip, net-for-net, is plagiarism.  Just because the intention is that the result may be good for all, does not alone justify it.  The owner of the Sun SCSI design has asked that this forum not to distribute this information at this time.  As a forum administrator and the owner of the LisaList2.com domain I wish to proceed with caution, respecting the rights of all the members. 
Rick
Title: Re: Sun Remarketing SCSI Card Reverse-Engineering
Post by: compu_85 on February 05, 2022, 07:45:24 pm
Who is the owner of the Sun Remarketing IP at this point? Did they buy everything, or just bits / pieces?
Title: Re: Sun Remarketing SCSI Card Reverse-Engineering
Post by: Lisa2 on February 07, 2022, 04:33:58 pm
Who is the owner of the Sun Remarketing IP at this point? Did they buy everything, or just bits / pieces?
John of VintageMicros bought the remaining inventory from SunRem many years ago and he also acquired from Bob Cook the rights to the SunRem products at that time. 

Later John transferred the rights to the SunSCSI product to another person.  That person is the one who contacted me.

I want it to be clear that I am not John or the current owner of the SunSCSI design.  Nor do I have any interest in VintageMicros, business or otherwise.
Title: Re: Sun Remarketing SCSI Card Reverse-Engineering
Post by: stepleton on February 07, 2022, 06:28:24 pm
I hope I won't cause offence with the following --- it's not intended!

Is it known whether the current IP owner intends to sell more of these devices? I know you can get the bare boards from VintageMicros, but the ROM is useful for booting the Lisa, and if that's not for sale, then you'll have to boot MacWorks Plus II some other way. I'm also not sure how easy it is to source the L5380 SCSI controller IC. Incidentally, I found this technical post (by James MacPhail I assume) interesting (https://www.vcfed.org/forum/forum/genres/later-apple-68000-based-machines-mac-lisa-etc/40051-lisa-quickboot-rom?p=786353#post786353). It looks like you only need two bytes in the ROM to allow MacWorks to use the card, provided you have some other way of booting MacWorks, like a floppy disk.

(ETA: The ROM situation described in the post is an interesting one. I wonder how easy it is for the IP owner to make working ROM/PAL hybrid assemblies these days.)

I can understand misgivings about copying the PCB net (regardless of legality, which I think permits it for the reasons Patrick said, although I'm no lawyer!). I don't think this is plagiarism: Alex is not trying to say that the card is their own invention.

But if reverse-engineering and copying the net isn't fair play for other reasons, then we can abide by that, especially on this forum. Suppose instead you identified the "theory of operation" of the card and built some kind of replacement that MacWorks could use in the same way --- would this be all right?

It seems pretty likely that the card is the L5380 IC and some glue logic, and that basically MacWorks talks to the L5380 pretty directly. One of the chips on the card is a flip-flop, so there's a little additional state, but the rest is buffers and logic gates from what I can tell. Some of the glue logic may be for switching between the way the Lisa expects to talk to the ROM (using 16-bit 68000 peripheral interfacing) and how the MacWorks software might talk to the L5380 (which would be different if it uses 8-bit 6800 peripheral interfacing). The AppleNet card (https://github.com/stepleton/applenet) does the same thing.

The L5380 datasheet can be found on pages 424-447 of this PDF (http://www.bitsavers.org/components/logicDevicesInc/_dataBooks/1990_Logic_Devices_Fast_CMOS_Data_Book.pdf). I would bet MacWorks might only use a subset of the L5380's features, and you might be able to guess what they are by looking at the card's wiring or by examining MacWorks itself. From that knowledge you could make a new, compatible card, maybe one that makes use of modern ICs and a microcontroller that wouldn't be too hard to source. There's a lot of open-source activity these days in creating disk-emulating devices like BlueSCSI, so it may be possible to reuse some of that work here to recreate an L5380-based computer SCSI interface.

Alternatively, suppose you did have access to some L5380s, plus knowledge of what the support chips are doing (some logic function plus some state). You got this knowledge by understanding what the SCSI card logic does and/or by reverse-engineering MacWorks. You think you can probably replicate that same logic with a couple of GALs and some buffers, which you also have to hand, or maybe with your own 74-series design, or maybe with some other kind of programmable device.

Would either of these options be possible to discuss here? I promise I'm not trying to play games by asking. These alternative routes to a MacWorks-compatible SCSI card are ones that Alex or someone else might enjoy, and that bystanders like me would probably find enjoyable and educational to read about and discuss. If it's allowable on the premier Apple Lisa forum on the internet, then it's good to know it's an option. If not, there's always other projects.
Title: Re: Sun Remarketing SCSI Card Reverse-Engineering
Post by: AlexTheCat123 on February 07, 2022, 08:03:05 pm
Quote
You think you can probably replicate that same logic with a couple of GALs and some buffers

That's what I'm thinking about trying next, assuming it's allowed on the forum! You can find NCR 5380 chips on eBay for around $9.00, so sourcing those shouldn't be an issue.

I'm considering using a GAL from Atmel/Microchip because they seem to be the only company that's still making them, but I'm having some real trouble with their WinCUPL software suite for writing the GAL equations and simulating the results. It hasn't been updated since 2003 and fails to compile my code no matter what I try and doesn't give me any sort of explanation as to what the problem is. Does anyone know of a different piece of software that I could use to write and simulate the GAL equations? The only other free option that I can find is some ancient DOS program from the early 1990s, which is less than optimal.
Title: Re: Sun Remarketing SCSI Card Reverse-Engineering
Post by: rayarachelian on February 07, 2022, 09:11:32 pm
I hope I won't cause offence with the following --- it's not intended!

None implied, nor any detected.


I can understand misgivings about copying the PCB net (regardless of legality, which I think permits it for the reasons Patrick said, although I'm no lawyer!). I don't think this is plagiarism: Alex is not trying to say that the card is their own invention.

But if reverse-engineering and copying the net isn't fair play for other reasons, then we can abide by that, especially on this forum. Suppose instead you identified the "theory of operation" of the card and built some kind of replacement that MacWorks could use in the same way --- would this be all right?

There is already precedent: the Sapient Lisa motherboard, I/O board, CPU board, and Quad Port serial Card (Tecmar) all have been duplicated from the Apple (and Tecmar) originals, and as far as I know, this was done without the express permission of Apple (or Tecmar).

Further, the LisaDAC (sound) board has also been replicated, but this one had permission from the original designer.

On top of the original designs, many changes were made, so these new boards aren't just direct duplicates of the originals, but have been improved in several ways. This is the way of progress.
Title: Re: Sun Remarketing SCSI Card Reverse-Engineering
Post by: blusnowkitty on February 08, 2022, 11:03:18 am
I'm considering using a GAL from Atmel/Microchip because they seem to be the only company that's still making them, but I'm having some real trouble with their WinCUPL software suite for writing the GAL equations and simulating the results. It hasn't been updated since 2003 and fails to compile my code no matter what I try and doesn't give me any sort of explanation as to what the problem is.

Well the WinCUPL product brief ( https://ww1.microchip.com/downloads/en/DeviceDoc/DOC0434.PDF ) says its minimum requirements are a 486 running Windows 95. Spin up a VM with 95 and see if it does what you need.
Title: Re: Sun Remarketing SCSI Card Reverse-Engineering
Post by: AlexTheCat123 on February 08, 2022, 04:49:42 pm
Quote
Well the WinCUPL product brief ( https://ww1.microchip.com/downloads/en/DeviceDoc/DOC0434.PDF ) says its minimum requirements are a 486 running Windows 95. Spin up a VM with 95 and see if it does what you need.

I tried running it in a 95 VM and on actual hardware under 95, 98SE, and 2000, and still got the same problem.
Title: Re: Sun Remarketing SCSI Card Reverse-Engineering
Post by: rayarachelian on February 08, 2022, 06:50:16 pm
Might this help: https://sourceforge.net/projects/cupl-ide/files/ ?
Title: Re: Sun Remarketing SCSI Card Reverse-Engineering
Post by: AlexTheCat123 on February 08, 2022, 08:01:57 pm
Thanks Ray! That's just what I needed!
Title: Re: Sun Remarketing SCSI Card Reverse-Engineering
Post by: sigma7 on February 09, 2022, 06:43:55 pm
the Sapient Lisa motherboard, I/O board, CPU board, and Quad Port serial Card (Tecmar) all have been duplicated from the Apple (and Tecmar) originals, and as far as I know, this was done without the express permission of Apple (or Tecmar).

Further, the LisaDAC (sound) board has also been replicated, but this one had permission from the original designer.

On top of the original designs, many changes were made, so these new boards aren't just direct duplicates of the originals, but have been improved in several ways. This is the way of progress.

As far as I understand, rights to Apple's Lisa Hardware design were transferred in part or licensed to Sun Remarketing when they took over the liquidation of remaining Lisas, and when SR went out of business, Vintage Micros purchased those rights along with original Apple documents, unpopulated boards, parts and a substantial truckload of related material. I say "in part" as I expect Apple retains ownership, but licensed the Intellectual Property for use in sales, maintenance, repair, upgrades, etc. of Apple Lisas.

As Sapient's variants of Apple's Lisa boards were made in cooperation with Vintage Micros, I believe they are not in violation of IP rights to whatever extent they apply. Similarly, I believe Vintage Micro's has rights to duplicate items such as Lisa CPU board and I/O board ROMs.

The rights to products developed by Sun Remarketing (eg. the SCSI board, SIMM memory board, and Sun20 hard drive controller) were transferred to Vintage Micros as part of that purchase, hence the IP of Sapient's variants of those is held by Vintage Micros and Sapient Technologies.

MacWorks Plus development was funded by Sun Remarketing and so rights are currently held by Vintage Micros.

MacWorks Plus II and the PFG were developed by Sigma Seven Systems Ltd. which currently retains rights.

The rights to the QuickBoot ROM remain with the author Sigma Seven Systems Ltd. This was developed independently and not funded by Sun Remarketing, Vintage Micros, or Dafax. This product is not part of the Sun SCSI board, but an 'aftermarket upgrade'. It is actually a variant of the software written for the Lisa SCSI Accessories Card.

The original rights to the LisaDac sound card were transferred to Dafax Processing Corp., then to Sigma Seven Systems Ltd., and currently are licensed as-is to Vintage Micros for production.

The Tecmar Quad Serial board, AST RamStak, Priam DataTower interface, Lisa Xenix, and the like appear to be abandoned, and it seems that no-one is interested in asserting ownership of the IP of those products.

The X/Cops was developed by Sigma Seven Systems in conjunction with Vintage Micros who share rights.

Along with QuickBoot, IP rights to the XLerator, XLerator 12.5, XLerator 18, X/ProFile, X/ProFile Regulator, LSAC, and BLU currently remain with Sigma Seven Systems Ltd.

Numerous Lisa hardware and software projects have been developed by Dr. Patrick Schaefer, as well as a few by other active members of this board such as Tom Stepleton et al. Rights to these should be easily determined from their web pages or by contacting the creators directly.

And, of course, one of the most valuable of all... LisaEm belongs to Ray A. Arachelian!
Title: Re: Sun Remarketing SCSI Card Reverse-Engineering
Post by: sigma7 on February 09, 2022, 06:56:37 pm
(ETA: The ROM situation described in the post is an interesting one. I wonder how easy it is for the IP owner to make working ROM/PAL hybrid assemblies these days.)

Currently I still make new QuickBoots occasionally when Vintage Micros orders some for resale.

However, I am running low on genuinely new 2732 EPROMs (that I purchased from an official distributor when 2732s were still in production), so at some point they will need to be made from recycled or "NOS" parts of undetermined heritage.
Title: Re: Sun Remarketing SCSI Card Reverse-Engineering
Post by: AlexTheCat123 on February 09, 2022, 07:42:12 pm
Quote
As far as I understand, rights to Apple's Lisa Hardware design were transferred in part or licensed to Sun Remarketing when they took over the liquidation of remaining Lisas, and when SR went out of business, Vintage Micros purchased those rights along with original Apple documents, unpopulated boards, parts and a substantial truckload of related material.

Does this mean that I need to stop my reverse-engineering efforts on the parallel port card and 2/5 motherboard too?
Title: Re: Sun Remarketing SCSI Card Reverse-Engineering
Post by: sigma7 on February 09, 2022, 09:00:11 pm
Quote
As far as I understand, rights to Apple's Lisa Hardware design were transferred in part or licensed to Sun Remarketing when they took over the liquidation of remaining Lisas, and when SR went out of business, Vintage Micros purchased those rights along with original Apple documents, unpopulated boards, parts and a substantial truckload of related material.
Does this mean that I need to stop my reverse-engineering efforts on the parallel port card and 2/5 motherboard too?
My opinion is that you don't need to stop reverse-engineering (not that anyone could stop you if they wanted  :P) if it is for your own use.

The problem arises if that is used or shared in a way that interferes with a benefit that should go to someone else; which could be financial or something intangible like reputation or appreciation for a community contribution. (In the case of most Lisa products, a "financial benefit" is more likely to be reducing an out-of-pocket loss or a pittance for time spent rather than a net gain.)

I don't want your efforts to be unappreciated or of limited use... I suggest we discuss offline to see if there is a win-win-win option that is rewarding to you, the Lisa community in general, and any IP holders.
Title: Re: Sun Remarketing SCSI Card Reverse-Engineering
Post by: rayarachelian on February 09, 2022, 10:22:58 pm
And, of course, one of the most valuable of all... LisaEm belongs to Ray A. Arachelian!

and like the best things in life, LisaEm is free for all to enjoy and even contribute to. :)
Title: Re: Sun Remarketing SCSI Card Reverse-Engineering
Post by: dmark on May 07, 2022, 11:05:53 am
(ETA: The ROM situation described in the post is an interesting one. I wonder how easy it is for the IP owner to make working ROM/PAL hybrid assemblies these days.)

Currently I still make new QuickBoots occasionally when Vintage Micros orders some for resale.

However, I am running low on genuinely new 2732 EPROMs (that I purchased from an official distributor when 2732s were still in production), so at some point they will need to be made from recycled or "NOS" parts of undetermined heritage.

Have you made any new QuickBoot kits recently, by any chance? I've been trying to source one for a while, but haven't had any luck. Contacted John @ Vintage Micros about a week ago but he is not being responsive.
Title: Re: Sun Remarketing SCSI Card Reverse-Engineering
Post by: andrew on May 09, 2022, 10:15:45 am
I hope John is ok. Has anyone heard from him recently?
Title: Re: Sun Remarketing SCSI Card Reverse-Engineering
Post by: blusnowkitty on May 09, 2022, 11:19:55 am
I hope John is ok. Has anyone heard from him recently?

I did see that a new listing of spare Lisa case panels popped up on eBay in the last couple of days, but he may just have that set to keep relisting until all the stock is sold.
Title: Re: Sun Remarketing SCSI Card Reverse-Engineering
Post by: jamesdenton on May 09, 2022, 01:56:08 pm
I hope John is ok. Has anyone heard from him recently?

I have talked to John very recently, and while he is still doing sales of existing inventory, it doesn't look like he's building any new devices at this time.