Mac OS 9 Discussion > Mac OS 9 on Unsupported Hardware

The Dream Teams join us.

(1/3) > >>

cc333:
Looks like things here have slowed down here a bit.

Here is a thread on the 68k MLA forum that is relevant: https://68kmla.org/forums/index.php?/topic/27613-picking-apart-the-newworld-rom/#entry294970

c

nanopico:

--- Quote from: cc333 on May 02, 2016, 08:30:48 AM ---Looks like things here have slowed down here a bit.

Here is a thread on the 68k MLA forum that is relevant: https://68kmla.org/forums/index.php?/topic/27613-picking-apart-the-newworld-rom/#entry294970

c

--- End quote ---

Yes I'm sorry about that.  All my work came to a grinding halt a little over a month ago and I've got myself back together enough (damn you brain) to start working on it again.  I just got a new development environment set up for easier testing. I'm hoping to have some sort of update soon.

MacOS Plus:

--- Quote from: nanopico on May 02, 2016, 11:04:33 AM ---
--- Quote from: cc333 on May 02, 2016, 08:30:48 AM ---Looks like things here have slowed down here a bit.

Here is a thread on the 68k MLA forum that is relevant: https://68kmla.org/forums/index.php?/topic/27613-picking-apart-the-newworld-rom/#entry294970

c

--- End quote ---

Yes I'm sorry about that.  All my work came to a grinding halt a little over a month ago and I've got myself back together enough (damn you brain) to start working on it again.  I just got a new development environment set up for easier testing. I'm hoping to have some sort of update soon.

--- End quote ---

  Glad to see you're up and running again!  Hopefully there's a few other brainiacs out there willing to help you with this work.  It would be more fair to you, and less 'precarious'.

Protools5LEGuy:

--- Quote ---Hi folks,

 

This post might meander a bit, because I'm sleepy, so I do apologise. I really wanted to post this now that I've had some success.

 

I have written a Python script to take apart and put back together a Mac OS ROM file (a NewWorld Toolbox image -- tbxi). Just this evening I've gotten my iMac G4 to boot from one of its reassembled images. This is a first step towards getting OS 9 to run on some seriously different PowerPC hardware (G4 mini, or even G5). Much of my information has been taken from the SheepShaver source, and from the occasional stray Technote. Here it is:

https://github.com/elliotnunn/cdg5

 

 I note a few things:

    The "parcels-based" tbxis used by ~9.1 onwards seem to be an attempt to offload hardware-specific work from the 4 MB ROM image to the Trampoline bootloader. The real work of my script is the extraction of the parcels into an XML data structure.
    The Trampoline ELF executable, as well as copying and modifying the Open Firmware device tree, sets up interrupts for the Nanokernel. This implies that the Northbridge and Southbridge are largely initialised before the Mac OS and drivers take over.
    Little has been done to reverse-engineer 4 MB PCI Power Mac ROMs (with the notable exception of the work of the SheepShaver devs). This is a shame, because at least the "resources" in the ROM are easily unpacked. I intend to do more work here.
    Open Firmware imposes a hard 4 MB limit on tbxis, so their contents *must* be compressed. What a pain.
    The two executables after the parcels blob in the tbxi file have a fixed offset (per file at least) and must be present to boot. It would be very helpful to be able to move them and give the parcels blob some breathing space, but this is not urgent because you can just remove unnecessary driver parcels.
    Anyone interested in the workings of the Mac OS Nanokernel should check out PowerMacInfo from the Multiprocessing SDK, which you can find at this mirror of Apple's FTP site: http://staticky.com/

Credit is due to nanopico of MacOS9Lives for his work on this thread, which introduced me to the insides of a tbxi: http://macos9lives.c....php?topic=2727

 

Cheers,

 

Elliot

--- End quote ---

ELN:
Hi all,
I think I'll start posting here about my sleazy tbxi hacking. More interest! I have just gotten LZSS re-compression working (what a pain) so now I can rebuild a Mac OS ROM file from something more like scratch. In fact, my iMac just booted from such a file. :)
My repository is at: https://github.com/elliotnunn/cdg5
Best,
Elliot

Navigation

[0] Message Index

[#] Next page

Go to full version