From: Simon Newsgroups: comp.os.msdos.djgpp Subject: old VGA laptop mode 13h problems Date: Tue, 22 Dec 1998 13:46:48 +0000 Organization: Customer of Planet Online Lines: 27 Message-ID: <367FA2C8.5358@magicsoftware.freeserve.co.uk> NNTP-Posting-Host: modem-31.oxygen.dialup.pol.co.uk Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: news7.svr.pol.co.uk 914334521 15717 62.136.3.159 (22 Dec 1998 13:48:41 GMT) NNTP-Posting-Date: 22 Dec 1998 13:48:41 GMT X-Complaints-To: abuse AT theplanet DOT net X-Mailer: Mozilla 3.04Gold (Win95; I) To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Hello , I am writing a set of libraries for a university project I am going away for a few days and have borowed an old 386 laptop for coding (yes I know its ridiculously slow) but I need to use it, anyway I have probems setting any screen mode from the dpmi int code such as : #define SET_MODE_FUNCTION 0x4F02 #define VIDEOBIOS 0x10 void SetVideoMode(int mode){ __dpmi_regs registers; registers.x.ax=SET_MODE_FUNCTION; registers.x.bx=mode; __dpmi_int(VIDEOBIOS,®isters); } just returns zero from the dpmi int any ideas why this code(that works on several other machines 486-pentium 2) is failing on the dpmi int ??? the laptop is : 386SL (no FPU) 4 meg 80 meg HD windows 95 thanks in advance Simon.....