Category : OS/2 Files
Archive   : CLIP11B.ZIP
Filename : PATCH

 
Output of file : PATCH contained in archive : CLIP11B.ZIP
Instructions for patching Clip 1.1 (viz CLIP11.ZIP) to use a different
hotkey for capturing the OS/2 PM desktop. Requires a modicum of computer
literacy.
Denis Gilbert
Dynalink Technologies
March 29, 1990

CLIPLIB.DLL:
~~~~~~~~~~~~
A: F646F602 TEST Byte Ptr [FLAG],02 ;KC_VIRTUALKEY
B: 7429 JZ 0302
C: F646F640 TEST Byte Ptr [FLAG],40 ;AND KC_KEYUP
E: 7423 JZ 0302
F: F646F638 TEST Byte Ptr [FLAG],38 ;AND NOT( KC_ALT | KC_CTRL | KC_SHIFT )
G: 751D JNZ 0302
H: 837EF819 CMP Word Ptr [VKEY],19 ;AND VK_PRINTSCRN
I: 7517 JNZ 0302

"KC_" FLAG DEFINITIONS FOR LINES #A, #C, #F:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
KC_CHAR =01H KC_CTRL =10H
KC_VIRTUALKEY=02H KC_ALT =20H
KC_SCANCODE =04H KC_KEYUP =40H
KC_SHIFT =08H KC_PREVDOWN=80H

"VK_" VIRTUAL KEY VALUES FOR LINE #H:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
VK_BREAK =04H VK_ALTGRAF =0CH VK_HOME =14H VK_SCRLLOCK=1CH VK_F5 =24H
VK_BACKSPACE=05H VK_PAUSE =0DH VK_LEFT =15H VK_NUMLOCK =1DH VK_F6 =25H
VK_TAB =06H VK_CAPSLOCK=0EH VK_UP =16H VK_ENTER =1EH VK_F7 =26H
VK_BACKTAB =07H VK_ESC =0FH VK_RIGHT =17H VK_SYSRQ =1FH VK_F8 =27H
VK_NEWLINE =08H VK_SPACE =10H VK_DOWN =18H VK_F1 =20H VK_F9 =28H
VK_SHIFT =09H VK_PAGEUP =11H VK_PRINTSCRN=19H VK_F2 =21H VK_F10=29H
VK_CTRL =0AH VK_PAGEDOWN=12H VK_INSERT =1AH VK_F3 =22H VK_F11=2AH
VK_ALT =0BH VK_END =13H VK_DELETE =1BH VK_F4 =23H VK_F12=2BH

EXAMPLES:
~~~~~~~~~
1. To use as hotkey on Toshiba laptop:

Search (using DOS program) CLIPLIB.DLL for:
F6 46 F6 38 ; TEST Byte Ptr [BP-0A], KC_SHIFT | KC_ALT | KC_CTRL

and change to:
F6 46 F6 30 ; TEST Byte Ptr [BP-0A], KC_ALT | KC_CTRL

2. To use instead of as the hotkey:

Search CLIPLIB.DLL for:
83 7E F8 19 ; CMP Word Ptr [BP-08], VK_PRINTSCRN

and change to:
83 7E F8 2B ; CMP Word Ptr [BP-08], VK_F12




  3 Responses to “Category : OS/2 Files
Archive   : CLIP11B.ZIP
Filename : PATCH

  1. Very nice! Thank you for this wonderful archive. I wonder why I found it only now. Long live the BBS file archives!

  2. This is so awesome! 😀 I’d be cool if you could download an entire archive of this at once, though.

  3. But one thing that puzzles me is the “mtswslnkmcjklsdlsbdmMICROSOFT” string. There is an article about it here. It is definitely worth a read: http://www.os2museum.com/wp/mtswslnk/