640x512x16bpp with VESA ?



Hello,

I have to use a 1280x1024 screen but there are too many pixels
to compute there. I think that a halved resolution would fit
but 1:1.25 ratio modes are very scarce. Practically, I use
the VESA2 framebuffer in ASM with my own bootloader so the
help of an operating system is useless, unless it gives me
correct parameters. Should I dump the registers after X.org
has set this mode ?

I guess that I have to setup 1280x1024x16 then tweak the CRTC
to "double scan" (so i get 1280x512). I have read books 12 years
ago about this but i don't remember the particularities of the X mode :-)
I have to half the clock speed too but it's above my ability now
(i don't have the books anymore). Hint : my graphics chip is based on S3.

My requirement is to conserve the 1:1.25 ratio of the screen
with practically fine values. If you know of other resolutions
that fit, fine, as long as I can set it with a simple asm program.

thanks,
YG (not been here for 8 years or so...)

.



Relevant Pages

  • Re: Picture Sizes
    ... Why not resample the image to fit inside the area you want (retaining aspect ratio, of course) and store ... Is there a way to load the image so it would ...
    (microsoft.public.inetserver.asp.db)
  • Re: "Full screen" = Pan & Scan???
    ... statements on the box and sometimes at the beginning of the feature itself that says the presentation has been changes to fit your "4:3" screen, ... How many have ever tried to really explain aspect ratio of TV and movies and broadcast signals to relatives;-) ... on a DVD package. ... Perhaps the term "pan and scan" confused those people, ...
    (alt.video.dvd)
  • Re: Only part of photo displayed on wallpaper
    ... To fit your screen perfectly you must meet two requirements. ... Correct aspect ratio but not enough pixels. ... This is half your screen size and the photo will be centered and ...
    (microsoft.public.windowsxp.photos)
  • Re: Scanning vs digital image
    ... And since 12 x 18 matches the aspect ratio the extra enlargement ... but since a 11 x 13 inch print does not exactly fit said ... though: Max size for my typical film scans ...
    (comp.periphs.scanners)