• Updated 2023-07-12: Hello, Guest! Welcome back, and be sure to check out this follow-up post about our outage a week or so ago.

Carrera040 Info / Hacking Thread

trag

Well-known member
Have you guys had a look at the "MC68040 Designer's Handbook" from Motorola?   Section 7 is "MC68040 to MC68020/MC68030 Bus Adapter Design", with designs for the various PAL chips needed to create an adapter.   I wonder if Daystar's and the other designs aren't completely based off of this Motorola design.

 

Trash80toHP_Mini

NIGHT STALKER
That makes a world of sense. I wonder if there's similar MC68030 to MC68020/MC68000 cribbage in the earlier docs? That is one monster PDF scroll of Greek to me.

 

trag

Well-known member
As far as I can tell, the PAL listings are in ABEL.   Just mentioning it, because I'll have forgotten by tomorrow, and it's nice to document it somewhere.

 

Trash80toHP_Mini

NIGHT STALKER
RATS! The MC68030 User Manual has that kind of info on adaptations required for retrofitting a 68020 design with a 68030, but there doesn't seem to be anything like that in the MC68020 manual for retrofitting an MC68000 design. :p

 

nickpunt

Well-known member
Interesting note here, discovered a super old usenet thread from Jan 1993 discussing the impending launch of the Mobius Speedster 040 (aka Carrera 040 afaik) and at launch it was going to be for the SE/30. 

I'd be very interested in hearing reports from the field too.  FYI, the ad lists prices for the Speedster: 

                25MHz           33MHz           40MHz 
No FPU          $799            $899            --- 
With FPU        $1099           $1299           $1499 

It also says "Available for the SE/30, Mac II, IIx, IIcx, IIsi, IIci, 
LC, LC II, Performa 400 and 600."...

...Sorry not to include this in my other post, but does the SE/30 version of the Mobius have the option of leaving the PDS open for a video card (as does the Daystar)?  I would hate to give up color for speed! ...

...        I went back to the Mobius booth and noticed that their card had some unoccupied sockets at one end. When I pressed a Mobius rep about this, he verified it was indeed, a place to hang a 128K cache card, along with possibly "other things". He wouldn't reveal what "other things" were, although he bragged that their card had more lines and more controlability than the corresponding Daystar Digital card. The cache card would go for somewhere around $300-$400. I'm guessing it might be some sort of high speed coprocessor or QuickDraw accelerator, or even a compression daughter card.         Other observations...I asked the Mobius rep how many working 40Mhz '040 cards they had - he said 1 (I'm pretty sure that's what he said). I guess that's all the prototype cpu's they could get from Motorola. Also the Mobius rep said that for the first 6 months of its delivery, the card would come with a socketed rom, so firmware upgrades would be possible by shipping a software patch combined with a new rom. The Mobius card had 2 or 3 ASICs along with a couple more chips. The Daystar Digital board had a bunch of PALs on it. I guess this is just different design philosophy. 
Later in Apr 1993 someone else was inquiring about it in the SE/30

A colleague of mine is thinking about upgrading his SE30 with one of the 40 mHz 040 accelerator cards (Speedster series) that Mobius has been advertising, and would be interested in hearing about the experiences that people have had with this configuration of Mobius' 040 accelerator and machine. Actually, given the relative newness of Mobius' 040 line, I'm sure that he'd be interested in input from anyone who has one of these cards (any configuration, any machine). 
And if you want to know the person who made the control panel software, here he is:

Jim Ye worked for Mobius and was the one who wrote the control panel 
upgrade.  Before they went under, he took the customer list and sent out 
mailings trying to make a quick buck.  Now I don't have a problem with 
this, because Mobius probably owed him money after they went under, but 
for continued support I would go to Galaxy.   


That site has a lot of related links of other usenet threads that are surprisingly relevant. There's probably more gems in there.

Interesting that this product seems to have changed hands several times - Mobius, Galaxy Hardware Publishers, Sonnet (Jun 1995), and Micromac.

trag - funny you mention the Designers Handbook, as someone in 1991 was trying to build their own accelerator and mentioned it -

Actually, the Motorola "MC68040 Designer's Handbook" (MC68040DH/AD), a snazzy slip-cased 3-ring binder, contains a section entitled "MC68040 to MC68030 Bus Adapter Application". 

There's a complete schematic with part numbers, and equation files for 
all the PALs in the design. In short, it describes 100% of the necessary 
hardware. There are some limitations; some of the bus interface 
protocols are necessarily different, but these can be overcome with 
the addition of some firmware and/or system software patches. 

That's the rub... NONE of the necessary firmware/software is provided. 

Paragraph 7.1.1, "Software": 

