Code Monkey home page Code Monkey logo

helios's Issues

PSG vs FM desync

There's a PSG sound distortion with Mega Drive emulator (it actually sounds Sega Master System-ish), it very noticeable on player jump in Sonic games, for example. I also noticed it slightly out of sync with FM synthesizer.
I tried to port SN76489 implementation from some other emulators written in C/C++, but this gave no effect. Experiments with mixer from SoundUtil did not give result too.

Md: known issues

  • Bubba n Stix: in-game graphic corruption, let the demo run
    • probably VDP related, data read/writes are not accurate wrt vdp mem slots and fifo interaction
  • Puggsy copy protection (SRAM check)
  • Asterix and the great rescue, power of gods
    • controller doesn't work
    • add the following line to helios.properties
      helios.md.pad.asterix.hack=true

fixed as of release 22.1205

  • Lemmings: in-game action bar corrupted (hint vs vint issue?)
  • ISS deluxe: intro screen graphic corruption, in-game flickering
  • Dashing desperadoes (Proto): in-game flickering

Cycle synchronization hang

Hello, I'm experiencing problems with hanging of the game cycle thread: the thread is paused with a regularity of a couple of seconds (CPU utilization grows on resume and becomes 0 on freeze) making emulator impossible to use.

vm

I figured out the cause of the problem is a bottleneck in the cycle synchronization algorithm: the park method of Util class. The thread should be suspended for a 5-6 milliseconds, but it's actually led to a significant freeze and takes a half of a second at least.

I rewrote the parking algorithm and game runs smoothly without any freezes, but I have doubts about thread-safety:

public static void park(long intervalNs) {
    long resume = System.nanoTime() + intervalNs;
    while(System.nanoTime() < resume) {
    }
}

Can it fix the rendering freezes, or this problem is related to my CPU clock speed?

ym3438 emu copyright

Hi,
Nice to see you're using my core for ym3438, but i wonder why did you remove original copyright from it. It is derived work from my original implementation, so it should not be removed

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.