Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
PPC Emulator?!
View unanswered posts
View posts from last 24 hours

Goto page 1, 2, 3, 4, 5, 6, 7  Next  
Reply to topic    Gentoo Forums Forum Index Off the Wall
View previous topic :: View next topic  
Author Message
andrewy
l33t
l33t


Joined: 07 Apr 2004
Posts: 602

PostPosted: Mon May 10, 2004 2:08 am    Post subject: PPC Emulator?! Reply with quote

http://developers.slashdot.org/article.pl?sid=04/05/10/011255&mode=thread&tid=107&tid=162&tid=185&tid=187&tid=99
What do you guys think?
Has anyone tried it? Does it really work with OS X?


Last edited by andrewy on Thu May 13, 2004 8:33 pm; edited 1 time in total
Back to top
View user's profile Send private message
wdreinhart
Guru
Guru


Joined: 11 Jun 2003
Posts: 569
Location: 14SQB1124847710

PostPosted: Mon May 10, 2004 2:43 am    Post subject: Reply with quote

I'll give it a try and report back, I just happpen to have a set of OSX 10.2 install CDs on my desk.

[edit]
Yes, it can boot OSX from the install CD. This is neat!

It's all sorts of the slow, though...


Last edited by wdreinhart on Mon May 10, 2004 2:59 am; edited 2 times in total
Back to top
View user's profile Send private message
gsfgf
Veteran
Veteran


Joined: 08 May 2002
Posts: 1266

PostPosted: Mon May 10, 2004 2:49 am    Post subject: Reply with quote

I'm gonna have to check this out. Will it be in portage?
_________________
Aim:gsfgf0
Back to top
View user's profile Send private message
shm
Advocate
Advocate


Joined: 09 Dec 2002
Posts: 2380
Location: Atlanta, Universe

PostPosted: Mon May 10, 2004 3:40 am    Post subject: Reply with quote

wow, quite interesting.

Most impressive was that he himself does not even have any PPC hardware.

Quote:
Because the author has only access to little endian machine, PearPC will most likely only run on little endian architectures due to some stupid assumptions in the code. This shouldn't be hard to fix, the author would fix this himself if he had big endian hardware (Hint: You should donate big endian hardware to the author if you want this to be fixed!)

_________________
what up
Back to top
View user's profile Send private message
stonent
Veteran
Veteran


Joined: 07 Aug 2003
Posts: 1139
Location: Texas

PostPosted: Mon May 10, 2004 5:58 am    Post subject: Reply with quote

Code:
=====================
Configuration summary
=====================

cpu:                                 generic
gui:                                 qt
enable profiling:                    no
make an optimized build:             yes
omit frame pointer:                  yes
=====================
/usr/bin/gmake  all-recursive
gmake[1]: Entering directory `/root/pearpc-0.1'
Making all in src
gmake[2]: Entering directory `/root/pearpc-0.1/src'
Making all in cpu_generic
gmake[3]: Entering directory `/root/pearpc-0.1/src/cpu_generic'
g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I..    -D_FILE_OFFSET_BITS=64 -pipe -g -O2 -Wall -fsigned-char -fomit-frame-pointer -c ppc_cpu.cc
ppc_cpu.cc: In function `void ppc_run()':
ppc_cpu.cc:111: error: cannot bind packed field `gCPU.PPC_CPU_State::physical_code_page' to `byte*&'
gmake[3]: *** [ppc_cpu.o] Error 1
gmake[3]: Leaving directory `/root/pearpc-0.1/src/cpu_generic'
gmake[2]: *** [all-recursive] Error 1
gmake[2]: Leaving directory `/root/pearpc-0.1/src'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/root/pearpc-0.1'
make: *** [all-recursive-am] Error 2


Nice failure... Wonder what it means?
_________________
Inspiron 4100 & Sun UltraAXe
Portage on Solaris|Dell Laptop Hacks
The way you feel about organized religion is the same way I feel about organized socialism.
Back to top
View user's profile Send private message
andrewy
l33t
l33t


Joined: 07 Apr 2004
Posts: 602

PostPosted: Mon May 10, 2004 11:28 am    Post subject: Reply with quote

stonent wrote:
Code:
=====================
Configuration summary
=====================

cpu:                                 generic
gui:                                 qt
enable profiling:                    no
make an optimized build:             yes
omit frame pointer:                  yes
=====================
/usr/bin/gmake  all-recursive
gmake[1]: Entering directory `/root/pearpc-0.1'
Making all in src
gmake[2]: Entering directory `/root/pearpc-0.1/src'
Making all in cpu_generic
gmake[3]: Entering directory `/root/pearpc-0.1/src/cpu_generic'
g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I..    -D_FILE_OFFSET_BITS=64 -pipe -g -O2 -Wall -fsigned-char -fomit-frame-pointer -c ppc_cpu.cc
ppc_cpu.cc: In function `void ppc_run()':
ppc_cpu.cc:111: error: cannot bind packed field `gCPU.PPC_CPU_State::physical_code_page' to `byte*&'
gmake[3]: *** [ppc_cpu.o] Error 1
gmake[3]: Leaving directory `/root/pearpc-0.1/src/cpu_generic'
gmake[2]: *** [all-recursive] Error 1
gmake[2]: Leaving directory `/root/pearpc-0.1/src'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/root/pearpc-0.1'
make: *** [all-recursive-am] Error 2


