Xref: news-dnh.mv.net comp.os.msdos.djgpp:4027 Path: news-dnh.mv.net!mv!news.sprintlink.net!newsfeed.internetmci.com!news.kei.com!nntp.coast.net!harbinger.cc.monash.edu.au!news.mel.connect.com.au!yarrina.connect.com.au!news.mel.aone.net.au!newshost.pcug.org.au!e5.pcug.org.au!eyal From: eyal AT ise DOT canberra DOT edu DOT au (Eyal Lebedinsky) Newsgroups: comp.os.msdos.djgpp Subject: v2 and VBE grahics Date: 26 Dec 1995 12:42:31 GMT Organization: Eyal at home Lines: 25 Sender: eyal AT e5 DOT pcug DOT org DOT au (Eyal Lebedinsky) Message-ID: <4boqjn$1vv@supreme.pcug.org.au> NNTP-Posting-Host: ts97.pcug.org.au Keywords: VBE video To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp After asking a few time, I was told that v2 does not anymoe support automatic bankswitching as v1 did (where go32 recognised page faults in the video memory at 0xd0000000 and called the video driver to swich banks). So I wrote my graphics driver to take care of bank switching (I already had the code laying around). The problem is that using interrupt 10 function 0x4f05 to switch banks is too *loody slow. I need some advice of how to call the windows function from VBE info (it is a real mode function so calling it should be done is a special way). I would also like to know how to use the vew BVE 2.0 protected mode interface: I understand that function 0x4f0a can be used to retrieve a set of addresses which can then be directly called to do banking, paging and DAC setup (replacing teh costly 05 07 and 09 subfunctions). Anyone got an example? BTW, this code is used in my Fly8 flight sim, and the abovementioned effort so far is on our ftp site aa the latest beta (source only) release: ftp://csc.canberra.edu.au/pub/ise/eyal/fly8/beta if anyone is interested. -- Eyal Lebedinsky (eyal AT ise DOT canberra DOT edu DOT au, eyal AT pcug DOT org DOT au)