Author Topic: SIM version - Simulator not exit, download please!  (Read 8236 times)

alsp (OP)

  • Posts: 25
SIM version - Simulator not exit, download please!
« on: May 27, 2010, 05:28:18 am »
Does anybody seen such message in simulators development?
I try to make sim version of some simulator but there are strange error when I start any simulator rom:
"Simulator not exit, download please!"
I create SIM version as usually - by adding 3 functions and its definitions in special sections.
APP version working perfectly. SIM file difference only in one additional compilation unit with 3 functions, SIM file is visible because games explorer seen extensions that defined in SIM file, but when starting any rom - error happens.
Please give me some advise...

eule

  • Posts: 889
Re: SIM version - Simulator not exit, download please!
« Reply #1 on: May 27, 2010, 09:11:42 am »
I?m not a dev, but maybe this helps?
What emulator? Or is it a secret?  ;D
edit: Oh well, you made the cool Atari800 emulator, so my link probably did not help...  ::) Hope someone else can...
« Last Edit: May 27, 2010, 09:14:24 am by eule »

alsp (OP)

  • Posts: 25
Re: SIM version - Simulator not exit, download please!
« Reply #2 on: May 27, 2010, 09:43:10 am »
What emulator? Or is it a secret?  ;D
It is not a big secret (it is one of the latest created simulators for native software), but I'm not porter and just want to add some good functionality to simulator for myself and, of course, send update proposal for port autors...

eule

  • Posts: 889
Re: SIM version - Simulator not exit, download please!
« Reply #3 on: May 27, 2010, 09:57:06 am »
Ah, i have a suspicion.  ;D Maybe you get the error because the CPS1 emu might use the same extension ?
Good luck anyways!  :)
« Last Edit: May 27, 2010, 09:59:28 am by eule »

alsp (OP)

  • Posts: 25
Re: SIM version - Simulator not exit, download please!
« Reply #4 on: May 27, 2010, 10:27:32 am »
Maybe you get the error because the CPS1 emu might use the same extension ?
No - all extensions are different

Harteex

  • * Administrator
  • Posts: 713
    • Harteex Productions
Re: SIM version - Simulator not exit, download please!
« Reply #5 on: June 01, 2010, 12:31:42 am »
Never heard of the problem, but if you're making it with the Platform Independant Dingoo SDK, there's a tga viewer sim sample which you could compare your code with.

alsp (OP)

  • Posts: 25
Re: SIM version - Simulator not exit, download please!
« Reply #6 on: June 01, 2010, 08:28:46 am »
Witch ways I have tried:
1. Initially I think there are because new compiler version - with -O3 its remove needed sections for SIM processing (of course its not needed with new SDK but I still use old one) but in this case required extensions not processed and I compile files with needed sections without optimizations - and extensions is visible - but error is happen.  To check new compiler I have recompile Atari800 simulator with it and simulator works correctly - so in new simulator there are some other reason.
2. I try to use new SDK by flatmush, but the result is the same...

So as I understand someone have disassembled ccpmp.bin from firmware - there are any ideas - when this error can happen?

alsp (OP)

  • Posts: 25
Re: SIM version - Simulator not exit, download please!
« Reply #7 on: July 22, 2010, 01:34:25 pm »
Thank to one clever man, that finally found the reason of this bug:
Never return in GetFileType funtion more then 5 extension (may be 20 symbols) - it seems given buffer length is limited and in case of string with more then 20 symbols - some memory troubles happens and simulator give unpredictable result (like Simulator not exit or hang-up on updating)

 

Post a new topic