www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/06/06/16:21:59

From: "Alexei A. Frounze" <see_below AT the_message_body DOT com>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Keyboard Handler problem
Date: Tue, 06 Jun 2000 23:41:45 +0400
Organization: None
Lines: 22
Message-ID: <393D53F9.F3BD2381@the_message_body.com>
References: <8hiia1$lvs$1 AT nnrp1 DOT deja DOT com> <200006061335 DOT TAA29025 AT bgl2 DOT vsnl DOT net DOT in> <8hjj65$flt$1 AT nnrp1 DOT deja DOT com>
NNTP-Posting-Host: ppp103-89.dialup.mtu-net.ru
Mime-Version: 1.0
X-Trace: gavrilo.mtu.ru 960320481 74053 212.188.103.89 (6 Jun 2000 19:41:21 GMT)
X-Complaints-To: usenet-abuse AT mtu DOT ru
NNTP-Posting-Date: 6 Jun 2000 19:41:21 GMT
X-Mailer: Mozilla 4.72 [en] (Win95; I)
X-Accept-Language: ru,en
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

ryan4600 AT my-deja DOT com wrote:
> 
> Okay then my program would have lots of global variables. Is that okay?
> Is it how things are done when writing keyboard handlers? 

It's okay. In fact, it depends on you. Make it according to your taste.
Programming is something you're free to implement and try almost anything.

> Would it be
> posible to see some sample source code which implements keyboard
> handler? Yes I did use wrappers for my handler so I don't need IRET
> instruction in my handler.

I think you may learn from Allegro.

Good Luck
Alexei A. Frounze
-----------------------------------------
E-mail:   alexfru [AT] chat [DOT] ru
Homepage: http://alexfru.chat.ru
Mirror:   http://members.xoom.com/alexfru

- Raw text -


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