cvs.gedasymbols.org/archives/browse.cgi   search  
Mail Archives: djgpp/1998/09/13/11:46:42

From: Endlisnis <s257m AT unb DOT ca>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Using Allegro & Assembly language - video descriptor problem
Date: Sun, 13 Sep 1998 12:18:09 -0300
Organization: NBTel Internet
Lines: 18
Message-ID: <35FBE231.6F53E9C7@unb.ca>
References: <6tgm4b$9fg$3 AT news2 DOT saix DOT net>
NNTP-Posting-Host: fctnts08c48.nbnet.nb.ca
Mime-Version: 1.0
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

Rylan wrote:
> When I have called install_keyboard and install_timer, is there any way to
> still use the segment registers such as ES and DS without GPF'ing the
> program out? I need to be able to use ES and DS as descriptors to video RAM
> using __dpmi_segment_to_descriptor(0xA000) to set them up before using them
> in NASM assembly code - however, after installing the Allegro keyboard and
> timer handlers the program crashes the moment it reaches the line where I
> place the video descriptor in the ES or DS register. Is there anyway around
> this? I suppose this has to do with the fact that the timer routines and /
> or keyboard routines are constantly running and thus must always have valid
> descriptors in them.
	Why can't you use FS?  or GS?
-- 
     (\/) Endlisnis (\/)
          s257m AT unb DOT ca
          Endlisnis AT GeoCities DOT com
          Endlis AT nbnet DOT nb DOT ca

- Raw text -


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