www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1994/10/17/19:19:56

Date: Mon, 17 Oct 1994 12:45:02 -0400 (EDT)
From: Kimberley Burchett <OKRA AT max DOT tiac DOT net>
Subject: Re: timer int problems
To: Long Doan <ldoan1 AT mason1 DOT gmu DOT edu>
Cc: DJGPP Mailing List <djgpp AT sun DOT soe DOT clarkson DOT edu>


On Sun, 16 Oct 1994, Long Doan wrote:

>   There is a bug, not in your progrem, but in the 
> ..._chain_protected_mode_interrupt () function. You can work around that, 
> however, using a jump statement. In you timer interrupt ISR, do some 
> dummy, one-byte instruction, like push %eax. Then, in your interrupt 
> installing routine, modify these values so that it becomes an 
> intersegment jump (I think it is ea xx xx xx xx xx xx xx xx yy yy yy yy, 
> where xx xx ... xx xx are the for bytes offset, and yy yy yy yy is the 
> two-bytes code segment selector -- i.e. seg_info.pm_selector.) 

  Fortunately I don't want to use _chain_.  This is good because the rest 
of what you said is over my head. :)
							Kim

- Raw text -


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