Welcome, Guest. Please login or register.

Author Topic: PPC Questions  (Read 2621 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline beakster2Topic starter

  • Jr. Member
  • **
  • Join Date: Jul 2007
  • Posts: 63
    • Show all replies
PPC Questions
« on: February 29, 2008, 01:20:18 AM »
Yo,

I've just downloaded the Phase5 PPC devkit from http://powerup.amigaworld.de/index.php?lang=en&page=13 and I'm trying to get my head around it.  Ultimately I'd like to have a shot at integrating some Open Source PPC Emulation code into UAE, but I have a lot to learn first.

Questions:
1)  Where can I get the source code for PPC.library?  I understand that this abstracts all communication with the PPC Co-Processor, so I need to understand how method such as PPCRunObject() work.

2) The documentation states that on the PPC side a small kernel runs which controls memory management and communication back to the 68k side.  Is this kernel loaded and started by the ppc.library, or is this something which loads from a ROM on the CyberstormPPC board when the computer is booted.  If it is on a ROM where can I get the source for it?

Thanks
 

Offline beakster2Topic starter

  • Jr. Member
  • **
  • Join Date: Jul 2007
  • Posts: 63
    • Show all replies
Re: PPC Questions
« Reply #1 on: February 29, 2008, 01:43:20 AM »
Damn, I thought that would be the case.

I don't suppose the Warpup Powerpc.library code is available anywhere?

My next step is to go through the code of the Linux APUS bootstraping code, but I have a feeling this uses ppc.library to hand control over.

I guess I'll need to start looking at disassembling :-(.
 

Offline beakster2Topic starter

  • Jr. Member
  • **
  • Join Date: Jul 2007
  • Posts: 63
    • Show all replies
Re: PPC Questions
« Reply #2 on: February 29, 2008, 01:49:09 AM »


Quote

bloodline wrote:
Well the PowerUP software isn't going to help if you want PPC emulation in UAE...


I think the PowerUp ppc.library would help me alot.  At the moment all I know is that the AmigaOS VBlank interrupt is used to signal the PPC processor, but if I could actually see the code which hands over control to the PPC then I would know what I needed to intercept in UAE to start the PPC emulation process running (and vice versa for switching back to 68k).

Thanks for the tip about the MorphOS forums I'll wait and see who gets back to me here then post on there if I dont have any luck.  :-)