Zsnes AROS

AMIGASYSTEM · 356

AMIGASYSTEM

  • Legendary Member
  • *****
    • Posts: 2071
    • Karma: +48/-1
  • AROS One
    • AROS One
on: May 09, 2022, 06:14:06 PM
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?


deadwood

  • AROS Developer
  • Legendary Member
  • *****
    • Posts: 1053
    • Karma: +104/-0
Reply #1 on: May 09, 2022, 07: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.



AMIGASYSTEM

  • Legendary Member
  • *****
    • Posts: 2071
    • Karma: +48/-1
  • AROS One
    • AROS One
Reply #2 on: May 09, 2022, 09: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 :)
« Last Edit: May 09, 2022, 10:14:37 PM by AMIGASYSTEM »



serk118uk

  • Member
  • ***
    • Posts: 129
    • Karma: +60/-0
Reply #3 on: May 10, 2022, 02:34:13 AM
@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..

Lets Build Not Destroy...


deadwood

  • AROS Developer
  • Legendary Member
  • *****
    • Posts: 1053
    • Karma: +104/-0
Reply #4 on: May 10, 2022, 06:27:20 AM
Try what happens when you rename zsnes.exe to zsnes.



AMIGASYSTEM

  • Legendary Member
  • *****
    • Posts: 2071
    • Karma: +48/-1
  • AROS One
    • AROS One
Reply #5 on: May 10, 2022, 08:36:29 AM
@serk118uk
I have sent PM with my E-mail

@deadwood
Renaming does not change anything


deadwood

  • AROS Developer
  • Legendary Member
  • *****
    • Posts: 1053
    • Karma: +104/-0
Reply #6 on: May 10, 2022, 09:16:11 AM
Can you show me TaskList output after renaming?



AMIGASYSTEM

  • Legendary Member
  • *****
    • Posts: 2071
    • Karma: +48/-1
  • AROS One
    • AROS One
Reply #7 on: May 10, 2022, 10:46:16 AM
Here is the output of TaskList


deadwood

  • AROS Developer
  • Legendary Member
  • *****
    • Posts: 1053
    • Karma: +104/-0
Reply #8 on: May 10, 2022, 11:26:58 AM
Ok, than I'm out of ideas. Hopefully Serk's builds will work.



AMIGASYSTEM

  • Legendary Member
  • *****
    • Posts: 2071
    • Karma: +48/-1
  • AROS One
    • AROS One
Reply #9 on: May 10, 2022, 04:12:05 PM

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.


serk118uk

  • Member
  • ***
    • Posts: 129
    • Karma: +60/-0
Reply #10 on: May 10, 2022, 04:27:41 PM

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

Lets Build Not Destroy...


AMIGASYSTEM

  • Legendary Member
  • *****
    • Posts: 2071
    • Karma: +48/-1
  • AROS One
    • AROS One
Reply #11 on: May 10, 2022, 04:38:18 PM
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


serk118uk

  • Member
  • ***
    • Posts: 129
    • Karma: +60/-0
Reply #12 on: May 10, 2022, 05:48:26 PM
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)..
« Last Edit: May 10, 2022, 06:02:07 PM by serk118uk »

Lets Build Not Destroy...