In article "Mouse Driver help" (on 08.12.96), Wayne Fowler@3:623/683 says:
Hello Wayne !!
> Hello everyone. Has anyone got any source or library for PB to detect
> in DOS if there is a mouse driver loaded. . I have some source to use a
> mouse, and it works fine, but I would like to be able to detect if a mouse
> driver is loaded.
! mov ax, &h0000
! int &h33
! mov Mouse%, ax
IF Mouse% = -1 THEN
PRINT "Installed"
ELSE
PRINT "not found"
END IF
> BYE! Wayne
Regards,
----------------
/
/ h o m a s
email : author@pbsound.snafu.de
www : http://www.snafu.de/~pbsound/ (PowerBASIC's Home in Germany)
--- CrossPoint v3.11 R
2:2410/330.1)
---------------
* Origin: PBSOUND, PBFILES (20MB), PBFAQ, PBRULES, PBHIVGA at:
|