Question about which tools to use, bugs, the best way to implement a function, etc should go here. Don't forget to see if your question is answered in the wiki first! When in doubt post here.
My GUI was working perfectly fine yesterday, and now it's self-destructed itself
I was implementing the optimizations Brendan suggested for my SetPixel function when everything started going wrong. Bochs no longer even opens my GUI, QEMU works but the display is messed up. I've been at this all day now but I just can't figure it out!
Any ideas?
Edit: those squares are my problem, there should be only 1 in the top left corner.
How do you set the video mode (lowlevel vga or bios calls), how do you get width, pitch and height, and how do you use those properties exactly
"Certainly avoid yourself. He is a newbie and might not realize it. You'll hate his code deeply a few years down the road." - Sortie
[ My OS ] [ VDisk/SFS ]
Second: I use the values I asked for, the mode switcher finds that mode, checks for a LFB and if one is found switches to that mode and puts the LFB into ECX.
I just don't understand why it's all of a sudden stopped working when it was working perfectly before!