Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.os.msdos.programmer > #417

Re: How to call Int 15h, ax=e881h?

From Ross Ridge <rridge@csclub.uwaterloo.ca>
Newsgroups alt.os.development, comp.os.msdos.programmer
Subject Re: How to call Int 15h, ax=e881h?
Date 2011-11-04 23:27 -0400
Organization University of Waterloo
Message-ID <j92aes$arv$1@rumours.uwaterloo.ca> (permalink)
References <j8n1ll$t95$1@speranza.aioe.org> <d0ede962-ccd8-42ef-9d15-28a62247aba3@t8g2000yql.googlegroups.com> <j91n7n$58h$1@rumours.uwaterloo.ca> <j91uv9$8sa$1@speranza.aioe.org>

Cross-posted to 2 groups.

Show all headers | View raw


Rod Pemberton <do_not_have@noavailemail.cmm> wrote:
>AIUI, PM DOS extenders switch from PM to RM or v86, and then call the
>interrupt in RM or v86.  When in 32-bit PM, the extender accepts larger
>sized parameters for the call.  I'm not too familiar with 16-bit PM code.
>I'd assume the arguments are the same size, just that the cpu mode needs to
>be changed.  I take the Phoenix manuals to indicate that e881h is callable
>from 32-bit PM somehow.

Yes, basically DOS extenders create a 16-bit or 32-bit protected mode
"DOS" enviroment where DOS and BIOS interrupts all more or less appear
to work like they do in real-mode DOS.  In some cases arguments need
to changed to allow for the changes in segmentation and/or 32-bit
values, but usually most real-mode code targetting MS-DOS can be
recompiled/reassembled with minimal changes to run under a DOS extender.

So in such a protected mode environment it does make sense to use INT
15h, just like you would in MS-DOS.  Note that there are a number of
functions documented in the RBIL that are only ment to be called from
protected mode, mainly ones specific to certain DOS extenders, and have
no real-mode equivilent.  I strongly suspect that the E881 interface
may have been intended to be one of these.

It also very possible that its an interface that was proposed and
documented, but either was never implemented or was quickly made obsolete.
There are a number of interfaces like that in the RBIL as well.

>BTW, how is that network redirector project of yours going?

Sorry, I think you're confusing me with someone else.

					Ross Ridge

-- 
 l/  //	  Ross Ridge -- The Great HTMU
[oo][oo]  rridge@csclub.uwaterloo.ca
-()-/()/  http://www.csclub.uwaterloo.ca/~rridge/ 
 db  //	  

Back to comp.os.msdos.programmer | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

How to call Int 15h, ax=e881h? "Rod Pemberton" <do_not_have@noavailemail.cmm> - 2011-10-31 16:50 -0400
  Re: How to call Int 15h, ax=e881h? Jim Leonard <mobygamer@gmail.com> - 2011-10-31 15:32 -0700
    Re: How to call Int 15h, ax=e881h? Rugxulo <rugxulo@gmail.com> - 2011-10-31 16:37 -0700
      Re: How to call Int 15h, ax=e881h? "Rod Pemberton" <do_not_have@noavailemail.cmm> - 2011-11-01 05:10 -0400
  Re: How to call Int 15h, ax=e881h? Ross Ridge <rridge@csclub.uwaterloo.ca> - 2011-10-31 20:18 -0400
  Re: How to call Int 15h, ax=e881h? "Rod Pemberton" <do_not_have@noavailemail.cmm> - 2011-11-01 05:09 -0400
    Re: How to call Int 15h, ax=e881h? Ross Ridge <rridge@csclub.uwaterloo.ca> - 2011-11-01 12:23 -0400
  Re: How to call Int 15h, ax=e881h? James Harris <james.harris.1@googlemail.com> - 2011-11-01 12:57 -0700
    Re: How to call Int 15h, ax=e881h? "Rod Pemberton" <do_not_have@noavailemail.cmm> - 2011-11-02 02:49 -0400
      Re: How to call Int 15h, ax=e881h? Ross Ridge <rridge@csclub.uwaterloo.ca> - 2011-11-02 10:33 -0400
      Re: How to call Int 15h, ax=e881h? James Harris <james.harris.1@googlemail.com> - 2011-11-04 14:47 -0700
        Re: How to call Int 15h, ax=e881h? Ross Ridge <rridge@csclub.uwaterloo.ca> - 2011-11-04 17:59 -0400
          Re: How to call Int 15h, ax=e881h? James Harris <james.harris.1@googlemail.com> - 2011-11-04 15:09 -0700
          Re: How to call Int 15h, ax=e881h? "Rod Pemberton" <do_not_have@noavailemail.cmm> - 2011-11-04 20:12 -0400
            Re: How to call Int 15h, ax=e881h? Ross Ridge <rridge@csclub.uwaterloo.ca> - 2011-11-04 23:27 -0400
              Re: How to call Int 15h, ax=e881h? "Rod Pemberton" <do_not_have@noavailemail.cmm> - 2011-11-06 02:46 -0500
        Re: How to call Int 15h, ax=e881h? "Rod Pemberton" <do_not_have@noavailemail.cmm> - 2011-11-04 21:04 -0400
          Re: How to call Int 15h, ax=e881h? "Marven Lee" <marven10@gmail.com> - 2011-11-05 01:12 +0000
            Re: How to call Int 15h, ax=e881h? Nomen Nescio <nobody@dizum.com> - 2011-11-05 19:04 +0100
    Re: How to call Int 15h, ax=e881h? James Harris <james.harris.1@googlemail.com> - 2011-11-04 14:58 -0700

csiph-web