AROS World Exec

Development => AROS Software Development => Topic started by: AMIGASYSTEM on May 09, 2022, 11:14:06 AM

Title: Zsnes AROS
Post by: AMIGASYSTEM on May 09, 2022, 11:14:06 AM
Zsnes on AROs x86 generates a Guru as soon as you exit the program, this happens with any AROS Distribution, is there any way to avoid this problem?
Title: Re: Zsnes AROS
Post by: deadwood on May 09, 2022, 12:59:55 PM
I remember I added a hack for that in C library, but it depends on task name being "zsnes". ZSNes is a very old program compiled with a very old C library.

Can you start ZSNes and then do TaskList from Shell to see what is the name of the task?

Other approach would of course be to re-compile zsnes with newer compiler suite.
Title: Re: Zsnes AROS
Post by: AMIGASYSTEM on May 09, 2022, 02:50:27 PM

Can you start ZSNes and then do TaskList from Shell to see what is the name of the task?


You can see the results of "TaskList" in the attached screenshot


Quote
Other approach would of course be to re-compile zsnes with newer compiler suite.

I tried to compile it but it is too difficult for my little experience, I hope someone will do it :)
Title: Re: Zsnes AROS
Post by: serk118uk on May 09, 2022, 07:34:13 PM
@AMIGASYSTEM

give me your email again i have 2 versions so you can try, i done bit of work on zsnes for someone back than, it was still in my email archives.

give me your email , i sent to you..
Title: Re: Zsnes AROS
Post by: deadwood on May 09, 2022, 11:27:20 PM
Try what happens when you rename zsnes.exe to zsnes.
Title: Re: Zsnes AROS
Post by: AMIGASYSTEM on May 10, 2022, 01:36:29 AM
@serk118uk
I have sent PM with my E-mail

@deadwood
Renaming does not change anything
Title: Re: Zsnes AROS
Post by: deadwood on May 10, 2022, 02:16:11 AM
Can you show me TaskList output after renaming?
Title: Re: Zsnes AROS
Post by: AMIGASYSTEM on May 10, 2022, 03:46:16 AM
Here is the output of TaskList
Title: Re: Zsnes AROS
Post by: deadwood on May 10, 2022, 04:26:58 AM
Ok, than I'm out of ideas. Hopefully Serk's builds will work.
Title: Re: Zsnes AROS
Post by: AMIGASYSTEM on May 10, 2022, 09:12:05 AM

give me your email again i have 2 versions so you can try, i done bit of work on zsnes for someone back than, it was still in my email archives.

give me your email , i sent to you..

Thanks, i received your Archive, Zsnes you sent me is the same as the one I have on AROS One (v1.51), so i get the same Guru output.
Title: Re: Zsnes AROS
Post by: serk118uk on May 10, 2022, 09:27:41 AM

give me your email again i have 2 versions so you can try, i done bit of work on zsnes for someone back than, it was still in my email archives.

give me your email , i sent to you..

Thanks, i received your Archive, Zsnes you sent me is the same as the one I have on AROS One (v1.51), so i get the same Guru output.

Did you try 2nd executable , (zsnes_test) , my icaros crashes with one and exits fine with zsnes_test executable
Title: Re: Zsnes AROS
Post by: AMIGASYSTEM on May 10, 2022, 09:38:18 AM
Also "zsnes_test" has an outgoing Guru, are you using IcarOS with the new core "AROS-20180415-2-pc-i386"?

Also with AROS One updated "GCC 6.3.0" I have the same problem
Title: Re: Zsnes AROS
Post by: serk118uk on May 10, 2022, 10:48:26 AM
Also "zsnes_test" has an outgoing Guru, are you using IcarOS with the new core "AROS-20180415-2-pc-i386"?

yes last icaros & core "AROS-20180415-2-pc-i386

Quote
Also with AROS One updated "GCC 6.3.0" I have the same problem

I am on gcc (GCC) 4.6.4


I can not remmember what i done/changes on  zsnes but it has been 9 years, crashes on exit because sdl subtask still running , (ma)ybe signal subtask on exit)..