http://GameProgrammer.Com

Programming

GP Mailing List
     Thread Index
     Date Index

ATXGPSIG List
     Thread Index
     Date Index

Google
>

Home

Wise2Food



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

VESA questions



Hey guys/gals,

I'm having some trouble with VESA bank switching, I have a copy of the
VESA specification with me, and it shows the following:

	AH = 4Fh	Super VGA support
	AL = 05h	Super VGA video memory window control
	BH = 00h	Select Super VGA video memory window
	BL = Window number
		0 = Window A
		1 = Window B
	DX = Window position in memory
	     (in window granularity units)

Okay, now my question is: What do I put in BL and DX? How do I calculate
the values? I'm using 640x480x256, mode 101h. Can somebody help me out
please? A simple pixel plotting routine would also be really appreciated,
since I'm just starting out with this stuff, I have tried before, but
everything's been a failure, but now I'm determined to make it work :-).

Ciao,

Lionel

=================================================================
The GameProgrammer.Com mailing list is for the open discussion
of any topic related to the art, science, and business of
programming games. This list is especially tolerant of beginners.
We were all beginners once

To SUBSCRIBE or UNSUBSCRIBE please visit:
http://gameprogrammer.com/mailinglist.html