home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 10 Tools
/
10-Tools.zip
/
lxapi32.zip
/
SKELETON
/
Dev32
/
header.asm
< prev
next >
Wrap
Assembly Source File
|
2002-04-26
|
5KB
|
88 lines
; $Id: header.asm,v 1.2 2002/04/26 23:09:38 smilcke Exp $
;
; header.asm
; Autor: Stefan Milcke
; Erstellt am: 27.03.2002
; Letzte Aenderung am: 02.04.2002
;
.386p
include seg32.inc
DATA16 segment
public help_header
public device_header
extrn help_stub_strategy : near
extrn device_stub_strategy : near
extrn device_stub_idc : near
;*********************************************************************************************
;************************* Device Driver Header **********************************************
;*********************************************************************************************
;DEZE MOET ALS EERSTE blijven staan!!!!
help_header dw (OFFSET DATA16:device_header) ; Pointer to next device header
dw SEG DATA16:device_header
dw 1000100110000000b ; Device attributes
; ||||| +-+ ||||
; ||||| | | |||+------------------ STDIN
; ||||| | | ||+------------------- STDOUT
; ||||| | | |+-------------------- NULL
; ||||| | | +--------------------- CLOCK
; ||||| | |
; ||||| | +------------------------+ (001) OS/2
; ||||| | | (010) DosDevIOCtl2 + SHUTDOWN
; ||||| +--------------------------+ (011) Capability bit strip
; |||||
; ||||+----------------------------- OPEN/CLOSE (char) or Removable (blk)
; |||+------------------------------ Sharing support
; ||+------------------------------- IBM
; |+-------------------------------- IDC entry point
; +--------------------------------- char/block device driver
dw (offset CODE16:help_stub_strategy) ; Strategy routine entry point
dw 0 ; IDC routine entry point
db 'SK32HLP$ ' ; Device name
db 8 dup (0) ; Reserved
dw 0000000000010011b ; Level 3 device driver capabilities
; |||||
; ||||+------------------ DosDevIOCtl2 + Shutdown
; |||+------------------- More than 16 MB support
; ||+-------------------- Parallel port driver
; |+--------------------- Adapter device driver
; +---------------------- InitComplete
dw 0000000000000000b
device_header dd -1
dw 1101100110000000b ; Device attributes
; ||||| +-+ ||||
; ||||| | | |||+------------------ STDIN
; ||||| | | ||+------------------- STDOUT
; ||||| | | |+-------------------- NULL
; ||||| | | +--------------------- CLOCK
; ||||| | |
; ||||| | +------------------------+ (001) OS/2
; ||||| | | (010) DosDevIOCtl2 + SHUTDOWN
; ||||| +--------------------------+ (011) Capability bit strip
; |||||
; ||||+----------------------------- OPEN/CLOSE (char) or Removable (blk)
; |||+------------------------------ Sharing support
; ||+------------------------------- IBM
; |+-------------------------------- IDC entry point
; +--------------------------------- char/block device driver
dw (offset CODE16:device_stub_strategy); Strategy routine entry point
dw (offset CODE16:device_stub_idc) ; IDC routine entry point
db 'SK32$ ' ; Device name
db 8 dup (0) ; Reserved
dw 0000000000010011b ; Level 3 device driver capabilities
; |||||
; ||||+------------------ DosDevIOCtl2 + Shutdown
; |||+------------------- More than 16 MB support
; ||+-------------------- Parallel port driver
; |+--------------------- Adapter device driver
; +---------------------- InitComplete
dw 0000000000000000b
DATA16 ends
end