Nice failure... Wonder what it means?


try these configure flags
./configure --enable-gui=qt --enable-cpu=jitc_x86
Back to top
View user's profile Send private message
Gandalf the White
Guru
Guru


Joined: 17 Dec 2003
Posts: 320
Location: Verdun, Canada

PostPosted: Mon May 10, 2004 11:43 am    Post subject: Reply with quote

8O


Thank you thank you thank you thank you thank you!

As I'm sure you can tell, this is what I've been waiting for! Can't wait, get back from school, download this, install osx, ahhhhhh.
Back to top
View user's profile Send private message
stonent
Veteran
Veteran


Joined: 07 Aug 2003
Posts: 1139
Location: Texas

PostPosted: Mon May 10, 2004 3:25 pm    Post subject: Reply with quote

I was finally able to get something to boot. I downloaded the jitc version for windows and booted a Gentoo 1.4 iso with it (the 2004 and 2004.1 versions crash shortly after boot).

The speed seemed decent, much better than I expected.
_________________
Inspiron 4100 & Sun UltraAXe
Portage on Solaris|Dell Laptop Hacks
The way you feel about organized religion is the same way I feel about organized socialism.
Back to top
View user's profile Send private message
stonent
Veteran
Veteran


Joined: 07 Aug 2003
Posts: 1139
Location: Texas

PostPosted: Mon May 10, 2004 5:14 pm    Post subject: Reply with quote

Here's a screen shot with it running the 1.4 Universal PPC LiveCD with an OpenSSL speed test so you can get an idea of the general performance. This test was run on a 500Mhz Pentium3 under Windows XP.

http://home.comcast.net/~stonent/pearpc.PNG

Here's another screenshot with a listing of the emulated PCI devices and the cpuinfo

http://home.comcast.net/~stonent/pearpc2.png
_________________
Inspiron 4100 & Sun UltraAXe
Portage on Solaris|Dell Laptop Hacks
The way you feel about organized religion is the same way I feel about organized socialism.
Back to top
View user's profile Send private message
mcduke
n00b
n00b


Joined: 27 Dec 2003
Posts: 6
Location: Salzburg, Austria

PostPosted: Mon May 10, 2004 8:26 pm    Post subject: Reply with quote

Still can't believe that it works, but it does:

http://mcduke.typepad.com/mymind/2004/05/the_world_turne.html

