Article View: comp.os.msdos.programmer
Article #6417Re: putting chars back to keyboard buf.. Round 2..
From: Rogier Goossens
Date: Thu, 19 Nov 1992 12:19
Date: Thu, 19 Nov 1992 12:19
29 lines
1740 bytes
1740 bytes
iarit@slate.mines.colorado.edu (ARIT ISMAIL) writes: >[...] > if (temp2 <= 0x3E) --------------^^^^^ > temp2 = 0x1E; -------------^^^^^ Instead of using constants for the start and end of the buffer, I would use the start and end pointers in the bios. (at offset 0x80 and 0x82). If you don't, and some program has moved the keyboard buffer, your program may cause part of the system (bios &/| dos) or program data area to be overwritten. Or your system may hang, or crash... Rogier P.S. I don't think this will solve your problem. ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: : : :: :: ((( (((( (( : Rogier Goossens : Perfection is achieved, :: :: ( ( ( ( ( : goossens@cs.few.eur.nl : not when there's nothing :: :: ((( ( ( : Erasmus University : left to add, but when :: :: ( ( ( ( ( (( : Rotterdam : There's nothing left to :: :: ( ( ( (( : The Netherlands : Remove. :: :: : : :: :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
Technical Details
Message-ID:
<1992Nov19.121947.19762@cs.few.eur.nl>Path:
arc1-ca.pugleaf.net!sparky!uunet!mcsun!sun4nl!eur.nl!goossensReferences:
<1992Nov12.180037.62744@slate.mines.colorado.edu>Show Full Headers
Complete Article Headers
Newsgroups: comp.os.msdos.programmer Path: arc1-ca.pugleaf.net!sparky!uunet!mcsun!sun4nl!eur.nl!goossens From: goossens@cs.few.eur.nl (Rogier Goossens) Subject: Re: putting chars back to keyboard buf.. Round 2.. Message-ID: <1992Nov19.121947.19762@cs.few.eur.nl> Sender: news@cs.few.eur.nl Organization: Erasmus Universiteit Rotterdam References: <1992Nov12.180037.62744@slate.mines.colorado.edu> Date: Thu, 19 Nov 1992 12:19:47 GMT Lines: 29