Article View: rec.games.programmer
Article #2251Re: Calling VESA from Watcom C 9.0
From: slagel cheryl jean
Date: Mon, 13 Jun 1994 15:16
Date: Mon, 13 Jun 1994 15:16
10 lines
1806 bytes
1806 bytes
You're problem is that DOS4GW intertcepts ROM BIOS (int 10h) calls and translates pointers, etcv for you. However, it doesn't emulate VESA BIOS calls. So, what you need to do is call the DPMI function that is documented in your C/C++ 386 Users Guide and call the "Simulate Real Mode Interrupt" function. There is some sample code in the sample code that comes with Watcom, its in the WATCOM/SRC/GOODIES directry that demonstrates this, if I remember correctly. -John
Technical Details
Message-ID:
<2tht8m$lr8@vixen.cso.uiuc.edu>Path:
arc1-ca.pugleaf.net!nntp.gmd.de!Germany.EU.net!EU.net!howland.reston.ans.net!vixen.cso.uiuc.edu!uxa.cso.uiuc.edu!slagelReferences:
<2t0sn7$m1r@harbinger.cc.monash.edu.au> <Cr6r0J.DDC@news.atitech.ca> <Cr8qtz.2EA@pe1chl.ampr.org>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10f6aa,e6b2b5751c2b9056 X-Google-Attributes: gid10f6aa,public X-Google-Thread: fe306,e6b2b5751c2b9056 X-Google-Attributes: gidfe306,public X-Google-Thread: 1103af,e6b2b5751c2b9056 X-Google-Attributes: gid1103af,public X-Google-Thread: f9382,e6b2b5751c2b9056 X-Google-Attributes: gidf9382,public X-Google-Thread: 10a997,e6b2b5751c2b9056 X-Google-Attributes: gid10a997,public X-Google-Thread: 102983,e6b2b5751c2b9056 X-Google-Attributes: gid102983,public X-Google-Thread: 102bfa,e6b2b5751c2b9056 X-Google-Attributes: gid102bfa,public X-Google-ArrivalTime: 1994-06-13 08:16:46 PST Path: arc1-ca.pugleaf.net!nntp.gmd.de!Germany.EU.net!EU.net!howland.reston.ans.net!vixen.cso.uiuc.edu!uxa.cso.uiuc.edu!slagel From: slagel@uxa.cso.uiuc.edu (slagel cheryl jean) Newsgroups: rec.games.programmer,alt.uu.comp.os.linux.questions,aus.computers.linux,comp.os.linux,comp.os.linux.misc,alt.msdos.programmer,comp.os.msdos.programmer Subject: Re: Calling VESA from Watcom C 9.0 Date: 13 Jun 1994 15:16:38 GMT Organization: University of Illinois at Urbana Lines: 11 Message-ID: <2tht8m$lr8@vixen.cso.uiuc.edu> References: <2t0sn7$m1r@harbinger.cc.monash.edu.au> <Cr6r0J.DDC@news.atitech.ca> <Cr8qtz.2EA@pe1chl.ampr.org> NNTP-Posting-Host: uxa.cso.uiuc.edu