delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/05/12/03:44:22

Date: Tue, 12 May 1998 10:43:15 +0300 (IDT)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: Fritz Parsons <fritzp AT performancesw DOT com>
cc: djgpp AT delorie DOT com
Subject: Re: Interrupts
In-Reply-To: <355785D6.A415919A@performancesw.com>
Message-ID: <Pine.SUN.3.91.980512104252.22504K-100000@is>
MIME-Version: 1.0

On Mon, 11 May 1998, Fritz Parsons wrote:

>     incl _RecStat       /* add interrupt to status */
>     .byte   0x2e
>     pushl   %eax
>     xor     %eax,%eax
>     mov     %ax,%ds
>     movb $0x78,%al  
>     call ___djgpp_hw_exception

What else except a crash did you expect to happen here?  You load DS
with zero, which is an illegal selector, which is a blunt violation of
protected-mode rules.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019