"System software issues include differences in the memory management 
structure, internal cache initialization and management, software 
emulation of unimplemented floating-point instructions, emulation of 
unsupported instructions, and the exclusion of the instruction 
continuation exception model (i.e., bus error)." 

The design requires the following chips: 

MC88195 clock generator 
6 PALs (3*22V10, 20R8, 16R8, 16R6) 
9 TTL logic packages (74F139, 74AS20, 74AS32, 74AS00, 74F64, 74AS821, 
                      74AS257, 2*74AS573) 
8 bus buffers (74F543) 

plus various passive components. 

Now... maybe this is irresponsible speculation, but in the Mac Zone 
ad in the July 1991 "MacWorld" magazine, there's a nice color picture 
of a product called Magellan, from Total Systems. This is an 
040 accelerator for the SE/30 or IIsi. (IIci and IIfx models are 
promised but no prices are listed.) 

It appears to me to have a special oscillator module, 7 PALs, 8 
74FCT543's, and miscellaneous logic and passive components. 

Could this be the Motorola circuit? Are they using some sort of INIT 
to patch the system? I don't know. The product is reasonably priced, 
but it's out of my range for the moment, and I have a IIcx anyway. 
This is probably all old news to everyone, but posting here in case there's some relevance.

 
Last edited by a moderator:

Trash80toHP_Mini

NIGHT STALKER
Fabulous research, nick!

Someone needs to scour the MacWorld and MacUser archive to follow up on mentions of SE/30 support. Your newsgroup research turned up a detailed pic of another accelerator in a specific MacWorld issue that I'll definitely be looking up myself when/if I can find the time to go through that pile of .TXT again before someone else posts the pic.

Just how many brand names has this puppy shown up under in its long and sordid history? There's a list in there somewhere?

Checking advertiser indices on either side that date for those Mobius/?/??Carrera mfrs. Model Designations  in ads might be fruitful. The mail order houses had some fab pics if the mfr. ads come up empty. They're a bountiful source of all kinds of research material.

Magazine archive research just might turn up a pic of an SE/30 adapter one of the companies came up with for Mobius/Carrera/Whatever. Whether such a mythical beast had GAL adaptation on board or not as opposed to joe's passive IIsi adapter would be the answer to one very important question about this endeavor.

 
Last edited by a moderator:

Trash80toHP_Mini

NIGHT STALKER
Magellan_040_SE30_Accelerator_etc-vert.JPG

Total_Systems_Magellan_040_0.JPG

"Magellan" is likely a MacZone trade name for this Accelerator. I see two unimplemented connectors (for various machine PDS adapters? How backwards is that universality!?!) with beaucoups GAL support in the maximum spec. SE/30 expansion form factor. 040 Accelerator for IIfx!?!  :eek:

Now if someone can come up with a pic of a Carrera SE/30 Adapter we could be in business.

 
Last edited by a moderator:

olePigeon

Well-known member
Might be the MacZone rebadge of the TokaMac, since that's the only accelerator for the IIfx that was actually released.

By the way, I never heard back from Hans of Micromac.  If anyone else is interested in contacting him, I can give you his contact info via PM.

 

trag

Well-known member
The historical information is always interesting, Nick.

I'm not going in the attic any time soon to check, but the assortment of chips in the Motorola design tracks my memory pretty well for the pre-ASIC Daystar Turbo040.

The big difference being that the Motorola deisgn uses a clock generator that drives the 68040 and adapter card at the same speed as the host, whereas the Daystar designs seem to have some method of making the 68040 speed independent of the host speed.

As far as the software component to the adapter, I assume that is in the Flash chip that is onboard the 68040 upgrades.   The Motorola document states that if one puts an EPROM on the adapter card, the necessary software can live there.    It's true that there doesn't seem to be any kind of software listing anywhere though.   It's probably too dependent on the OS running on the host system.

There's so much detail about how the signals are being adapted, that I suspect that if one developed a detailed understanding of the adapter, the necessary software would become fairly obvious, given an understanding of the host system's OS.

ABEL is an old hardware description language for programmable logic.   It seems to have existed somewhere between PALASM (PAL Assembly) and VHDL (mumble Hardware Description Language).    Took a bit of sleuthing to match the Motorola code listings to ABEL though, as I was not previously aware of the language.  I was reading the code and thinking, "This looks a bit like VHDL, but doesn't seem quite right...."

Anyone have the 68040 Technical Summary?  Basically the datasheet for the 68040.   The User Manual is all over the place (MC68040UM.pdf), but the Technical Summary/Datasheet seems to be unobtainium (MC68040D.pdf). 

