Giter Site home page Giter Site logo

Comments (5)

Stewmath avatar Stewmath commented on September 25, 2024

I've nearly beaten Oracle of Seasons, and this has been driving me insane, but I never got around to looking very far into it. Now I have. It happens when hblank interrupts are invoked really late - as in, after hblank.

I've made a slight change in the hblank handler. The effect is inverted, but somewhat more mild. Now there is occasionally a white line jutting out below where the status bar is supposed to end, but it doesn't happen very often unless in fast forward mode.

from gameyob.

Stewmath avatar Stewmath commented on September 25, 2024

Excellent news - I accidentally fixed this completely. Apparently using DMA to copy the tile maps to vram in my "drawScreen" function interfered with hblank interrupts. I was reworking it a bit to be a little more efficient, and the flickering present in a lot of games, including this one, has basically disappeared.

from gameyob.

etking avatar etking commented on September 25, 2024

The issue is fixed in Zelda but the same problem still exists in Super Mario Land, garbage lines are displayed quite often on the upper area of the screen.

from gameyob.

Stewmath avatar Stewmath commented on September 25, 2024

The cause is actually completely different. Zelda's issue was with my graphics rendering, whereas Super Mario Land is a problem with gameboy timings - a very low-level issue. Even bgb has garbage on the topmost line. I don't have a real cartridge handy to test with, but if you have one, can you confirm that this doesn't happen (even slightly) on real hardware?

from gameyob.

etking avatar etking commented on September 25, 2024

I'm 100% sure this does not happen on real hardware, I played through the game quite often back in the day.

from gameyob.

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.