Solved

Vesa Modes

Posted on 1998-10-30
6
500 Views
Last Modified: 2012-08-14
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
Comment
Question by:Raid
6 Comments
 
LVL 2

Expert Comment

by:joe_h
ID: 1215910
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
 

Expert Comment

by:Phoenix020397
ID: 1215911
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
 

Author Comment

by:Raid
ID: 1215912
Sorry Pheonix, I have means to access 640x480x256, but thanks for trying to answer anyway.

0
Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

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

 

Author Comment

by:Raid
ID: 1215913
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
 
LVL 2

Accepted Solution

by:
joe_h earned 50 total points
ID: 1215914
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
 
LVL 4

Expert Comment

by:jack_p50
ID: 1215915
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: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

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.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Some of the SEO trends we might expect in 2017.
Learn how to PXE Boot both BIOS & UEFI machines with DHCP Policies and Custom Vendor Classes
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

792 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question