home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.os.msdos.programmer
- Path: sparky!uunet!mcsun!sunic!ugle.unit.no!DAHLS@FHYDRA.FYSEL.UNIT.NO
- From: dahls@fhydra.dnet.unit.no (Joern Yngve Dahl-Stamnes)
- Subject: Re: putting chars back to keyboard buffer...
- Message-ID: <00963E3F.C2CEE880@FHYDRA.FYSEL.UNIT.NO>
- Sender: news@ugle.unit.no (NetNews Administrator)
- Reply-To: dahls@fhydra.dnet.unit.no (Joern Yngve Dahl-Stamnes)
- Organization: University of Trondheim, NORWAY
- References: <1992Nov10.204616.25750@slate.mines.colorado.edu> <lb00197.11@Corlac>,<1992Nov19.105503.12401@cs.few.eur.nl>
- Date: Fri, 20 Nov 92 09:36:47 EST
- Lines: 29
-
- Thus spoke the keyboard of goossens@cs.few.eur.nl (Rogier Goossens):
- >Relocating and expanding the keyboard buffer is, under certain circumstances,
- >not that difficult at all.
- >As the four pointers in the bios data area are near pointers, relative to
- >segment 0x0040, the keyboard buffer must be located between the addresses
- >0040:0000 and 1040:0000 (hex). If DOS ends at a segment address lower than
- >0x1040, the remaining memory can be used to relocate the keyboard buffer.
- >It suffices to allocate the memory, and set the four bios keyboard buffer
- >pointers to point to it. A 64-byte program could do it.
- >
- >If you possess DOS 5.0, and it is loaded high, there certainly is enough
- >memory. When DOS is not loaded high, there probably isn't.
- >
- >I have written a small (2k) assembly program to relocate the keyboard buffer.
- >It can also resize it on request. It could easily be modified to insert
- >characters into the buffer.
- >
- >I can post it (binary and/or source) to this (or another) group if enough
- >people are interested. (it's about 15 pages uncompressed + 2k binary)
-
- Yes please!
-
- +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+--+-+-+-+-+-+-+-+
- * I went back to my mother, * Joern Yngve Dahl-Stamnes *
- * I said, "I'm crazy ma, help me!" * University of Trondheim *
- * She said, "I know how it feels son, * The Norwegian Institute of Tech. *
- * 'cause it runs in the family." * Division of Physical Electronics *
- * - The Who, Quadrophenia * e-mail: dahl-stamnes@delab.sintef.no *
- +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+--+-+-+-+-+-+-+-+
-