Giter Site home page Giter Site logo

Comments (1)

floooh avatar floooh commented on June 12, 2024 1

Yep, known issue :) I'm pretty sure this is because of timing issues in the VIC-II emulation. I only recently discovered the VIC-II tests from the VICE emulator (https://vice-emu.pokefinder.org/index.php/Testbench), and they're currently red all over the place.

Some 'suspicions' I have:

  • frame might be one rasterline short
  • the first rasterline is a special case (I think at least the raster interrupt is one cycle late), this is currently not emulated
  • I've seen some strange "variance" in places where the CPU and VIC-II tick should be "stable" synchronized with each other between frames, it almost looks like the "jittering" in the acid-pills demo.
  • sprites have various issues where they are switched off when near the screen border (not relevant for the scrolling in this demo though I think)

One debugging strategy is to use the Dear ImGui VIC-II debugging window, enable "debug view", stop execution in the CPU debugger, and use one of the raster-related breakpoints to step near an interesting "area" on the screen.

Currently stepping only works per instruction, not per cycle. In this case cycle-stepping would be really useful.

Screen Shot 2019-12-31 at 12 59 27 PM

from chips.

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.