XT Scan Codes? 
Author Message
 XT Scan Codes?

Can anybody provide me with a listing of scan codes for the older XT
keyboards? All I can seem to find on the net and elsewhere are scan codes
for enhanced keyboards.

  /-=oOo=--=oOo=--=oOo=--=oOo=--=oOo=--=oOo=--=oOo=--=oOo=--=oOo=--=oOo=-\

  %               http://www.*-*-*.com/ ~kforwood/              $
  $         For what purpose is life, if one cannot live freely?         %
  \-=oOo=--=oOo=--=oOo=--=oOo=--=oOo=--=oOo=--=oOo=--=oOo=--=oOo=--=oOo=-/
        WARNING: Flames and adverti{*filter*}ts sent to my email address
              may result in 20 gigabytes of garbage returned!

___ Blue Wave/QWK v2.20



Wed, 18 Jun 1902 08:00:00 GMT  
 XT Scan Codes?

Quote:

> Can anybody provide me with a listing of scan codes for the older XT
> keyboards? All I can seem to find on the net and elsewhere are scan codes
> for enhanced keyboards.

I have a book on hand that has this information (for both 83- and 84-key
XT keyboards).  If you don't need it immediately, I can get it
presentable and sent out to you after the holidays.  :-)

--
Scott Earnest                      | _,-""-_,-""-_,-""-_,-""-_,-""-_,-"
|

|

|



Wed, 18 Jun 1902 08:00:00 GMT  
 XT Scan Codes?

Quote:

> Can anybody provide me with a listing of scan codes for the older XT
> keyboards? All I can seem to find on the net and elsewhere are scan codes
> for enhanced keyboards.


If you have such a keyboard, you could easily make a list yourself.
Make a little program that displays the scancode when you press a key.
You can use interrupt 16h with AH=0: it waits for a keypress and
returns the scancode in AX.

uses Dos;

function GetCode: word;
  var CPU: Dos.Registers;
begin with CPU do begin AH:= 0; Intr($16,CPU); GetCode:= AX end end;

-----------------------------------------
J.R. Ferguson, Amsterdam, The Netherlands

web: www.xs4all.nl/~ferguson
Freeware for DOS and Windows



Wed, 18 Jun 1902 08:00:00 GMT  
 XT Scan Codes?

I have a list of keyboard codes.
Mail me to gimme a reminder and I'll look it up for you.

--
Greetings,
ASS-Ware.

           ,,,
          (o o)
 -----oOO--(_)--OOo-----
|       ASS-Ware        |
|    is watching you    |
 -----------------------



Quote:

> Can anybody provide me with a listing of scan codes for the older XT
> keyboards? All I can seem to find on the net and elsewhere are scan codes
> for enhanced keyboards.

/-=oOo=--=oOo=--=oOo=--=oOo=--=oOo=--=oOo=--=oOo=--=oOo=--=oOo=--=oOo=-\
Quote:

%
>   %               http://www.*-*-*.com/ ~kforwood/            
$
>   $         For what purpose is life, if one cannot live freely?        
%

\-=oOo=--=oOo=--=oOo=--=oOo=--=oOo=--=oOo=--=oOo=--=oOo=--=oOo=--=oOo=-/
Quote:
>         WARNING: Flames and adverti{*filter*}ts sent to my email address
>               may result in 20 gigabytes of garbage returned!

> ___ Blue Wave/QWK v2.20



Wed, 18 Jun 1902 08:00:00 GMT  
 XT Scan Codes?

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  
 XT Scan Codes?


 In> ftp://garbo.uwasa.fi/pc/ts/tsbase12.zip A programmer's tools base
 In> Filename        Comment                             Date      Time
 In> --------        --------------------------------    ----      ----
 In> SCANCODE.EXE    Get key scan/ascii/status codes   09-27-92  13:44:02

 In> All the best, Timo

Sorry Timo but that doesn't help me, since I don't have an XT keyboard to
retrieve the scan codes from. That's my whole problem...

  /-=oOo=--=oOo=--=oOo=--=oOo=--=oOo=--=oOo=--=oOo=--=oOo=--=oOo=--=oOo=-\

  %               http://www.*-*-*.com/ ~kforwood/              $
  $         For what purpose is life, if one cannot live freely?         %
  \-=oOo=--=oOo=--=oOo=--=oOo=--=oOo=--=oOo=--=oOo=--=oOo=--=oOo=--=oOo=-/
        WARNING: Flames and adverti{*filter*}ts sent to my email address
              may result in 20 gigabytes of garbage returned!

___ Blue Wave/QWK v2.20



