Xref: news-dnh.mv.net comp.os.msdos.djgpp:3611 Path: news-dnh.mv.net!mv!news.sprintlink.net!news.uoregon.edu!news.emf.net!overload.lbl.gov!lll-winken.llnl.gov!uwm.edu!newsfeed.internetmci.com!howland.reston.ans.net!usc!newshub.csu.net!zippy.sonoma.edu!svincent From: svincent AT zippy DOT sonoma DOT edu (Sam Vincent) Newsgroups: comp.os.msdos.djgpp Subject: Re: DPMI Server Date: 3 Dec 1995 13:43:52 GMT Organization: Information Resources and Technology Lines: 32 Nntp-Posting-Host: zippy.sonoma.edu To: djgpp AT sun DOT soe DOT clarkson DOT edu Dj-Gateway: from newsgroup comp.os.msdos.djgpp Ok.. I figure it's probably impossible to get it to call the real-mode interrupt if its in real mode, and the prot mode one if its in protected mode.. So.. if that's the case.. which would be faster... to provide a real mode interrupt for it to use, or a protected mode one.. which would overall provide for better performance? I hate to have to do a mode switch just to receive a character from the modem. I can't believe it reflects all interrupts to protected mode even if it happens to be in real mode at the time.. *sigh*.. Well wait.. how the hell does the system know dpmi wants it to go to prot mode.. It should check the interrupt vectors in the first 4k of dos memory and go wherever I told it.. shouldnt it?!? Unless the set_real_mode_interrupt_vector isn't really altering the true interrupt vectors... hmmmmmm.. I'm gonna try altering them by hand.. If that doesn't work I suppose I'm up the well known unsanitary transitory, with no means of locomotion. -Sam -- ============================================================================== Microsoft Network, or any service owned in full or in part by Microsoft, is prohibited from redistributing this work in any form, in whole or in part. Copyright, Samuel A. Vincent, 1995. License to distribute this post is available to Microsoft for US$1,000 per instance, or local equivalent. Posting without permission constitutes an agreement to these terms. Please send notices of violation to svincent AT zippy DOT sonoma DOT edu and postmaster AT microsoft DOT com. ==============================================================================