Odd video modes

Programming, for all ages and all languages.
User avatar
Troy Martin
Member
Member
Posts: 1686
Joined: Fri Apr 18, 2008 4:40 pm
Location: Langley, Vancouver, BC, Canada
Contact:

Odd video modes

Post by Troy Martin »

I seem to have found a graphics mode that's a combo between 1152x864 and 1024x768: 1152x768! I was attempting to use int 10h to write a coloured screen driver for text mode, but when I tested my code in Virtual PC, the emulated screen went blank and changed to 1152x768. I've attached a screenshot of the properties showing the mode as well as a text file containing the code I was working on at the time.

Anyone find any others that they'd like to share?
Attachments
1152x768_code.txt
The NASM code
(1.13 KiB) Downloaded 108 times
I wonder if I can use this to my advantage?
I wonder if I can use this to my advantage?
1152x768.png (24.95 KiB) Viewed 3247 times
Image
Image
Solar wrote:It keeps stunning me how friendly we - as a community - are towards people who start programming "their first OS" who don't even have a solid understanding of pointers, their compiler, or how a OS is structured.
I wish I could add more tex
User avatar
VolTeK
Member
Member
Posts: 815
Joined: Sat Nov 15, 2008 2:37 pm
Location: The Fire Nation

Re: Odd video modes

Post by VolTeK »

this may be a waste of space, but therres a windows 96? and maybe its because the vpc detects it in the os? maybe?
User avatar
Troy Martin
Member
Member
Posts: 1686
Joined: Fri Apr 18, 2008 4:40 pm
Location: Langley, Vancouver, BC, Canada
Contact:

Re: Odd video modes

Post by Troy Martin »

Actually it was my attempt to modify Windows 95's resource files to create a "Windows 96". It was just a project on a bored summer day.
Image
Image
Solar wrote:It keeps stunning me how friendly we - as a community - are towards people who start programming "their first OS" who don't even have a solid understanding of pointers, their compiler, or how a OS is structured.
I wish I could add more tex
User avatar
VolTeK
Member
Member
Posts: 815
Joined: Sat Nov 15, 2008 2:37 pm
Location: The Fire Nation

Re: Odd video modes

Post by VolTeK »

cool, ok
User avatar
Combuster
Member
Member
Posts: 9301
Joined: Wed Oct 18, 2006 3:45 am
Libera.chat IRC: [com]buster
Location: On the balcony, where I can actually keep 1½m distance
Contact:

Re: Odd video modes

Post by Combuster »

I'm used to setting any mode that is a multiple of eight horizontally...

How about the 416x312 resolution as the largest 4:3 VGA compatible resolution that still allows pageflipping :)
"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 ]
User avatar
VolTeK
Member
Member
Posts: 815
Joined: Sat Nov 15, 2008 2:37 pm
Location: The Fire Nation

Re: Odd video modes

Post by VolTeK »

now, how do you d that, is it determined on how big you os want it to be or are you adjustng vpc?
User avatar
Combuster
Member
Member
Posts: 9301
Joined: Wed Oct 18, 2006 3:45 am
Libera.chat IRC: [com]buster
Location: On the balcony, where I can actually keep 1½m distance
Contact:

Re: Odd video modes

Post by Combuster »

It's nothing a good search couldn't tell you. Heck, its even on the wiki.
"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 ]
User avatar
VolTeK
Member
Member
Posts: 815
Joined: Sat Nov 15, 2008 2:37 pm
Location: The Fire Nation

Re: Odd video modes

Post by VolTeK »

ah forget it then, i dont need to know
User avatar
Love4Boobies
Member
Member
Posts: 2111
Joined: Fri Mar 07, 2008 5:36 pm
Location: Bucharest, Romania

Re: Odd video modes

Post by Love4Boobies »

Troy Martin wrote:I seem to have found a graphics mode that's a combo between 1152x864 and 1024x768: 1152x768! I was attempting to use int 10h to write a coloured screen driver for text mode, but when I tested my code in Virtual PC, the emulated screen went blank and changed to 1152x768.
Well that's not a big surprise. It really depends on the video card; VGA for instance is considered to be a graphics standard and that's why everyone made a big fuss when Mode X and other undocumented modes showed up. Video card designers could also supprot 1x1 (that's right, ONE PIXEL) if they wanted :).
"Computers in the future may weigh no more than 1.5 tons.", Popular Mechanics (1949)
[ Project UDI ]
User avatar
VolTeK
Member
Member
Posts: 815
Joined: Sat Nov 15, 2008 2:37 pm
Location: The Fire Nation

Re: Odd video modes

Post by VolTeK »

now THAT is cool, just one pixel?!
User avatar
Brendan
Member
Member
Posts: 8561
Joined: Sat Jan 15, 2005 12:00 am
Location: At his keyboard!
Contact:

Re: Odd video modes

Post by Brendan »

Hi,
GhostXoPCorp wrote:now THAT is cool, just one pixel?!
Hehe - you'd be able to run Quake at 1000000 frames per second! :)


Cheers,

Brendan
For all things; perfection is, and will always remain, impossible to achieve in practice. However; by striving for perfection we create things that are as perfect as practically possible. Let the pursuit of perfection be our guide.
User avatar
Troy Martin
Member
Member
Posts: 1686
Joined: Fri Apr 18, 2008 4:40 pm
Location: Langley, Vancouver, BC, Canada
Contact:

Re: Odd video modes

Post by Troy Martin »

Brendan wrote:
GhostXoPCorp wrote:now THAT is cool, just one pixel?!
Hehe - you'd be able to run Quake at 1000000 frames per second! :)
And be fragged 1000000 times a second!
Image
Image
Solar wrote:It keeps stunning me how friendly we - as a community - are towards people who start programming "their first OS" who don't even have a solid understanding of pointers, their compiler, or how a OS is structured.
I wish I could add more tex
User avatar
inflater
Member
Member
Posts: 1309
Joined: Thu Sep 28, 2006 10:32 am
Location: Slovakia
Contact:

Re: Odd video modes

Post by inflater »

Speaking of odd video modes, who's still using 40x25 in their OSes? AH=0 [video settings], AL=0 [40x25], INT 10h! :lol:
My web site: http://inflater.wz.cz (Slovak)
Derrick operating system: http://derrick.xf.cz (Slovak and English :P)
User avatar
Troy Martin
Member
Member
Posts: 1686
Joined: Fri Apr 18, 2008 4:40 pm
Location: Langley, Vancouver, BC, Canada
Contact:

Re: Odd video modes

Post by Troy Martin »

Hmm, never thought about that one. Could be funny!
But that's why I use 80x50, maximum space in a 640x400 or 720x400 resolution!
Image
Image
Solar wrote:It keeps stunning me how friendly we - as a community - are towards people who start programming "their first OS" who don't even have a solid understanding of pointers, their compiler, or how a OS is structured.
I wish I could add more tex
User avatar
inflater
Member
Member
Posts: 1309
Joined: Thu Sep 28, 2006 10:32 am
Location: Slovakia
Contact:

Re: Odd video modes

Post by inflater »

But people like when it's easier on the eyes... so I provided both 80x25 and 80x50.
My web site: http://inflater.wz.cz (Slovak)
Derrick operating system: http://derrick.xf.cz (Slovak and English :P)
Post Reply