| delorie.com/archives/browse.cgi | search |
| From: | Damian Yerrick <Bullcr_pd_yerrick AT hotmail DOT comRemoveBullcr_p> |
| Newsgroups: | comp.os.msdos.djgpp |
| Subject: | Re: Keyboard Handler problem |
| Organization: | Pin Eight Software http://pineight.8m.com/ |
| Message-ID: | <prrqjskv5l9gkf7n19v60t7ruh6i9fcftk@4ax.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> |
| X-Newsreader: | Forte Agent 1.7/32.534 |
| MIME-Version: | 1.0 |
| Lines: | 25 |
| X-Trace: | /Kw5eCsRUb1K4hPuzrQImv1v3NSgkR7vTPoR9bfQJe+P22MeNwNZ6KUsuP6J1wRD/+qZ+zkNl5r4!qpjg3sDytV2F9kR/pa8tOJX1p1ogMAPnzTNCNhLTIcCcNqBOz+C+LcRfhp2GD7QdHTGOaMK/DPnI!SmAW |
| X-Complaints-To: | abuse AT gte DOT net |
| X-Abuse-Info: | Please be sure to forward a copy of ALL headers |
| X-Abuse-Info: | Otherwise we will be unable to process your complaint properly |
| NNTP-Posting-Date: | Wed, 07 Jun 2000 19:42:43 GMT |
| Distribution: | world |
| Date: | Wed, 07 Jun 2000 19:42:43 GMT |
| To: | djgpp AT delorie DOT com |
| DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
| Reply-To: | djgpp AT delorie DOT com |
On Tue, 06 Jun 2000 19:25:13 GMT, 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? 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. Look at the Allegro sources. Yes, ISRs tend to use global variables. >> Also, lock any data that you may be using for obvious reasons. > >I am thinking about disabling all virtual memory for now. I now this >might make things slower in the real world, but is safer for learning >purposes.. Watch your program not work in Windows. -- Damian Yerrick "I refuse to listen to those who refuse to listen to reason." See the whole sig: http://www.rose-hulman.edu/~yerricde/sig.html This is McAfee VirusScan. Add these two lines to your signature to prevent the spread of signature viruses. http://www.mcafee.com/
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |