SCANCODES 
Author Message
 SCANCODES

## Nachricht vom 06.02.96 weitergeleitet
## Ursprung : /ALT/MSDOS/PROGRAMMER

Hi,

 I need to read the scancodes of the keyboard.
 e.g. Right shift, Left shift, Right CTRL, Left CTRL, ...
 I want to make a new 'READKEY' which gives me the scancode of
 any key pressed on the keyboard.

 TIA ... CA, Andre.

## CrossPoint v3.1 ##



Wed, 18 Jun 1902 08:00:00 GMT  
 SCANCODES

: I need to read the scancodes of the keyboard.
: e.g. Right shift, Left shift, Right CTRL, Left CTRL, ...

You may wish to start by seeing

 93045 Jan 1 09:31 ftp://garbo.uwasa.fi/pc/link/tsfaqp.zip
 tsfaqp.zip Common Turbo Pascal Questions and Timo's answers

and

ftp://garbo.uwasa.fi/pc/ts/tsbase12.zip A programmer's tools base
Filename        Comment                             Date      Time
--------        --------------------------------    ----      ----
BASE.EXE        Convert from one base to another  03-13-93  19:34:14
BC.EXE          Base calculations (+-* and or..)  09-27-92  10:40:56
FILE_ID.DIZ     Brief characterization of TSBASE  09-27-92  09:58:30
SCANCODE.EXE    Get key scan/ascii/status codes   09-27-92  13:44:02 <----
TSBASE.INF      Document (a readme)               03-13-93  19:40:46
TSBASE.NWS      News announcements about tsbase   03-13-93  20:04:14
TSPROG.INF      List of PD programs from T.Salmi  02-04-93  06:33:30
VAASA.INF       Info: Finland, Vaasa, U of Vaasa  08-05-92  11:12:44
----            ------             ------  -----
0008             50128

   All the best, Timo

....................................................................

Moderating at ftp:// & http://garbo.uwasa.fi archives  193.166.120.5
Department of Accounting and Business Finance  ; University of Vaasa



Wed, 18 Jun 1902 08:00:00 GMT  
 SCANCODES

Quote:

>Hi,
>perhaps it was a typo but the keyboard interrupt is  Int 09, not Int 08.
>int 08 is the system timer tick, if you redirect it, your computer will probably
>hang because of memory-refreshs ... (you have to call the old ISR after or before
>your routine)

Yes, of course, sorry (a small shortcoming).

Quote:
> >61h? - don't remember now). This returns the scan code if the key was just
>  ^^  61? I think 60h (???)

Well, you're probably right. As I wrote, I didn't remember the number (and I
don't have the informations with me, because I don't have Internet
connection at home yet).




Wed, 18 Jun 1902 08:00:00 GMT  
 
 [ 3 post ] 

 Relevant Pages 

1. Vk_??? scancodes

2. Keyboard Scancodes

3. Double Scancodes

4. Keyboard Scancodes

 

 
Powered by phpBB® Forum Software