I had never seen the Designer's Handbook and had no idea it existed before a couple of days ago.  I wish I had grabbed all the 68K relevant Application Notes back when.    There's one on interfacing the DP83932 to the 68030 for ethernet, "32-Bit Bus Master Ethernet Interface for the 68030 (Using the Macintosh SE/30)".  That's actually a National Semi AN (they made the DP83932).   National Semiconductor AN691.

And for jt, "Replacment of MC68000 Processor with MC68020 or MC68030 with Coprocessor Option for MC68881 and MC68882: MACH110" by Christoph Niessen.   And Advanced Micro Devices note, apparently.  I'm not sure what their angle was, but I haven't read the note.

Also attaching the 68030 Technical Summary as an example.  I have not been able to find the corresponding 68040 document, but it should look like that, except everywhere it says 68030, it should say 68040.

Oh, I forgot, yeah, there's something wrong with that AMD application note on replacing the 68000 with the 68020 or 68030.  It starts out in English, for the summary, and then switched to German.  And the code listing (in ABEL again) appears to be localized to German.     Do we have any German speaking members?

View attachment Replacement_of_MC68000_with_MC68020_or_MC68030_[AMD_1993_18p].pdf

View attachment HDL-ABEL Primer.pdf

View attachment ABEL-HDLReferenceManual.PDF

View attachment abel_sample_code.pdf

View attachment MC68040_Designers_Handbook_[Motorola_1990_256p].pdf

View attachment AN691_32-Bit_Bus_Master_Ethernet_Interface_for_the_68030_(Using_the_Macintosh_SE30)_[NS_1995_1...pdf

View attachment MC68030_Technical_Summary_[Motorola__1991_52p].pdf

 
Last edited by a moderator:

trag

Well-known member
That's a product brief, rather than a full datasheet, but I appreciate the thought and effort.

 
Last edited by a moderator:

Trash80toHP_Mini

NIGHT STALKER
Might be the MacZone rebadge of the TokaMac, since that's the only accelerator for the IIfx that was actually released.
The SE/30 form factor is unmistakable:

Largest_sllowable_SE30_expansion_card-0.JPG

There is no reason to use that form factor in anything but an SE/30 PDS or a IIsi PDS Right Angle Adapter per Apple spec. Thougf the plethora of mounting points has me wondering. This is literally the second card I think I've ever seen built to bog standard max. spec.

It wouldn't be the first time someone advertised vapor. Lead times on mag ads, promised release dates and actual condensation of liquid into the retail channel sometimes  .  .  .  erm  .  .  .  never mind.

Has anyone added the 1990 MC68040 Designer's Handbook to the reading list yet?

http://www.retronik.fr/motorola/68K/68040-68060/MC68040_Designers_Handbook_[Motorola_1990_256p].pdf

This is exhausting  .  .  .  :-/   .  .  .  just thinking about it.

 
Last edited by a moderator:

MOS8_030

Well-known member
That's a product brief, rather than a full datasheet, but I appreciate the thought and effort.
Yeah, a lot of documentation has been dropped or just plain lost over the years with the Motorola/Freescale/NXP transitions.

 

GeekDot

Well-known member
Oh, I forgot, yeah, there's something wrong with that AMD application note on replacing the 68000 with the 68020 or 68030.  It starts out in English, for the summary, and then switched to German.  And the code listing (in ABEL again) appears to be localized to German.     Do we have any German speaking members?
Well, yes you do. Bolle an I are „ze Gerrrmans“ in here.

The 2 German pages in the AMD doc are just the same as the previous English ones... 1:1 translation. No secrets there...

quick update on digging through the CP code:

I’m 99% sure to have found the ‚crash area‘, leading to the undocumented,mystery lomem globals. I’m currently comparing that between my IIci and SE/30. Quite a drag constantly swapping the C040 back and forth.

Generally, the CP is quite complex, many traps are going to be patched in there, 68882 emulation for the 040 been added, lots of cache handling etc etc...

 

GeekDot

Well-known member
Wow... nearly 10 months since the last post!

This and the fact that 68kmla had a moment of rest in last weeks I thought it would be a good thing to document my work on the Carrera 040 driver in a place I can control and also have all the means to create a layout fitting the requirements of describing 6000+ lines of 68k assembly ;-)

Yup, I will guide you along what I've done the last year+ (with pauses) and am still chewing on. 

So click the link for your amusement, enlightenment or participation:  http://www.geekdot.com/carrera-040-in-an-se-30/

Because of its sheer size, I'll add more chapters/post over the time until we're all on the same page. Sometimes it just needs more eyes & brains onto a problem to see the obvious.

 

trag

Well-known member
Very cool of you to share this.   You're on a path that I keep wishing I would make the time to pursue, but I don't.  So it's wonderful to watch someone else do it.

 
Top