Code Monkey home page Code Monkey logo

Comments (3)

paulb-nl avatar paulb-nl commented on July 28, 2024

I found the problem. Actually SCX is not supposed to be latched at the beginning of rendering. The Gameboy adds the current pixel count and SCX to get the tilemap address. So this means you can change scroll during the line but only per tile. SCX[2:0] is only used at the start of rendering when it skips pixels for fine scrolling.

I saw this behavior on videos of Super Mario Land where sometimes only a few tiles of the flickering top line were scrolled incorrectly.

The word "Super" at the top of the screen in Super Hunchback still flickers sometimes. I don't know if that is accurate to hardware. The rest of the flickering lines are gone. Super Mario Land still seems to have more flickering than a real Gameboy but I am not sure.

from gameboy_mister.

brNX avatar brNX commented on July 28, 2024

Great!!

I spend a few hours today chasing my tail with the interrupt_time.gb testrom , only to find out that it doesn't pass on a DMG too 😄 ...

I can confirm that the "SUPER" flickers from time to time on real hardware (tested on GBC), the same with the first and last few rows of the flipping "HUNCHBACK" text.

The first line of the of the text on top of super mario land also flickers from time to time on original hardware when scrolling.

Tomorrow I'll focus on the Halt bug

from gameboy_mister.

brNX avatar brNX commented on July 28, 2024

Fixed in #91

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.