Critical bug in plotting pixels
Posted: Thu Jan 28, 2021 2:55 pm
Dare I say it: my display driver is broken.
I already had an issue with plotting pixels to the double buffer, but now the same issue has arised in plotting pixels to the framebuffer.
This is a big-time issue, ofc.
I am however unsure what level this issue is at. I can memset the double buffer a certain color, and buffer it, and it works.
Plotting pixels using the function, doesn't appear to work properly.
Rendering text, the text's pixels are spaced out by ~4 pixels.
I've worked my way through the functions from the top layer to the bottom and haven't found the bug.
Anyone have a clue?
Interesting source files:
https://github.com/microNET-OS/microCOR ... rc/gfx.cxx
https://github.com/microNET-OS/microCOR ... rminal.cxx
https://github.com/microNET-OS/microCOR ... /kmain.cxx
I already had an issue with plotting pixels to the double buffer, but now the same issue has arised in plotting pixels to the framebuffer.
This is a big-time issue, ofc.
I am however unsure what level this issue is at. I can memset the double buffer a certain color, and buffer it, and it works.
Plotting pixels using the function, doesn't appear to work properly.
Rendering text, the text's pixels are spaced out by ~4 pixels.
I've worked my way through the functions from the top layer to the bottom and haven't found the bug.
Anyone have a clue?
Interesting source files:
https://github.com/microNET-OS/microCOR ... rc/gfx.cxx
https://github.com/microNET-OS/microCOR ... rminal.cxx
https://github.com/microNET-OS/microCOR ... /kmain.cxx