kdfnow.asm
资源名称:DOS系统的源代码.rar [点击查看]
上传用户:xiaoan1112
上传日期:2013-04-11
资源大小:19621k
文件大小:29k
源码类别:
操作系统开发
开发平台:
Visual C++
- ;/*
- ; * Microsoft Confidential
- ; * Copyright (C) Microsoft Corporation 1991
- ; * All Rights Reserved.
- ; */
- PAGE ,132
- TITLE MS-DOS 5.0 Keyboard Definition File
- ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
- ;; MS-DOS 5.0 - NLS Support - Keyboard Definition File
- ;;
- ;; This the file header and table pointers ONLY.
- ;; The actual tables are contained in seperate source files.
- ;; These are:
- ;; KDFSP.ASM - Spanish
- ;; KDFPO.ASM - Portuguese
- ;; KDFGR.ASM - German
- ;; KDFIT142.ASM - Italian
- ;; KDFIT.ASM - Italian
- ;; KDFFR189.ASM - French
- ;; KDFFR.ASM - French
- ;; KDFSG.ASM - Swiss German
- ;; KDFSF.ASM - Swiss French
- ;; KDFDK.ASM - Danish
- ;; KDFUK168.ASM - English
- ;; KDFUK.ASM - English
- ;; KDFBE.ASM - Belgium
- ;; KDFNL.ASM - Netherlands
- ;; KDFNO.ASM - Norway
- ;; KDFLA.ASM - Latin American
- ;; KDFSV.ASM - SWEDEN -----> This moddule is used for both Sweden
- ;; and Finland - exact same template
- ;; KDFSU.ASM - Finland -----> Same module as Sweden eliminated
- ;; KDFBR.ASM - Brazil [Mihindu 10/30/90 : added Brazil]
- ;; KDFPL.ASM - Poland [Mihindu 11/30/90 : added Poland]
- ;; KDFCZ.ASM - Czech [Mihindu 11/30/90 : added Czek]
- ;; KDFSL.ASM - Slovak [Mihindu 11/30/90 : added Slovak]
- ;; KDFHU.ASM - Hungary [Mihindu 11/30/90 : added Hungary]
- ;; KDFYU.ASM - Yugoslavia [Mihindu 11/30/90 : added Yugoslavia]
- ;; KDFRO.ASM - Romanian [ 02/24/93 : added Romanian ]
- ;; KDFIC.ASM - Iceland [ 02/24/93 : added Iceland ]
- ;; KDFJP.ASM - JAPAN ;M000 ;JP9002, JP9009
- ;; Dummy US - US
- ;; Linkage Instructions:
- ;; The following instructions are contained in KDFLINK.BAT:
- ;;
- ;; LINK KDF+KDFSP+KDFGE+KDFFR+KDFIT+KDFPO+KDFUK+KDFSG+KDFDK+KDFEOF;
- ;; EXE2BIN KDF.EXE KEYBOARD.SYS
- ;;
- ;; Author: BILL DEVLIN - IBM Canada Laboratory - May 1986
- ;; Author: NICK SAVAGE - IBM Corp. - May 1986,87
- ;;
- ;; DCLove, March 8, 1988 - swapped 437/850 to 850/437 for SG & SF
- ;; DCLove, March 8, 1988 - uncommented SU(finland)& swapped 437/850 to 850/437
- ;; as the Finnish want 850/437 vs. 437/850 for Sweden
- ;; did not alter the pointer to kbid 153 to Sweden
- ;; CNS April 14 1988 - swapped 437/850 to 850/437 for SP & LA
- ;; Kusuda Feb. 1990 - Support Japanese keyboard. ;M000 ;JP9002
- ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
- ;;
- ;;
- CODE SEGMENT PUBLIC 'CODE' ;;
- ASSUME CS:CODE,DS:CODE ;;
- ;;
- ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
- ;;***************************************
- ;; File Header
- ;;***************************************
- ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
- ;;
- DB 0FFh,'KEYB ' ;; signature
- DB 8 DUP(0) ;; reserved
- DW 0460H ;; maximum size of Common Xlat Sect (650)
- DW 01F0H ;; max size of Specific Xlat Sect (350)
- DW 0280H ;; max size of State Logic (400)
- DW 0 ;;AC000;reserved
- ;; Number of IDs and languages incremented [Mihindu 10/30/90 : added Brazil]
- ;; [Mihindu, 11/30/90 : added 5 more for Eastern Europe]
- DW 22 ;;AC000 number of IDs
- DW 23 ;M000 ;;AC000 number of languages
- DB 'GR' ;; LANGUAGE CODE TABLE
- DW OFFSET GE_LANG_ENT,0 ;;
- DB 'SP' ;;
- DW OFFSET SP_LANG_ENT,0 ;;
- DB 'PO' ;;
- DW OFFSET PO_LANG_ENT,0 ;;
- DB 'FR' ;;
- DW OFFSET FR2_LANG_ENT,0 ;;
- DB 'DK' ;;
- DW OFFSET DK_LANG_ENT,0 ;;
- ;;DB 'SG' ;;
- ;;DW OFFSET SG_LANG_ENT,0 ;;
- DB 'IT' ;;
- DW OFFSET IT2_LANG_ENT,0 ;;
- DB 'UK' ;;
- DW OFFSET UK2_LANG_ENT,0 ;;
- ;;DB 'SF' ;;
- ;;DW OFFSET SF_LANG_ENT,0 ;;
- DB 'BE' ;;
- DW OFFSET BE_LANG_ENT,0 ;;
- DB 'NL' ;;
- DW OFFSET NL_LANG_ENT,0 ;;
- DB 'NO' ;;
- DW OFFSET NO_LANG_ENT,0 ;;
- DB 'CF' ;;
- DW OFFSET CF_LANG_ENT,0 ;;
- DB 'SV' ;;
- DW OFFSET SV_LANG_ENT,0 ;;
- DB 'SU' ;;
- DW OFFSET Su_LANG_ENT,0 ;;
- DB 'LA' ;;
- DW OFFSET LA_LANG_ENT,0 ;;
- DB 'BR'
- DW OFFSET BR_LANG_ENT,0 ;; [Mihindu 10/30/90 : added Brazil]
- DB 'PL'
- DW OFFSET PL_LANG_ENT,0 ;; [Mihindu 11/30/90]
- DB 'YU'
- DW OFFSET YU_LANG_ENT,0 ;; [Mihindu 11/30/90]
- DB 'HU'
- DW OFFSET HU_LANG_ENT,0 ;; [Mihindu 11/30/90]
- DB 'RO'
- DW OFFSET RO_LANG_ENT,0 ;;(YST)
- DB 'IS' ;;