Wed, 18 Jun 1902 08:00:00 GMT  
 XT Scan Codes?

Quote:

> [...]

This should be what you're looking for, Kim:

83-Key (PC/XT) Keyboard Key Numbers and Scan Codes

Key     Scan                Key     Scan
Number  Code   Key          Number  Code   Key
--------------------------------------------------------
  1      01    Escape        43      2B    \
  2      02    1             44      2C    Z
  3      03    2             45      2D    X
  4      04    3             46      2E    C
  5      05    4             47      2F    V
  6      06    5             48      30    B
  7      07    6             49      31    N
  8      08    7             50      32    M
  9      09    8             51      33    ,
 10      0A    9             52      34    .
 11      0B    0             53      35    /
 12      0C    -             54      36    Right Shift
 13      0D    =             55      37    *
 14      0E    Backspace     56      38    Alt
 15      0F    Tab           57      39    Space Bar
 16      10    q             58      3A    Caps Lock
 17      11    w             59      3B    F1
 18      12    e             60      3C    F2
 19      13    r             61      3D    F3
 20      14    t             62      3E    F4
 21      15    y             63      3F    F5
 22      16    u             64      40    F6
 23      17    i             65      41    F7
 24      18    o             66      42    F8
 25      19    p             67      43    F9
 26      1A    [             68      44    F10
 27      1B    ]             69      45    Num Lock
 28      1C    Enter         70      46    Scroll Lock
 29      1D    Ctrl          71      47    Keypad 7 (Home)
 30      1E    a             72      48    Keypad 8 (Up Arrow)
 31      1F    s             73      49    Keypad 9 (PgUp)
 32      20    d             74      4A    Keypad -
 33      21    f             75      4B    Keypad 4 (Left Arrow)
 34      22    g             76      4C    Keypad 5
 35      23    h             77      4D    Keypad 6 (Right Arrow)
 36      24    j             78      4E    Keypad +
 37      25    k             79      4F    Keypad 1 (End)
 38      26    l             80      50    Keypad 2 (Down Arrow)
 39      27    ;             81      51    Keypad 3 (PgDn)
 40      28    '             82      52    Keypad 0 (Ins)
 41      29    `             83      53    Keypad . (Del)
 42      2A    Left Shift

--
Scott Earnest                      | _,-""-_,-""-_,-""-_,-""-_,-""-_,-"
|

|

|



Wed, 18 Jun 1902 08:00:00 GMT  
 XT Scan Codes?

: > [...]

: This should be what you're looking for, Kim:

: 83-Key (PC/XT) Keyboard Key Numbers and Scan Codes

Thanks Scott, but I need the combination keypresses too. Can I figure them
out from the list you sent me?

  /-=oOo=--=oOo=--=oOo=--=oOo=--=oOo=--=oOo=--=oOo=--=oOo=--=oOo=--=oOo=-\

  %               http://www.*-*-*.com/ ~kforwood/              $
  $         For what purpose is life, if one cannot live freely?         %
  \-=oOo=--=oOo=--=oOo=--=oOo=--=oOo=--=oOo=--=oOo=--=oOo=--=oOo=--=oOo=-/
        WARNING: Flames and adverti{*filter*}ts sent to my email address
              may result in 20 gigabytes of garbage returned!



Wed, 18 Jun 1902 08:00:00 GMT  
 XT Scan Codes?

Quote:



> : > [...]

> : This should be what you're looking for, Kim:

> : 83-Key (PC/XT) Keyboard Key Numbers and Scan Codes

> Thanks Scott, but I need the combination keypresses too. Can I figure them
> out from the list you sent me?

Combination keypresses?  I'm not sure what it is you mean, so perhaps
you could offer a little more detail regarding what you're looking for?

BTW, if what you're looking for is the character codes returned by
readkey(), they should still all be the same as what's used for a
101-key keyboard.  Other than that, I'm not sure what you're trying to
accomplish.

--
Scott Earnest                      | _,-""-_,-""-_,-""-_,-""-_,-""-_,-"
|

|

|



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

 Relevant Pages 

1. Scan Code Conversion

2. Q: Keyboard Scan Codes as Hex.

3. Scan Code Conversion

4. How do I read extended scan codes?

5. help on keyboard scan codes

6. Scan codes

7. scan codes

8. Keyboard Scan Code Help needed!

9. Help on keyboard scan-code problem

10. Scan a Form

11. Provide Data Entry, OCR & Scanning Services

12. hunt.zip Scan sub/directories + commands, w/TP src

 

 
Powered by phpBB® Forum Software