Giter Club home page Giter Club logo

Comments (4)

Wack0 avatar Wack0 commented on May 30, 2024 1

Do you think that at this point it's more rational to just build the leaked NT code with big-endian support?

Good luck with that. I had to hack a toolchain together for building PPC PEs in the first place, and even then there's no SEH support (because I don't need it).

from nt4.0onmac.

rndtrash avatar rndtrash commented on May 30, 2024

Hey, nice to meet you! I saw your posts, and I want to say you've done great work! πŸ₯‚

I have little to no experience working with this stuff, so I was copying the code from yaboot and OpenBSD's bootloader until it worked. I thought that it would be possible to change the endianess to a little before jumping to the code, and then changing the endianess back and forth when calling OF, which I guess is slow, but that's not a problem if Windows runs at all :^)

Your comment made it clear why it never worked on the real hardware. Where can I read more about the internal workings of a G3? All I had was the OpenFirmware specification.

Sadly, I can't test the project on real hardware anymore, and I have a course work to be done, so the project is on a hiatus. I guess after compiling GCC+Binutils for 5 days straight and 7 attempts at installing an alternative OS (they all showed a black screen after a reboot, both Linuxes and *BSD's), the graphics chip fell off - my $25 iBook chimes, but the screen is black. DingusPPC looks promising, though. I'm going to try again as soon as they'd support the New World Macs.

By the way, do not read the code unless you want to contribute to ReactOS in the futureπŸ₯΄ (I am no longer welcome here)

from nt4.0onmac.

Wack0 avatar Wack0 commented on May 30, 2024

I thought that it would be possible to change the endianess to a little before jumping to the code, and then changing the endianess back and forth when calling OF

That was my first thought when I started the Wii port. It turns out that MSR_LE only changes the addresses being accessed on the bus, it still needs support in the memory controller for doing the remainder (grackle has this, but uni-north as far as I can tell does not). This changed at some more modern powerpc implementation, but that doesn't really matter here.

Where can I read more about the internal workings of a G3?

The documentation is in lots of different places, including PowerPC 750/750CX/750CXe/750FX user manual, there's some other documentation which describes things like BATs and page tables, although practically I've just used the mario kart wii forum posts on those topics for the most part.

from nt4.0onmac.

rndtrash avatar rndtrash commented on May 30, 2024

That was my first thought when I started the Wii port. It turns out that MSR_LE only changes the addresses being accessed on the bus, it still needs support in the memory controller for doing the remainder (grackle has this, but uni-north as far as I can tell does not). This changed at some more modern powerpc implementation, but that doesn't really matter here.

Damn, that sucks. Do you think that at this point it's more rational to just build the leaked NT code with big-endian support?

The documentation is in lots of different places, including PowerPC 750/750CX/750CXe/750FX user manual, there's some other documentation which describes things like BATs and page tables, although practically I've just used the mario kart wii forum posts on those topics for the most part.

Mario Kart Wii? Wow. Gonna take a look, thanks!

from nt4.0onmac.

Related Issues (1)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.