delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2001/03/19/21:16:36

Message-ID: <3AB6BAA1.9080509@operamail.com>
From: Sahab Yazdani <sahaby AT operamail DOT com>
Organization: PheonixSoft Interactive
User-Agent: Mozilla/5.0 (Windows; U; Win98; en-US; 0.8.1) Gecko/20010316
X-Accept-Language: en
MIME-Version: 1.0
Newsgroups: comp.os.msdos.djgpp
Subject: Re: [OT] fast, SAFE keyboard handler
References: <3ab04ed5 AT leia DOT ktsnet DOT com> <3AB2BA5A DOT 4030100 AT operamail DOT com> <3ab2f428 AT leia DOT ktsnet DOT com>
Lines: 41
Date: Mon, 19 Mar 2001 21:04:17 -0500
NNTP-Posting-Host: 149.99.123.201
X-Complaints-To: abuse AT sprint DOT ca
X-Trace: newscontent-01.sprint.ca 985054361 149.99.123.201 (Mon, 19 Mar 2001 21:12:41 EST)
NNTP-Posting-Date: Mon, 19 Mar 2001 21:12:41 EST
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Cody wrote:

> Thanks very much for the reply.
> 
> 
>> something a bit less complicated than the Allegro code might be better,
>> I've written an entile gaming library (it is buggy though), with a
>> built-in keyboard handler that handles more than 1 button at a time.
>> you can download the source code from:
>> http://pheonixsoft.virtualave.net/grfx2.html
>> code is in C++ and meant to be used under DJGPP (it also converts
>> scancodes into normal characters if you want it to.)
> 
> <snip or whatever lol>
> I will certainly try out your library.  Allegro's code is not necessarily
> too complicated, it's just that for some reason I can't get gcc to compile
> anything at all that I use with allegro.  I really don't understand it.  I
> figured that I may have had a broken install with gcc, but I reinstalled
> everything, and I reinstalled everything in allegro (including remaking it),
> but to no avail (it still didn't work).  Which part of your library is
> buggy, the graphics part... the keyboard handling routines...?  Just
> curious.  Thanks again for the link to your site and your reply.

The part that is buggy at this stage is the graphics and/or memory 
management.  ALl of the input drivers work fine, and you are in luck, 
because the keyboard works the best (it also has Getch and Kbhit 
resonable face-similies, in case I didn't mention it b4), followed by 
the joystick, and then the mouse (because of the graphics involved with 
it).  Before it was not so buggy but ever since I tried writing my own 
grames with it, I've found one strange bug after another...  I've tried 
to remedy these problems with the help of the nice people on this 
newsgroup, but to no avail.. :-(

-- 
***********************************************************
* Sahab Yazdani * "Wizard's Third Rule: Passion rules     *
* Thornhill S.S * Reason" - Kolo's Journal                *
***********************************************************
* http://pheonixsoft.virtualave.net/                      *
***********************************************************

- Raw text -


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