Hi.....
I want to display a 8-bit bmp of any size on the screen..
which video mode should i use in the AL register for ROM-BIOS function
Hi.....
I want to display a 8-bit bmp of any size on the screen..
which video mode should i use in the AL register for ROM-BIOS function
Daaaaaaaaamn! Thats old school.
Let me re-phrase the question: what is the best screen resolution for displaying bitmaps?
Well, one could say that the higher the resolution the better - since you'll be able to show a bigger bitmap. You can also take into consideration the aspect ratio of each screen resolution - the closer to 1 the better.
gg
The ratio should be 4:3, not 1.Originally posted by Codeplug
You can also take into consideration the aspect ratio of each screen resolution - the closer to 1 the better.
640 x 480 = (4*160) x (3*160)
800 x 600 = (4*200) x (3*200)
1024 x 768 = (4*256) x (3*256)
etc...
If it's not, the pixels will be stretched, making them look rectangular. Take mode 13 as an example (320*200).
MagosX.com
Give a man a fish and you feed him for a day.
Teach a man to fish and you feed him for a lifetime.
4/3 == 1.3333333333...
The closer to 1, the better.
gg
By saying that, you mean that 1.2 is better than 1.333... (4/3), which is not true.Originally posted by Codeplug
4/3 == 1.3333333333...
The closer to 1, the better.
gg
MagosX.com
Give a man a fish and you feed him for a day.
Teach a man to fish and you feed him for a lifetime.
To be more accurate: Humans perceive reality best (on a monitor) when an aspect ratio between 4:3 and 5:3 is used. Not surprisingly, most of the available (and most popular) modes are 4:3.
So, closer to 1 isn't accurate, although I don't know of any VBE modes that are < 4:3.
gg