Git Product home page Git Product logo

Comments (3)

Keytoyze avatar Keytoyze commented on July 3, 2024

你在“查看内存”里面检查一下对应的VRAM地址区域,数据排列是否是正确的?一个像素点占2 bytes,所以如果使用sw来直接储存一个像素点,是会导致有一部分0被填充进VRAM的。

from sword_emulator.

Keytoyze avatar Keytoyze commented on July 3, 2024

new

新版模拟器会出现这样的情况,推断是为了解决旧模拟器一个模拟器像素点由横向两个现实屏幕像素点组成的问题而在输出一个模拟器像素点时在右边放置了一个黑色现实像素点的缘故。
这一问题会导致当用户自右向左输出一行像素点时只能看到最后一个像素点。
这是旧版模拟器的输出:

old

之前旧版的模拟器bug,是会导致重复绘制(也就是如果使用sw来储存一个像素点,低位有效的颜色值会被重复填充至两个像素点,高位的0被无视了)。你可以尝试使用sw一次性储存两个像素点的值,或者使用sh指令。

from sword_emulator.

LahElr avatar LahElr commented on July 3, 2024

是这个样子的,试验了确实如此。谢谢学长大半夜答疑。

from sword_emulator.

Related Issues (5)

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.