Coder Social home page Coder Social logo

Comments (5)

sorgelig avatar sorgelig commented on July 26, 2024 1

Note: integer scaling is only integer for vertical scale. Horizontal scale is always non-integer as it's impossible to accomplish.

from gba_mister.

RobertPeip avatar RobertPeip commented on July 26, 2024

i have seen this bug on my hardware, i tried to reproduce and now it's gone...So it's no static drawing effect, more likely some cpu miscalculation under certain conditions...

from gba_mister.

MP2E avatar MP2E commented on July 26, 2024

I noticed this also happens in Fire Emblem: The Sacred Stones, and there happens to be a decompile of the ROM on Github. I'm not sure if this is helpful, but I found the function that is used to draw glyphs.

https://github.com/FireEmblemUniverse/fireemblem8u/blob/master/src/fontgrp.c#L1015

from gba_mister.

RobertPeip avatar RobertPeip commented on July 26, 2024

That's a very good find, but i doubt it will change anything. I debugged into that a while ago on my emulator, which doesn't have this bug, and made changes to see what could be the reason.

I found out, that not writing the last byte(bit 31..24) of the dword access to VRAM leads to equal effect, but for ALL glyphs, not just the buggy ones. So there must be some kind of wrong memory access or cpu miscalculation earlier leading to this effect.

As there are still some CPU bugs pending(see the list of games not running), i guess this will be gone sometime when another CPU bug is fixed.

from gba_mister.

RobertPeip avatar RobertPeip commented on July 26, 2024

memory access bug, fixed

from gba_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.