Question about graphics
-
- Member
- Posts: 83
- Joined: Fri Oct 22, 2004 11:00 pm
Question about graphics
In svga graphics, one can switch banks of memory in order to use all the memory on a video card. In order to completely write to all of the memory, one needs to know the max amount of memory that can be written without switching banks. (64 kb, 128 kb, etc). Does anybody know how to do that efficently?
Anything is possible if you put your mind to it.
ComputerPsi
ComputerPsi
-
- Member
- Posts: 83
- Joined: Fri Oct 22, 2004 11:00 pm
- carbonBased
- Member
- Posts: 382
- Joined: Sat Nov 20, 2004 12:00 am
- Location: Wellesley, Ontario, Canada
- Contact:
Re: Question about graphics
If you're using VESA APIs, this is included as part of the APIs:ComputerPsi wrote:In svga graphics, one can switch banks of memory in order to use all the memory on a video card. In order to completely write to all of the memory, one needs to know the max amount of memory that can be written without switching banks. (64 kb, 128 kb, etc). Does anybody know how to do that efficently?
Check out int 0x10, ax == 0x4F01;
es:di points to an application allocated VDE_ModeInfo structure which will contain the number of banks, and their sizes.
--Jeff