68kMLA Classic Interface

This is a version of the 68kMLA forums for viewing on your favorite old mac. Visitors on modern platforms may prefer the main site.

Click here to select a new forum.
CUDA, EGRET, HC6805 Hacking
Posted by: techknight on 2018-04-01 17:22:47
Dont know if it still works or not. 

Posted by: Bunsen on 2018-04-07 04:07:51
It works.

Posted by: powermax on 2018-04-07 05:17:23
It works.
Glad to know, thanks!

IIUC, I'd need an extra account to access the Wiki, right?

Is there any ASIC-related Wiki section there? I didn't see any. Where may I post such information to?

Posted by: pb3623 on 2018-04-10 12:55:29
I'll throw this out there even though I'm not 100% positive it's still relevant:

I would be willing to at least loan out my nonfunctional Q700 board (the one that spawned this thread) or would outright donate it to science to help further this cause. It's not doing anything for me right now and may never work. It (and I!) would benefit if there's even a hint of what caused the ADB issue I'm having. PM me if there is any interest.

Posted by: Dandu on 2018-04-19 05:09:43
Is this possible tu dump and recreate a CUDA Lite chip ?

It would be fun to add PS/2 Mouse and Keyboard on a Mac.

I thunk it's the same chip, but with more memory and code inside the firmware to handle PS/2 peripherals.

On the Mac side, the Power Mac 4400 use this chip, but without the component to use PS/2 (the trace are on the motherboard)

Posted by: powermax on 2018-04-22 15:30:30
Is this possible tu dump and recreate a CUDA Lite chip ?
Never heard anything about it. Can you supply some more information on that CUDA Lite chip?

I thunk it's the same chip, but with more memory and code inside the firmware to handle PS/2 peripherals.
Well, CUDA as well as its predecessors (Bit-bang, Egret) is basically a multipurpose MCU that emulates some peripheral bus protocol using the bit banging approach. In other words, all required functionality is implemented in software.

To recreate the chip, we thus need to download and understand its firmware.

IIRC, Arbee from MAME project may have already obtained a dump of CUDA Lite as he did for other CUDA versions. I'm going to ask him...

Posted by: Dandu on 2018-04-23 06:55:08
I have found the information into the LPX-040 motherboard developer note : https://web.archive.org/web/20030410054223/http://developer.apple.com/techpubs/hardware/Developer_Notes/Macintosh_CPUs-PPC_Desktop/LPX-40_Dev_Note.pdf

The Cudla Lite is on the clone logic board and on Power Mac 4400. It's like a CUDA classic chip with PS/2 support.

On the clone from Motorola, there is PS/2 port, on the Power Mac 4400, there is trace on the logic board only.

Posted by: powermax on 2018-07-07 15:59:15
Hi crews,

I've just started uploading a commented assembly for the Cuda Firmware v2.37, see this Github repository. To my knowledge, that's the latest firmware available but we need to re-check it. In the next days, I'm going to put even more docs on Cuda - so stay tuned!

Posted by: trag on 2018-07-08 00:58:00
Thank you, Powermax.

Posted by: bigmessowires on 2019-04-17 20:33:56
Thanks for the commented disassembly! Is that the whole thing, or just a part? I didn't see anything in there for how CUDA monitors the power button and asserts or de-asserts /PFW to turn on/off the power supply.

Posted by: jdlanza on 2020-09-19 05:21:19
Is this project still active?

Posted by: LaPorta on 2020-09-21 18:52:45
Did anyone ever get anywhere with making a replacement EGRET? I need one yesterday!

Posted by: joshc on 2022-04-04 23:07:07
Did anyone manage to dump the contents of an Egret? My understanding is that it's got custom Apple ROM contents to handle RTC/ADB.

My understanding of how most of this works is limited beyond "there's stuff on a chip there and we want to grab that and program a replacement chip", so what are the main blockers to achieiving this?
Posted by: demik on 2022-04-05 07:59:25
Did anyone manage to dump the contents of an Egret? My understanding is that it's got custom Apple ROM contents to handle RTC/ADB.

There is a dump tool and a few dumps around. AFAIK no-one build a replacement (yet).
Dump tool: https://www.gryphel.com/c/minivmac/extras/egretrom/
Dumps: https://www.buriedbits.org/a-whole-lotta-roms
Posted by: joshc on 2022-04-05 13:34:27
So how would we go about doing something with those ROM dumps?

Tekmos seem to make a range of microcontrollers that are the modern day equivalent of the Motorola ones... https://www.tekmos.com/68hc705-microcontrollers/tk68hc05b6-microcontroller

No idea if that's viable or not though.
< 2