delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/01/20/19:31:33

Date: 20 Jan 96 19:25:02 EST
From: Fulco Bohle <100662 DOT 3563 AT compuserve DOT com>
To: Delorie <djgpp AT delorie DOT com>
Subject: keyboard/int-handlers
Message-ID: <960121002501_100662.3563_EHV52-1@CompuServe.COM>

Hello DJ,

Sorry to disturb you again !
My keyboard interface port is working, but there are some minor problems.

1) Sometimes I want to chain an interrupt while under certain circumstances I
don't want to chain control to the next handler. How do I do that ?
2) If I modify registers, should I do that in the _go32_dpmi_registers structure
or do I load those values directly into the cpu-registers using inline
assembler?		
3) Can I reference C-variables in inline assembler ? (maybe a stupid question)	
	example( )
		{
		short int	the_ax_register;
		..
		__asm__ __volatile__ (mov	ax, the_ax_register);
		..
		}

4) My make utillity generates GP-faults while running under MS-Windows 3.11 for
Workgroups;

I must say GCC is far more elegant than Microsoft-C: it even gives lint like
warnings.

(This port will be an endurance test for djgpp: it should run error free for
months)

Fulco.


- Raw text -


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