home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The C Users' Group Library 1994 August
/
wc-cdrom-cusersgrouplibrary-1994-08.iso
/
listings
/
v_10_12
/
bogus.inc
< prev
next >
Wrap
Text File
|
1992-10-14
|
2KB
|
45 lines
;
; Copyright? Who would *want* to copyright this?
;
; This file declares some bogus things.
;
;
; *********** *********** *********** ***********
; * WARNING * * WARNING * * WARNING * * WARNING *
; *********** *********** *********** ***********
;
; ************ ************ ************ ************
; * ACHTUNG! * * ACHTUNG! * * ACHTUNG! * * ACHTUNG! *
; ************ ************ ************ ************
;
; This device ID is bogus and may conflict with existing installed
; VxDs. It is provided as an example only. In order to receive
; a true device ID, you must request one from Microsoft. Ask a
; SysOp in the Windows developers forum (WINSDK) on CompuServe for
; more information.
;
; If you actually try to use this in a real VxD, be sure that it will
; fail, because somebody else will probably make the same mistake and
; your VxD IDs will conflict.
;
; The bogus device here may conflict with actual VxDs or hardware in
; your system. Make sure that the I/O port and IRQ are available.
;
if1
%out <WARNING: BOGOSITY LEVEL EXCEEDED (see bogus.h)>
endif
Bogus_Device_ID equ 6061h ; Bogosity Level = 10.0
FAKE_PORT equ 141h ; Bogosity Level = 9.4
FAKE_IRQ equ 11 ; Bogosity Level = 9.8
FAKE_CTL_START equ 00000001b ; bogus port start command (set to zero)
FAKE_CTL_EOI equ 00000010b ; bogus port EOI (set to zero)
FAKE_STAT_BUSY equ 00000001b ; bogus port busy indication (zero=>busy)
FAKE_STAT_IRQ equ 00000010b ; bogus port IRQ (zero=>IRQ)
FAKE_STAT_ERROR equ 00000100b ; I/O error (zero=>error) (cleared on read)