Crazy hack, that. What a strange feeling to have Mac OS X running (okay.. crawling, but that's beside the point) on x86. Weird.
Back to top
View user's profile Send private message
stonent
Veteran
Veteran


Joined: 07 Aug 2003
Posts: 1139
Location: Texas

PostPosted: Tue May 11, 2004 4:02 am    Post subject: Reply with quote

I did some more benchmarking on my 1ghz laptop under xp and gentoo and both times got the same exact score as the 500mhz system at work. :roll:
_________________
Inspiron 4100 & Sun UltraAXe
Portage on Solaris|Dell Laptop Hacks
The way you feel about organized religion is the same way I feel about organized socialism.
Back to top
View user's profile Send private message
Gandalf the White
Guru
Guru


Joined: 17 Dec 2003
Posts: 320
Location: Verdun, Canada

PostPosted: Tue May 11, 2004 12:07 pm    Post subject: Reply with quote

Could someone post their config please? I can't get it to see my hard disk image.

EDIT: got it work, nm
Back to top
View user's profile Send private message
gsfgf
Veteran
Veteran


Joined: 08 May 2002
Posts: 1266

PostPosted: Tue May 11, 2004 6:24 pm    Post subject: Reply with quote

i'm getting this error
Code:
[IO/PROM] <Error> Unknown interpret size 1972

Anyone know what's worng?
_________________
Aim:gsfgf0
Back to top
View user's profile Send private message
truekaiser
l33t
l33t


Joined: 05 Mar 2004
Posts: 643

PostPosted: Tue May 11, 2004 7:39 pm    Post subject: Reply with quote

mcduke wrote:
Still can't believe that it works, but it does:

http://mcduke.typepad.com/mymind/2004/05/the_world_turne.html

Crazy hack, that. What a strange feeling to have Mac OS X running (okay.. crawling, but that's beside the point) on x86. Weird.


i never thought i would see it too. but a part of me wonders. how long till apple sends him a cease and desist order?
Back to top
View user's profile Send private message
Gandalf the White
Guru
Guru


Joined: 17 Dec 2003
Posts: 320
Location: Verdun, Canada

PostPosted: Tue May 11, 2004 7:40 pm    Post subject: Reply with quote

truekaiser wrote:
mcduke wrote:
Still can't believe that it works, but it does:

http://mcduke.typepad.com/mymind/2004/05/the_world_turne.html

Crazy hack, that. What a strange feeling to have Mac OS X running (okay.. crawling, but that's beside the point) on x86. Weird.


i never thought i would see it too. but a part of me wonders. how long till apple sends him a cease and desist order?



As he hasn't actually stolen anything from apple, they can't do a thing. It's no different than virtual pc or vmware or even win4lin.
Back to top
View user's profile Send private message
stonent
Veteran
Veteran


Joined: 07 Aug 2003
Posts: 1139
Location: Texas

PostPosted: Tue May 11, 2004 8:24 pm    Post subject: Reply with quote

gsfgf wrote:
i'm getting this error
Code:
[IO/PROM] <Error> Unknown interpret size 1972

Anyone know what's worng?


I got that same error when trying to boot from an OSX 10.0.0 CD
The Gentoo 1.4 universal PPC CD works fine though.
_________________
Inspiron 4100 & Sun UltraAXe
Portage on Solaris|Dell Laptop Hacks
The way you feel about organized religion is the same way I feel about organized socialism.
Back to top
View user's profile Send private message
Gandalf the White
Guru
Guru


Joined: 17 Dec 2003
Posts: 320
Location: Verdun, Canada

PostPosted: Tue May 11, 2004 8:40 pm    Post subject: Reply with quote

Haven't gotten that error so I can't be of much help, I've got osx 10.3 installing as we speak, this is awesome.
Back to top
View user's profile Send private message
Bague
Apprentice
Apprentice


Joined: 09 Feb 2004
Posts: 292

PostPosted: Tue May 11, 2004 10:33 pm    Post subject: Reply with quote

/me goes to ask mac using friend if he can borrow his friends OSX Cds...
Back to top
View user's profile Send private message
Gandalf the White
Guru
Guru


Joined: 17 Dec 2003
Posts: 320
Location: Verdun, Canada

PostPosted: Tue May 11, 2004 10:54 pm    Post subject: Reply with quote

Just be warned, it took me about 4.5 hours to install 10.3.
Back to top
View user's profile Send private message
gsfgf
Veteran
Veteran


Joined: 08 May 2002
Posts: 1266

PostPosted: Wed May 12, 2004 12:23 am    Post subject: Reply with quote

It booted my Panther upgrade CD, but not my G5 software CD. Time to try and find some panther install cds.
_________________
Aim:gsfgf0
Back to top
View user's profile Send private message
zojas
Veteran
Veteran


Joined: 22 Apr 2002
Posts: 1138
Location: Phoenix, AZ

PostPosted: Wed May 12, 2004 12:35 am    Post subject: Reply with quote

can you run it as a user or does it have to be run as root?

can it access a scsi-emulation cdrom, or just ide, or either?

can the panther install cd create the partition table on the blank disk image or do you HAVE to get the darwin disk?

I just created the disk image with dd and when I get time I'll be popping in my panther cd.
_________________
http://www.desertsol.com/~kevin/ppc
Back to top
View user's profile Send private message
Gandalf the White
Guru
Guru


Joined: 17 Dec 2003
Posts: 320
Location: Verdun, Canada

PostPosted: Wed May 12, 2004 12:40 am    Post subject: Reply with quote

Well, I created the partition setup using the disk manager in the installer, using the darwin cd did not work for me. So far as I know it can be ran as user, unfortunately I don't have access to a linux box atm and I'm running it in windows. I can confirm though, it does run panther, albeit very, very slowly.
Back to top
View user's profile Send private message
stonent
Veteran
Veteran


Joined: 07 Aug 2003
Posts: 1139
Location: Texas

PostPosted: Wed May 12, 2004 2:19 am    Post subject: Reply with quote

Gandalf, what does it think your hardware is? I mean when you run system profiler or about this mac?
_________________
Inspiron 4100 & Sun UltraAXe
Portage on Solaris|Dell Laptop Hacks
The way you feel about organized religion is the same way I feel about organized socialism.
Back to top
View user's profile Send private message
gsfgf
Veteran
Veteran


Joined: 08 May 2002
Posts: 1266

PostPosted: Wed May 12, 2004 3:03 am    Post subject: Reply with quote

runnin as user and booting of an IDE cd. It worked fine (if slow) all the way up until choosing a volume where it complained that i was using an upgrade disk. Cool, imo. Anyone got an unused jag or panther cds they want to give me?

Note: you need to format the image using OSX disk util for setup to detect it.
_________________
Aim:gsfgf0
Back to top
View user's profile Send private message
Gandalf the White
Guru
Guru


Joined: 17 Dec 2003
Posts: 320
Location: Verdun, Canada

PostPosted: Wed May 12, 2004 3:14 am    Post subject: Reply with quote

stonent wrote:
Gandalf, what does it think your hardware is? I mean when you run system profiler or about this mac?



Hmmm... I will have to get back to you on that one... I seem to be experiencing some technical difficulties where some box, looks almost like a "My Computer" type thing keeps popping up, closing, popping up, closing. Anyway, I'm too tired to do anything tonight, I'll let it run for a while.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Off the Wall All times are GMT
Goto page 1, 2, 3, 4, 5, 6, 7  Next
Page 1 of 7

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum