delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/01/13/13:10:17

From: idr AT cs DOT pdx DOT edu (Ian D Romanick)
Subject: Re: cwsdpmi beta9 - Bug
To: R DOT Jaycocks1 AT lut DOT ac DOT uk (Robert Jaycocks)
Date: Sat, 13 Jan 1996 10:04:41 -0800 (PST)
Cc: djgpp AT delorie DOT com
MIME-Version: 1.0

> In the latest version of the cwsdpmi program (beta9), what is the correct
> method of redirection the int24 interrupt vector. This is required so that
> the program prints up a user friendly message box if the user tries to 
> access the drive, when there is no disk within the drive. The method I was
> using, worked for the previous version, but now issues a page fault with
> error=0006. 

I'm pretty sure this will go into the v2 FAQ.  Pretty much any time you
have a bug that can be described with the phrases "interrupt" and "page
fault" it means that you're not locking all the memory used by the
interrupt handler.

-- 
- See the Epsilon coder page at:           ____  ____
  http://www.cs.pdx.edu/~idr/             /     /   / /\    / "Good...bad...
- Ian Romanick sez:                      /---- /___/ /  \  /   I'm the guy
  "For the last time, GIVE ME THE BOX!" /____ /     /    \/    with the gun."

- Raw text -


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