Giter Site home page Giter Site logo

Comments (14)

tonioni avatar tonioni commented on July 27, 2024

JIT Direct can't reliably work with memory mapping that has mirrors (like CSPPC maprom at the very end of address space). It shouldn't crash but JIT can cause side-effects when it does not like what it sees..

Check winuaelog.txt (enable in misc panel) for JIT related messages.

If you don't need PPC, I recommend using "plain" 68060 mode without any emulated accelerator boards.

from winuae.

midwan avatar midwan commented on July 27, 2024

Understood, just thought I'd let you know because it seemed weird - and of course due to the crash.

Plain 060 works fine for me.

from winuae.

tonioni avatar tonioni commented on July 27, 2024

Could you attach or email your config file? I'd like to find out why it crashes.

from winuae.

midwan avatar midwan commented on July 27, 2024

Of course, please find the config file attached below:
Lightwave060.zip

Like I said, this is booting using a default "vanilla" Workbench 3.1 installation, with the only modification being the 68040/68060 libraries from phase5.

Steps to recreate the crash:

  • Check the configuration, ensure "Direct" mode is enabled in the JIT settings
  • Boot in the Workbench 3.1 environment
  • Open WinUAE Gui (F12), check the JIT settings. Direct is disabled
  • Reduce JIT Ram to zero (effectively disabling JIT), then check JIT enable again.
  • Check Direct if it wasn't checked, then resume emulation.
  • Do a soft-reset in the Amiga side (Ctrl-Amiga-Amiga)
  • WinUAE crashes

WinUAE is 3.5.0 stable, x64 version.

from winuae.

tonioni avatar tonioni commented on July 27, 2024

Do you need to boot in WB to cause the crash or does same happen if you don't have any bootable devices? If not, does it happen if you boot without startup-sequence, run setpatch (so that 680x0.libraries get activated) and then adjust JIT+reset? (I am trying to reduce unknown variables)

from winuae.

midwan avatar midwan commented on July 27, 2024

@tonioni
I just tested it without any drives (floppy or hard) connected.
I can recreate the issue following the same steps above, even without booting into anything.

from winuae.

tonioni avatar tonioni commented on July 27, 2024

I can't duplicate the crash (does 32-bit version also crash?) but I can get it to hang at boot. It happened because your config has A1200 hardware but A4000 ROM. Don't mix them, it can cause hangs when A4000 ROM does Fat Gary/RAMSEY register accesses. IDE hardware is also different.

from winuae.

midwan avatar midwan commented on July 27, 2024

@tonioni
I tried it again today, on two separate Windows 10 systems. I got the same crash, following the same steps. And I used a A4000 config as a starting point (Quickstart->A4000 PPC)...

:(

from winuae.

midwan avatar midwan commented on July 27, 2024

Interestingly, the 32-bit version also crashes but manages to produce a minidump before that. I'm attaching it here, in case it helps:
winuae_3.5.0_R_2017.09.24_10.27.21.dmp.zip

from winuae.

rofl0r avatar rofl0r commented on July 27, 2024

maybe it's a good idea to post md5 checksum of the ROMs you're using.

from winuae.

midwan avatar midwan commented on July 27, 2024

I'm using the Amiga Forever 3.1 A4000 ROM, MD5: 8B54C2C5786E9D856CE820476505367D
And the CyberstormPPC v44.71 ROM, MD5: E6BBFAC8C3BC0BE362107518737A9BD1

from winuae.

tonioni avatar tonioni commented on July 27, 2024

It probably is CSPPC flash config difference. Checksum is useless because CSPPC boot menu settings are saved in same flash rom. Try switching Map ROM option in menu, try also with "clean" image. (keep ESC pressed at boot, if it boots too fast, tick 1 second boot option in misc panel)

from winuae.

midwan avatar midwan commented on July 27, 2024

@tonioni
I tried changing the MapROM option in the CSPPC boot menu, but saw no difference (WinUAE hangs/crashes again).
Changing the CPU options in the boot menu (for example, enabling the Caches etc) does not seem to make a difference either.

I also tried older versions of the CSPPC firmware, 44.67, 44.69 and 44.71 all behave the same way.
I can give you a disassembly of the exact instructions that crashed, if that helps?

from winuae.

midwan avatar midwan commented on July 27, 2024

@tonioni
Just to confirm that I still get WinUAE 4.9.1 to crash, following the steps mentioned above:

  • Use A4000 PPC quickstart option
  • Start emulation
  • Open GUI, Disable JIT -> resume
  • Open GUI, Enable JIT -> resume
  • Reset emulation (by keyboard or by the GUI Reset option)
  • Crash

from winuae.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.