Previous Thread
Next Thread
Print Thread
Page 2 of 7 1 2 3 4 5 6 7
Zep-- #26113 01/26/07 06:28 AM
Joined: Jan 2007
Posts: 23
P
Member
Member
P Offline
Joined: Jan 2007
Posts: 23
Sure, I'll rewrite once I get to a good point.

R. Belmont endorses fedora core 5 (6?) linux distribution & runs in X. He reports it builds nearly out of the box (true for yellow-dog linux too- see above makefile changes, probably rather similar). You might prefer to go his route- he's way more clued in to current events than me; I'm just getting underway.

I used yellow dog 5 linux distribution & the "frame buffer console" driver. Not running X should give a little better memory utilization, but has downsides like using a fix-sized screen.

I've got a lot of shit dropped on my plate just today, but I'll post binaries @ my site (rosemary.dyndns.org) if there are no objections. Hope to get sixaxis online 1st (might just work w/ ps2-style controller configuration?), & I've got a ps3-bootable linux .iso (just a 'rescue-disk'-type filesystem) now, but need a front-end.


As for what to d/l, I got yellow dog linux 5 over here:
http://www.terrasoftsolutions.com/resources/ftp_mirrors.shtml

I got sdl mame 111u4 source from a thread on this fine site (I bet u5 works fine too though I've not tried yet)?

d/l-ed libsdl 1.2.11 sources from http://libsdl.org/

That's it! All the tricky parts should be documented above, albeit longwindedly.

BTW, upgrade your hard drive if you want to do 'serious development'. Finding a "sata extender" cable was not possible here in the CA bay-area. I got mine from cpustuff.com, but there's probably other good places too? I use a 22 pin extender & a 7 pin extender. 22 pin fits securely in the ps3 backplane (7 pin doesn't lock securely- you want a secure fit). Then hook the 7-pin off the other end of the 22 pin to the drive. And I hooked up a separate power supply up directly to that drive (I used a sata 3.5 inch 750 gig seagate). Its fragile, but it works fine.

22 pin extender: CUS22MF12
7 pin extender: SATAMF12I
power supply: (the one from this should do fine) SATA-2352


Joined: Jan 2007
Posts: 15
Z
Member
Member
Z Offline
Joined: Jan 2007
Posts: 15
Thanks,

I already have YDL 5 installed (the december version)

Sounds like a project for this weekend smile

one question, how do I stop X from booting up at the kboot prompt so I stay at the command line? I guess thats what you mean in the post above where you say "Not running X should give a little better memory utilization"

Zep--

Zep-- #26116 01/26/07 08:29 AM
Joined: Mar 2001
Posts: 17,258
Likes: 267
R
Very Senior Member
Very Senior Member
R Online: Content
Joined: Mar 2001
Posts: 17,258
Likes: 267
FWIW, there are *very* few games in MAME for which memory past 128 MB or so matters a bit. People happily run it on the Xbox with 64 megs all the time, for instance.

Joined: Jan 2007
Posts: 23
P
Member
Member
P Offline
Joined: Jan 2007
Posts: 23
I'm a clueless newbie about memory constraints for instance- that is useful, thanks.

So text-mode yd boot? try "ydltext" at kboot prompt?..

Moreover, I believe that the otheros.bld (aka kboot, which we all installed on flash) checks if there is media in the drive. And if that media has an /etc/kboot.conf (use an iso9660 w/ rock-ridge extensions, such as "mkisofs -R -o ../foo.iso ."), it uses that media's kboot.conf OVER its own flashed version.

If my memory serves me well, that kboot is just a gzipped vmlinux w/ an embedded ramdisk, fwiw.

So you can make a bootable disk by specifying appropriate kernel argumentation in your own /etc/kboot.conf (on the cd/dvd/bd).

Ps3 reads cdrw (& bd-re > v 1.0!), btw, so you can avoid coasters.

I need to get chroot/switch_root working, will decrease iteration time...

I've got a ~50 meg uncompressed .iso that boots straight to mspacman -- but alsa is failing to start properly, fails to 'find card 0' (not literal quote, but thereabouts).

I've got every file mentioned in a (good) "strace ./loopwave" (SDL sound test) on that .iso.

