• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 514
  • Last Modified:

Vesa Modes

Hello,
How do you use 640x480x256 without using VESA.  If it is using VESA, would it work to switch banks on my S3 accelerrator card.  The fastest way is the way I want.
Thankx.
0
Raid
Asked:
Raid
1 Solution
 
joe_hCommented:
Using 640x480x256 without VESA is hardware-specific; that is, if it works with a videocard from one manufacturer, it's almost for sure that it won't work with a different one. That's why VESA was accepted; nowadays, all not-so-obsolete cards support it.

Specifically, 640x480x256 is mode 101h.
To switch banks, you would call int 10h function (ax=) 4F05h, with bx and dx set accordingly. There is a faster way: at the beginning of your program, call int 10h function 4F01h, which will tell you an address of VESA information buffer. There you can get a far call address to call the 4F05h function directly.

Let me know if you need further details, or if you want to make this an answer.

HTH, Joe

0
 
Phoenix020397Commented:
I have a BGI file that lets you load graphics mode in 640x480x256 resolution. (For Ansi pascal...)

Email me at PhoenixF@writeme.com and I'll send it to you and teach you how to use it.
0
 
RaidAuthor Commented:
Sorry Pheonix, I have means to access 640x480x256, but thanks for trying to answer anyway.

0
Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

 
RaidAuthor Commented:
And Joe_h, yes, give me further details on how to switch banks using VESA, VERY FAST bank switching and copying(bytes).  Please E-mail me COMPLETE instructions and details at this address, (and yes I am fimiliar with some assembly language).

Address:
arcwolf@mb.sympatico.ca

Thank you in advance
P.S. Yes you can turn it into an answer.
0
 
joe_hCommented:
See my comment below....

And, by the way, VESA BIOS calls are well-documented in the Ralf Brown's Interrupt List, available at http://www.pobox.com/~ralf/files.html.

Joe

0
 
jack_p50Commented:
Hi Raid. See the Grafx unit that i told you - it implements hardware accelleration of most
graphic cards and is very fast.
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now