Zsnes AROS

AMIGASYSTEM · 973

AMIGASYSTEM

  • Global Moderator
  • Legendary Member
  • *****
    • Posts: 3740
    • Karma: +69/-2
  • AROS One
    • AROS One
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?


deadwood

  • AROS Developer
  • Legendary Member
  • *****
    • Posts: 1524
    • Karma: +118/-0
Reply #1 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.



AMIGASYSTEM

  • Global Moderator
  • Legendary Member
  • *****
    • Posts: 3740
    • Karma: +69/-2
  • AROS One
    • AROS One
Reply #2 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 :)
« Last Edit: May 09, 2022, 03:14:37 PM by AMIGASYSTEM »



serk118uk

  • Member
  • ***
    • Posts: 187
    • Karma: +67/-0
Reply #3 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..

Lets Build Not Destroy...


deadwood

  • AROS Developer
  • Legendary Member
  • *****
    • Posts: 1524
    • Karma: +118/-0
Reply #4 on: May 09, 2022, 11:27:20 PM
Try what happens when you rename zsnes.exe to zsnes.



AMIGASYSTEM

  • Global Moderator
  • Legendary Member
  • *****
    • Posts: 3740
    • Karma: +69/-2
  • AROS One
    • AROS One
Reply #5 on: May 10, 2022, 01:36:29 AM
@serk118uk
I have sent PM with my E-mail

@deadwood
Renaming does not change anything


deadwood

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



AMIGASYSTEM

  • Global Moderator
  • Legendary Member
  • *****
    • Posts: 3740
    • Karma: +69/-2
  • AROS One
    • AROS One
Reply #7 on: May 10, 2022, 03:46:16 AM
Here is the output of TaskList


deadwood

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



AMIGASYSTEM

  • Global Moderator
  • Legendary Member
  • *****
    • Posts: 3740
    • Karma: +69/-2
  • AROS One
    • AROS One
Reply #9 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.


serk118uk

  • Member
  • ***
    • Posts: 187
    • Karma: +67/-0
Reply #10 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

Lets Build Not Destroy...


AMIGASYSTEM

  • Global Moderator
  • Legendary Member
  • *****
    • Posts: 3740
    • Karma: +69/-2
  • AROS One
    • AROS One
Reply #11 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


serk118uk

  • Member
  • ***
    • Posts: 187
    • Karma: +67/-0
Reply #12 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)..
« Last Edit: May 10, 2022, 11:02:07 AM by serk118uk »

Lets Build Not Destroy...