Welcome, Guest. Please login or register.

Author Topic: Help needed :-)  (Read 2658 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline FramigaTopic starter

  • Hero Member
  • *****
  • Join Date: May 2003
  • Posts: 4096
    • Show only replies by Framiga
Help needed :-)
« on: April 22, 2004, 01:27:53 PM »
Hi all,

i'm trying to find a small script named:

Switch2Which.lha util/misc 8K To switch between the PPC kernels

I've just installed WOS 5.1 with the ppcemul but ProStationAudio requires PowerUP (not emulated), to work correctly.

A friend of mine, says that with those script, you can chose at the startup, which PPC kernel to use.

Someone has tryed it?

Thanks a lot

Cheers

PS- Switch2Which.lha is present in Aminet-31 in util/misc    
 

Offline FramigaTopic starter

  • Hero Member
  • *****
  • Join Date: May 2003
  • Posts: 4096
    • Show only replies by Framiga
Re: Help needed :-)
« Reply #1 on: April 22, 2004, 03:25:32 PM »

no one can help me?



 

Offline sprocket

  • Sr. Member
  • ****
  • Join Date: Mar 2002
  • Posts: 456
    • Show only replies by sprocket
Re: Help needed :-)
« Reply #2 on: April 22, 2004, 03:45:27 PM »
I don't have a PPC and I don't play one on TV!

; )

I found this though:

http://www.nc-mag.de/mags/nc65/cd_aminet31a.html

so it looks like it should be on the Aminet 31 CD if you can find one for sale.

It doesn't seem to exist on any of the Aminet mirrors that I checked so it must have been removed.
Sincerely,

-- Sprocket...
 

Offline Cass

  • Hero Member
  • *****
  • Join Date: Apr 2003
  • Posts: 826
  • Country: 00
    • Show only replies by Cass
Re: Help needed :-)
« Reply #3 on: April 22, 2004, 05:06:44 PM »
Quote

I've just installed WOS 5.1 with the ppcemul but ProStationAudio requires PowerUP (not emulated), to work correctly.


I've tried myself in the past to run .elf executables under PUP emulation, but I failed (the CLI returns an error message "the file is not executable", even if it has the rwed attributes :-?).

As for the utility, I have no idea... (couldn't find it on AmiNet, and its a complete mirror I think).
________
Buy Vapolution
« Last Edit: March 18, 2011, 10:21:50 PM by Cass »
"If we don't got it, you don't want it!"
 

Offline Karlos

  • Sockologist
  • Global Moderator
  • Hero Member
  • *****
  • Join Date: Nov 2002
  • Posts: 16882
  • Country: gb
  • Thanked: 6 times
    • Show only replies by Karlos
Re: Help needed :-)
« Reply #4 on: April 22, 2004, 05:15:38 PM »
IIRC, the problem is in the way that the ppc.library is terminated by warpos. I found many ppc programs would not execute directly - whatever load code they have is adversely affected.

However, try using a program called 'runelf' to launch powerup code under warpos ppclibemu emulation. I found it mostly works here fine (tried with various ppc.library programs).
int p; // A
 

Offline RiFF_RaFF

  • Newbie
  • *
  • Join Date: Jul 2002
  • Posts: 13
    • Show only replies by RiFF_RaFF
Re: Help needed :-)
« Reply #5 on: April 22, 2004, 05:56:53 PM »
Hi Ppl!

Quote
I've tried myself in the past to run .elf executables under PUP emulation, but I failed (the CLI returns an error message "the file is not executable", even if it has the rwed attributes ).


OK.. Seen this one before. If you have the ppclib emu in LIBS: and named ppc.library you will have to load it into memory. You will find all the info you need about how to do this in the readme file found in the latest ppclib emu archive which you can get from here: http://devnull.owl.de/~frank/ppcemu.html

Have fun!

Tore
  :-)
 

Offline FramigaTopic starter

  • Hero Member
  • *****
  • Join Date: May 2003
  • Posts: 4096
    • Show only replies by Framiga
Re: Help needed :-)
« Reply #6 on: April 22, 2004, 06:36:30 PM »
Hi Cass,

you should install the ppcemul library, in LIBS: and launch the ppclibemu_install (in userSS) to make the ppc.library (emulation) resident in memory with the ELFLoadseg-Patch.

My problem is an another one: ProStationAudio works correctly, only with PowerUp (not emulated).

I've contacted Audiolabs today, and he has confirmad that due a bug of the WOS data caching, Willie has introduced a workaround through the CHIP ram !!!!

so . . . no realtime with PSA, under PUP emulation .-(

Ciao

 

Offline Cass

  • Hero Member
  • *****
  • Join Date: Apr 2003
  • Posts: 826
  • Country: 00
    • Show only replies by Cass
Re: Help needed :-)
« Reply #7 on: April 22, 2004, 07:30:00 PM »
I have e CSPPC (not sure if it needs the BPPCFix), and i have the following libs installed in my LIBS: dir
Quote

-ppc.library 46.37 ( 3-Dec-2001)
Emulation v0.9 by Frank Wille

-powerpc.library 16.1 ( 7-Feb-2001)


I think it has to do with the terimination...:-?

________
Honda ch80
« Last Edit: March 18, 2011, 10:21:58 PM by Cass »
"If we don't got it, you don't want it!"
 

Offline FramigaTopic starter

  • Hero Member
  • *****
  • Join Date: May 2003
  • Posts: 4096
    • Show only replies by Framiga
