public inbox for linux-msdos@vger.kernel.org
 help / color / mirror / Atom feed
From: John Elliott <jce@seasip.demon.co.uk>
To: linux-msdos@vger.kernel.org
Subject: DPMI: Interrupt vector overwritten
Date: Wed, 16 Oct 2002 23:07:45 +0100 (BST)	[thread overview]
Message-ID: <E181wKP-00022Z-00@seasip.demon.co.uk> (raw)


These lines come from /src/dosext/dpmi/dpmi.c, line 1328 or so. They cause 
dosemu to abort if DPMI function 0x300 is used to call interrupt 0xE0 or 
higher; is this correct, and if so, why is it doing it?

      if (inumber==0x0300) {
        REG(cs) = ((us *) 0)[(_LO(bx) << 1) + 1];
        REG(eip) = ((us *) 0)[_LO(bx) << 1];
        if ((_LO(bx) >= 0xe0) && (REG(cs) < 0xf000)) { /* avoid hardreboot
!! */
                 D_printf("DPMI: Interrupt vector overwritten!");
                 leavedos(99);
        }


-- 
John Elliott

             reply	other threads:[~2002-10-16 22:07 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-10-16 22:07 John Elliott [this message]
  -- strict thread matches above, loose matches on Subject: below --
2002-10-17  3:51 DPMI: Interrupt vector overwritten Stas Sergeev
2002-10-17  5:08 ` Bart Oldeman
     [not found] <no.id>
2002-10-18 19:53 ` John Elliott

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=E181wKP-00022Z-00@seasip.demon.co.uk \
    --to=jce@seasip.demon.co.uk \
    --cc=linux-msdos@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox