www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1994/11/17/23:50:03

Date: Thu, 17 Nov 94 14:01:33 -0500
From: dj AT stealth DOT ctron DOT com (DJ Delorie)
To: bardiria AT isis DOT curtin DOT edu DOT au
Cc: djgpp AT sun DOT soe DOT clarkson DOT edu
Subject: Re: INTERRUPT handlers -> need help....

> in pascal - this is easy ( mainly 'cause i have the manuals ). i am interested
> in writing *games* using djgpp, and naturally i need to *redefine* a few 
> interrupts ( in particular - the mouse, the keyboard and the timer.. ).

The samples/dpmi directory has a number of samples on doinng things
like this.  I don't know if there are any that do exactly what you
want, but some are close.

_go32_dpmi_set_protected_mode_interrupt_vector() is best if your
handler is in assembler, or add _go32_dpmi_allocate_iret_wrapper() to
calla C function directly.

> DJ is god ( good job mate )...

Thanks.


- Raw text -


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