I'm uncertain what the issue is, maybe my eyes are blurring out 8) , may be due to the read-only nature of the cd-rw with which I'm experimenting, maybe I should use a ramdisk, maybe lack of devfsd (I effectively mknod-ed all the entries in the cd's /dev directory). Well, a few avenues to explore.

I posted a ps3-bootable linux .iso (~17meg, w/ only "robby roto" - thank you jamie!) - alsa is still failing, but just so you have some pieces against which to regress. I'll look more tomorrow, but fwiw now:
http://rosemary.dyndns.org/software/ps3-mame-cdr-test.iso.gz


Last edited by Phil Hopely; 01/26/07 01:28 PM.
Joined: Jul 2006
Posts: 28
P
Member
Member
P Offline
Joined: Jul 2006
Posts: 28
Originally Posted by Phil Hopely
..

./mameppc -switchres -r 720x480 mspacman
./mameppc -switchres -r 720x576 mspacman

You have to match the -r values with the ps3videomode- didn't work for me until I explicitly specified these on command line.

While it doesn't maximally fill the screen, its waaaay better (at least for me w/ a ~200 inch screen via front projector).
I think you'll be a happy camper if you add the -nokeepaspect parameter.. smile

For those in the know: with this, where does the actual scaling take place: mame core, SDL-mame or the SDL layer?

prrole #26161 01/28/07 01:04 AM
Joined: Mar 2001
Posts: 17,258
Likes: 267
R
Very Senior Member
Very Senior Member
R Online: Content
Joined: Mar 2001
Posts: 17,258
Likes: 267
The scaling in this case is done in the MAME core. (Which is why hardware OpenGL is really the preferred scenario - unfortunately that's up to Sony and NVidia).

Joined: Jan 2007
Posts: 23
P
Member
Member
P Offline
Joined: Jan 2007
Posts: 23
Thanks for the tip- I'll give -nokeepaspect a whirl.

Sound was a matter of loading a few kernel modules, as per:
/sbin/modprobe snd_ps3pf
/sbin/modprobe snd-mixer-oss
/sbin/modprobe snd-pcm-oss

The latest bootable iso is 52 meg uncompressed (not optimized yet), about 18 meg .gz

I believe this iso will boot (straight into mameppc robby- see "/mame/runscript" in the iso for details) as long as your distribution uses a kboot loader.

Do other distributions (besides yellow dog) use kboot on ps3?

Old version is replaced by new "w/ sound" version here:
http://rosemary.dyndns.org/software/ps3-mame-cdr-test.iso.gz

Hope to flush out the sixaxis & front-end; more soon.

Joined: Jan 2007
Posts: 23
P
Member
Member
P Offline
Joined: Jan 2007
Posts: 23
Got the sixaxis controller working, to a degree. Replaced downloadable .iso.gz with the latest sixaxis version:
http://rosemary.dyndns.org/software/ps3-mame-cdr-test.iso.gz

Was necessary to load a few kernel modules (see the .iso '/mame/runscript' -- total image could be much optimized), but seems to be workable:

There may be better configurations - stuff in /mame/cfg/default.cfg should generally work, though only for a single controller, etc. I hope to make this more elaborate in days to come (more controllers, etc.). Not perfect, but closer.

Best I have figured for now:

Wait a while, while things load. It takes a bit, have patience. At the copyright 'ok' screen, press (& hold a few secs) the ps3 sixaxis 'ps' button. Then, twiggle the left analog control left & right. The left-hand digi controllers should work from that point on?..

On the 6axis, R1 == insert coin, L1 == P1 start.

Works for robby the roto & ms pac man, far as I've tried.

Front end hopefully soon - more, as its ready.

Joined: Mar 2001
Posts: 17,258
Likes: 267
R
Very Senior Member
Very Senior Member
R Online: Content
Joined: Mar 2001
Posts: 17,258
Likes: 267
Nice! Does YDL come with the sixaxis driver or did you have to add that?

Joined: Jan 2007
Posts: 15
Z
Member
Member
Z Offline
Joined: Jan 2007
Posts: 15
Originally Posted by Phil Hopely
Got the sixaxis controller working, to a degree. Replaced downloadable .iso.gz with the latest sixaxis version:
http://rosemary.dyndns.org/software/ps3-mame-cdr-test.iso.gz

Do I have to wipe my current YDL install to use your ISO, or can I make it boot from my current kboot: prompt? If i can boot it from my current install, what do I type at the kboot prompt once I have your image burned to CD?

Thanks,
Zep--

Page 2 of 7 1 2 3 4 5 6 7

Moderated by  R. Belmont 

Link Copied to Clipboard
Who's Online Now
4 members (Cpt. Pugwash, Darkstar, AJR, 1 invisible), 127 guests, and 1 robot.
Key: Admin, Global Mod, Mod
ShoutChat
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Forum Statistics
Forums9
Topics9,355
Posts122,423
Members5,082
Most Online1,283
Dec 21st, 2022
Our Sponsor
These forums are sponsored by Superior Solitaire, an ad-free card game collection for macOS and iOS. Download it today!

Superior Solitaire
Powered by UBB.threads™ PHP Forum Software 8.0.0