🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.ibm.pc.programmer
Article #338

Swaping Caps lock with Ctrl key

#338
From: Ling Tony Chen
Date: Fri, 13 Apr 1990 19:06
27 lines
1568 bytes
I have an AT clone with a 101 key keyboard, and I'm sick and tired of
the position of the Caps lock key. It's where the ctrl key ought to be.

There's a public domain program KBDR.COM thats suppose to swap these
two keys, but for some reason that program won't work on my keyboard.

Now I've turned to trying to write TSR by myself, and I've been tracing
the BIOS to find out where it handles the Caps lock key.
I can now easily write a program to swap the alpha numeric keys, but
the Caps lock key is a bit more trickier, and I can't figure out how
to handle it.

If there is anybody that has working version of a small TSR that can swap
the Caps lock key with the lower left ctrl key, I would appreciate it if
you could send me a copy.
Otherwise, I would appreciate any comments on how to do it. In particular
I would like to know
(1) what interupt I should intercept.
(2) what the 2 scan codes are for those 2 keys.
(3) How do I store and retrieve those scan codes so that I can swap them.

Thanks in advance.

Tony Chen     chen@alv.umd.edu
--
Ling (Tony) Chen
chen@alv.umd.edu
Technical Details
Message-ID: <23720@mimsy.umd.edu>
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!samsung!zaphod.mps.ohio-state.edu!ncar!tank!mimsy!umiacs.umd.edu!chen

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!samsung!zaphod.mps.ohio-state.edu!ncar!tank!mimsy!umiacs.umd.edu!chen
From: chen@umiacs.umd.edu (Ling Tony Chen)
Newsgroups: comp.sys.ibm.pc.programmer
Subject: Swaping Caps lock with Ctrl key
Message-ID: <23720@mimsy.umd.edu>
Date: 13 Apr 90 19:06:38 GMT
Sender: news@mimsy.umd.edu
Reply-To: chen@umiacs.umd.edu (Ling Tony Chen)
Distribution: na
Organization: UMIACS, Univ. of Maryland, College Park, MD 20742
Lines: 27