home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 10 Tools
/
10-Tools.zip
/
ddkx86v5.zip
/
DDKX86
/
SRC
/
DEV
/
KBD
/
IBMKBD
/
KBDSTART.ASM
< prev
next >
Wrap
Assembly Source File
|
1995-04-14
|
3KB
|
81 lines
;*DDK*************************************************************************/
;
; COPYRIGHT Copyright (C) 1995 IBM Corporation
;
; The following IBM OS/2 WARP source code is provided to you solely for
; the purpose of assisting you in your development of OS/2 WARP device
; drivers. You may use this code in accordance with the IBM License
; Agreement provided in the IBM Device Driver Source Kit for OS/2. This
; Copyright statement may not be removed.;
;*****************************************************************************/
include devhdr.inc
public _endvariable
Public _KData
;/*-------------------------------------*/
;/* Assembler Helper to order segments */
;/*-------------------------------------*/
DDHeader segment dword public 'DATA'
EVEN
Header LABEL WORD
dd -1
dw DEV_CHAR_DEV + DEV_30 + DEVLEV_3 ; ATTRIBUTE
dw Offset _Strategy ; POINTER TO STRATEGY ROUTINE
dw Offset _IDC_Entry_Point ; POINTER TO PDD-PDD IDC ROUTINE
db "IBMKBD$ " ; DEVICE NAME
dw ? ; SELECTOR OF CS SEGMENT
dw ? ; SELECTOR OF DS SEGMENT
dw ? ; SEGMENT NUMBER OF CS SEGMENT
dw ? ; SEGMENT NUMBER OF DS SEGMENT
dd 0 ; CAPABILITIES BIT STRIP
DDHeader ends
LIBDATA segment dword public 'DATA'
LIBDATA ends
_DATA segment dword public 'DATA'
_DATA ends
CONST segment dword public 'CONST'
CONST ends
_BSS segment dword public 'BSS'
_BSS ends
DATAEND segment dword public 'CONST'
_endvariable dw ?
DATAEND ends
_TEXT segment dword public 'CODE'
assume CS:_TEXT
extrn _Strategy:Near
extrn _IDC_Entry_Point:Near
_TEXT ends
Code segment dword public 'CODE'
Code ends
LIBCODE segment dword public 'CODE'
_KData dw DDHeader
LIBCODE ends
RMCode segment dword public 'CODE'
RMCode ends
DummyCode segment dword public 'CODE'
DummyCode ends
DGROUP group CONST, _BSS, DDHeader, LIBDATA, _DATA, DATAEND
StaticGroup group Code, LIBCODE, _TEXT, RMCode, DummyCode
end