Re: Help needed :-)
« Reply #8 on: April 22, 2004, 07:44:13 PM »
Hi cass

the same libs here but you MUST run the "ppclibemu_install
" program (present in the ppclibemu archive).

ciao

PS- and with CSPPC,

Terminator=OFF
NoPatch

in WOS Prefs

BTW . .  .is there someone, that own AminetCD-31?

In util/misc, there is:

Switch2Which.lha util/misc 8K To switch between the PPC kernels

 

Offline Cass

  • Hero Member
  • *****
  • Join Date: Apr 2003
  • Posts: 826
  • Country: 00
    • Show only replies by Cass
Re: Help needed :-)
« Reply #9 on: April 23, 2004, 01:24:07 AM »
I just did a reinstallation of the program using its installer script, but nothing changed: the .elf files cannot be run.

Quote

10.Workbench3.9:> "Ram Disk:tests/portlistsPPC.elf"
Ram Disk:tests/portlistsPPC.elf: file is not executable
10.Workbench3.9:> why
Last command failed because : file is not executable
10.Workbench3.9:> list "Ram Disk:tests/portlistsPPC.elf"
Directory "Ram Disk:tests" on Friday 23-Apr-04
portlistsPPC.elf                 10944 ----rwed 29-Oct-00 21:27:34

:-?:-?:-?

________
THREESOME MOVIE
« Last Edit: March 18, 2011, 10:22:17 PM by Cass »
"If we don't got it, you don't want it!"
 

Offline FramigaTopic starter

  • Hero Member
  • *****
  • Join Date: May 2003
  • Posts: 4096
    • Show only replies by Framiga
Re: Help needed :-)
« Reply #10 on: April 23, 2004, 09:58:41 AM »
hi Cass,

you can't run a .elf in that way.

In tha Tests dir, there are the laucher as well.

"Ram Disk:tests/objattr_demo" "Ram Disk:tests/timerobj.elf"

Ciao



 

Offline FramigaTopic starter

  • Hero Member
  • *****
  • Join Date: May 2003
  • Posts: 4096
    • Show only replies by Framiga
Re: Help needed :-)
« Reply #11 on: April 23, 2004, 10:08:24 AM »
Hi all,

finally i've found on Aminet31, Switch2Which.lha

The problem is that it is for Blizzards with BlizKick.

I've tryed to contact the author

Henes/Tasker (aka SALLIN Nicolas) HenesTSK@iName.com

but the address doesn't exists no more.

Someone knows this guy?

It is a very useful archive but doesn't works on CSPPC and should be easy to modify it . .  . . as the author claims in the docs:

"Sorry, I have droped the support for the CyberstormPPC users. If you have added it, please contact me. Thanx.."

Cheers

 

Offline Karlos

  • Sockologist
  • Global Moderator
  • Hero Member
  • *****
  • Join Date: Nov 2002
  • Posts: 16882
  • Country: gb
  • Thanked: 6 times
    • Show only replies by Karlos
Re: Help needed :-)
« Reply #12 on: April 23, 2004, 02:31:01 PM »
Just to repeat myself :-)

Try "runelf". I find that it seems to get many ppc.library programs working under my warpos / ppclibemu installation fine.

Eg

runelf somepupprogam args

Works fine here 99% of the time.
int p; // A
 

Offline Cass

  • Hero Member
  • *****
  • Join Date: Apr 2003
  • Posts: 826
  • Country: 00
    • Show only replies by Cass
Re: Help needed :-)
« Reply #13 on: April 23, 2004, 07:03:43 PM »
@ Karlos
I think you're right once again ;-) It has to be forced to run in PUP the .elf file. Although if you have the newest ppc.library plus LoadSegPatch installed (the emulation ppc.library, that is), you may run any ELF module directly from the Shell.

I searched the CSPPC CD, and didn't find any runelf command (doesn't exists in my c:). Is there any link where I can download it?


Sorry Framiga, I don't know the guy, but you may try this address:
Nicolas Sallin (henes_nospam@morphos.de) ;-)


________
Shemale young
« Last Edit: March 18, 2011, 10:22:27 PM by Cass »
"If we don't got it, you don't want it!"
 

Offline Karlos

  • Sockologist
  • Global Moderator
  • Hero Member
  • *****
  • Join Date: Nov 2002
  • Posts: 16882
  • Country: gb
  • Thanked: 6 times
    • Show only replies by Karlos
Re: Help needed :-)
« Reply #14 on: April 24, 2004, 03:29:57 AM »
Quote

Is there any link where I can download it?


That's a damn good question. You know, to be honest, it's been kicking around my system for so long I don't know how I come about having it. It maybe even came with a devkit?

I remember it was largely uneeded after early versions of powerup (as you say) where the loadseg was fixed, but I found it was a handy way of kickstarting the emulation.

What I found was that normally, if I try to run a pup program, even with the loadseg stuff in the emulation it failed with the "not executable" error.

So out of curiosity I tried to run the pup with runelf under the emulation and it worked.

Later I found that runelf itself was sufficient to get the emulation going, that is I do a "runelf >nil:" in my user startup. This silently fails because it doesn't run an elf file (none given) but it activates the emulated ppc.library and after that I found most ppc.library stuff just runs from shell as usual.

You could try searching aminet for it, I honestly can't remember when/where I got it from, but it has been a long time :-D

-edit-

You know, thinking about it, a simple thing would be to write a small 680x0 program that does OpenLibrary("ppc.library", 0) and then doesn't close it on exit. That would probably achieve the same result ;-)
int p; // A