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.
I just want if this *mode* is new or already done.
Don't tell me to enter 320x240 and then just use 80x50 of it. I need to know if there is anyone that knows how to enter 80x50 mode?
I already got it, but I want to see how many people think like me
http://www.osdever.net/forums/viewtopic.php?t=182 is the source to the mode hack. I would like opinions on it. It is very useful in that it is fast and easy to setup. I use it for my GUI engine testing.
Mode 80x50 (hack) is made by taking 80x25, and using ? (0xDC) which is a small box. The box represents the bottom pixel, and the background color represents the top pixel. Thus, making the illusion that there are 50 pixels top to bottom. (Actually there are 50 pixels, but it's gained by a trick)
Tux wrote:
Mode 80x50 (hack) is made by taking 80x25, and using ? (0xDC) which is a small box. The box represents the bottom pixel, and the background color represents the top pixel. Thus, making the illusion that there are 50 pixels top to bottom. (Actually there are 50 pixels, but it's gained by a trick)
Tux wrote:
Yeah, but on Boch's it goes faster when using text instead of actual VGA. No idea why :/
try to guess ! to fill the same region, you need more emulated instructions in 320x200 than with 80x25 text mode. The job of filling the characters is done by native code rather than by emulating your GUI code ...