home *** CD-ROM | disk | FTP | other *** search
/ The World of Computer Software / World_Of_Computer_Software-02-385-Vol-1of3.iso / d / dec92.zip / BOGUS.INC < prev    next >
Text File  |  1992-10-14  |  2KB  |  45 lines

  1. ;
  2. ;   Copyright?    Who would *want* to copyright this?
  3. ;
  4. ; This file declares some bogus things.
  5. ;
  6. ;
  7. ;   ***********     ***********     ***********     ***********
  8. ;   * WARNING *     * WARNING *     * WARNING *     * WARNING *
  9. ;   ***********     ***********     ***********     ***********
  10. ;
  11. ;   ************     ************     ************     ************
  12. ;   * ACHTUNG! *     * ACHTUNG! *     * ACHTUNG! *     * ACHTUNG! *
  13. ;   ************     ************     ************     ************
  14. ;
  15. ;   This device ID is bogus and may conflict with existing installed
  16. ;   VxDs.  It is provided as an example only.  In order to receive
  17. ;   a true device ID, you must request one from Microsoft.  Ask a
  18. ;   SysOp in the Windows developers forum (WINSDK) on CompuServe for
  19. ;   more information.
  20. ;
  21. ;   If you actually try to use this in a real VxD, be sure that it will
  22. ;   fail, because somebody else will probably make the same mistake and
  23. ;   your VxD IDs will conflict.
  24. ;
  25. ;   The bogus device here may conflict with actual VxDs or hardware in
  26. ;   your system.  Make sure that the I/O port and IRQ are available.
  27. ;
  28.  
  29. if1
  30. %out <WARNING: BOGOSITY LEVEL EXCEEDED (see bogus.h)>
  31. endif
  32.  
  33. Bogus_Device_ID equ 6061h    ; Bogosity Level = 10.0
  34.  
  35.  
  36. FAKE_PORT   equ 141h        ; Bogosity Level =  9.4
  37. FAKE_IRQ    equ 11        ; Bogosity Level =  9.8
  38.  
  39. FAKE_CTL_START    equ 00000001b    ; bogus port start command (set to zero)
  40. FAKE_CTL_EOI    equ 00000010b    ; bogus port EOI (set to zero)
  41.  
  42. FAKE_STAT_BUSY    equ 00000001b    ; bogus port busy indication (zero=>busy)
  43. FAKE_STAT_IRQ    equ 00000010b    ; bogus port IRQ (zero=>IRQ)
  44. FAKE_STAT_ERROR equ 00000100b    ; I/O error (zero=>error) (cleared on read)
  45.