Page 1 of 1
80x50 video mode
Posted: Fri Nov 07, 2003 11:18 am
by Tux
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
Re:80x50 video mode
Posted: Fri Nov 07, 2003 11:25 am
by Tux
Hmm, many already did do 80x50. But not the way I did it
Re:80x50 video mode
Posted: Fri Nov 07, 2003 11:40 am
by Tux
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.
Re:80x50 video mode
Posted: Fri Nov 07, 2003 12:43 pm
by df
i like 80x28 and 80x43, tho i like 80x28 more than 80x43 and i dont much like 80x50.
Re:80x50 video mode
Posted: Fri Nov 07, 2003 12:59 pm
by Tux
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)
Re:80x50 video mode
Posted: Fri Nov 07, 2003 3:56 pm
by df
i fail to see the point of a '80x50 graphic' mode where you use text blocks to simulate an 80x50 pixel display??
Re:80x50 video mode
Posted: Fri Nov 07, 2003 4:17 pm
by Tux
Yeah, but on Boch's it goes faster when using text instead of actual VGA. No idea why :/
Re:80x50 video mode
Posted: Fri Nov 07, 2003 5:29 pm
by Tim
Why not use 320x200x8? Or 640x480x4?
Re:80x50 video mode
Posted: Fri Nov 07, 2003 10:36 pm
by Chris Giese
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)
Must be something like this?
http://my.execpc.com/~geezer/temp/chunky.gif
source code:
http://my.execpc.com/~geezer/temp/chunky.c
Re:80x50 video mode
Posted: Wed Nov 12, 2003 1:31 am
by Pype.Clicker
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 ...