Code Monkey home page Code Monkey logo

Comments (8)

paulb-nl avatar paulb-nl commented on September 2, 2024 1

Thanks Robert. I will send a pull request.

from gameboy_mister.

darkworon avatar darkworon commented on September 2, 2024

Having same issue on the latest versions in Donkey Kong 94 with “Pause when OSD is open” enabled. First I thought it’s hardware/memory issue, but memtest result is fine

from gameboy_mister.

darkworon avatar darkworon commented on September 2, 2024

@HiroiSekai could you try this test - https://github.com/antoniovillena/MiSTer_DB9/blob/master/Old/SDRAM.zip?
You need to run all 8 rbf with same rom. If all 8 would pass ok - you are safe :)

I have fail on jtcps1_-520ps.rbf with "rom no good", so it could be problem with SDRAM v2.5 on my side.
https://misterfpga.org/viewtopic.php?f=8&t=2480&start=25

from gameboy_mister.

Chromagram avatar Chromagram commented on September 2, 2024

Thanks for posting the test.

I ran all 8, and they all say OK with just "ROM" at the end and it loads the Ghouls demo. Looks like mine is okay.

from gameboy_mister.

paulb-nl avatar paulb-nl commented on September 2, 2024

@RobertPeip This seems to happen when the core is paused when cart_act is high. The core is paused but the SDRAM is not refreshed anymore as you can see in the trace below. Can you look into it?

I made the trace in the first level in Donkey Kong Land 2 and just toggling Pause when OSD is open.
gb_pause_refresh

from gameboy_mister.

paulb-nl avatar paulb-nl commented on September 2, 2024

Looks like it gets stuck here waiting for cart_act to go low which won't happen because it doesn't generate a ce:

if (pause = '1' and clkdiv = "111") then
if (cart_act = '0') then
state <= PAUSED;
unpause_cnt <= 0;
end if;

Changing it to below makes it still generate ce's until cart_act goes low:

if (pause = '1' and clkdiv = "111" and cart_act = '0') then
    state       <= PAUSED;
    unpause_cnt <= 0;

from gameboy_mister.

RobertPeip avatar RobertPeip commented on September 2, 2024

Yes, that should be the prefered way: don't go into paused state as long as cart_act is high.

I cannot remember why I have not put cart_act directly into the if clause as you did now.
Very likely just my fault.

from gameboy_mister.

paulb-nl avatar paulb-nl commented on September 2, 2024

This should be fixed now with release 1107.

from gameboy_mister.

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.