Giter VIP home page Giter VIP logo

Comments (8)

rkujawa avatar rkujawa commented on June 17, 2024

According to exec/alerts.s it means: Memory header not located. [ Usually an invalid address passed to FreeMem() ].

Perhaps someone called FreeMem() to free PPC memory at exit? Probably not a problem in Phase5 designs, where memory is shared between CPUs.

Does the guru display actual address where error occurred? Does it look like address in Sonnet memory?

from sonnetamiga.

DvdBoon avatar DvdBoon commented on June 17, 2024

Funny, in WipeOut it is because voodoo memory gets an Endian switch which messes up the memory header from the voodoo pci dma memory and subsequently also the memory list.

from sonnetamiga.

DvdBoon avatar DvdBoon commented on June 17, 2024

Moving the pcidma memory from pci.library to the back fixed the problem for WipeOut and Earth2140 demo. Doom fails on a CloseDevice() still with a 0100000F guru.

from sonnetamiga.

rkujawa avatar rkujawa commented on June 17, 2024

I can't really comment on memory management issues in WarpOS and/or pci.library APIs as I never really investigated them. However, I'm pretty sure that Voodoo 3 has a register that allow automated endian swapping to be done by the hardware. Maybe pci.library or P96 driver manipulates this register, whenever little endian data is needed.

Bit 12 in lfbMode register is related to this.

from sonnetamiga.

DvdBoon avatar DvdBoon commented on June 17, 2024

Seeing it solved almost all problems except for ADoomPPC I'm betting it's a problem within ADoom itself. Keeping this issue open for now.

from sonnetamiga.

togflops avatar togflops commented on June 17, 2024

I don't have this issue with ADoomPPC. I can run the timedemo as many times until the memory issue comes up. I've tried it at 640x480, 800x600, 800x480 and 960x540a at 8bpp.
I do have the issue with Tinymeter if it is running when I open a 16bpp screen with Vmpeg I get a recoverable alert 0100000C sanity check on memory list failed. Maybe unrelated.

from sonnetamiga.

DvdBoon avatar DvdBoon commented on June 17, 2024

The memory list gets corrupted when the gfx mem is switched to little endian. That is why the gfx mem is moved to the end of the list. Maybe it is worthwhile to just remove it after sonnet.library has installed itself in case of a Voodoo.

from sonnetamiga.

DvdBoon avatar DvdBoon commented on June 17, 2024

As indicated. Problem solved. Remaining crash of ADoomPPC (on my system) is not sonnet.library related.

from sonnetamiga.

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.