delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/07/24/12:00:12

Xref: news2.mv.net alt.msdos.programmer:13756 comp.os.msdos.djgpp:6362 comp.os.msdos.programmer:26917
From: tikonen AT gamma DOT hut DOT fi (Teemu Aaron Ikonen)
Newsgroups: alt.msdos.programmer,comp.os.msdos.programmer,comp.os.msdos.djgpp
Subject: Re: An key board handler ISR question.
Date: 24 Jul 96 07:08:56 GMT
Organization: Helsinki University of Technology
Lines: 17
Distribution: inet
Message-ID: <tikonen.838192136@snakemail.hut.fi>
References: <4t2krp$8jp AT lion DOT cs DOT latrobe DOT edu DOT au>
NNTP-Posting-Host: gamma.hut.fi
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

boylesgj AT lion DOT cs DOT latrobe DOT edu DOT au (Gregary J Boyles) writes:

>Could any one tell me if there is any reason why this key board handler may
>fail. It is based on some info from Game Programmer's Encyclopedia but there
>was not enough info for me to be absolutely sure that this will work.

>I am writing this with Borland C++ 3.1.

>// The character table.
>unsigned Table[Width][Height];

should this be 'volatile unsigned Table[Widht][Height];'
volatile tels to the compiler that the value can be changed by 
background routine so value is reloaded every time the program needs
it. 
Make sure, that the stack checking is off from the debug options 

- Raw text -


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