🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.msdos.programmer
Article #4484

Reading MS Serial Mouse Directly. How?

#4484
From: david lu
Date: Fri, 01 Feb 1991 21:53
23 lines
1618 bytes
Here at UCR we are in the process of revamping a CS hardware
class.  One of the labs that we thought would be fun to do is
to have the students write an assembly program that reads the
mouse directly from the serial port, bypassing the device
drivers.  So ... does anyone know Microsoft's encoding scheme
for their serial mouse?  This information is not in the docs.

Also, what are the parameters of the serial port?  Baud rate?
Stop bits?  Parity bits?  If someone can at least provide the
parameters, I suppose that I can write some code to read from
the port, and try to figure out the return codes myself.  But
if anyone already has that information already available, I'd
be _very_ grateful if you could let me know.

I guess that I can always try looking at MS's device drivers
with DEBUG, but I'd rather not do that ... :-)

Thank you for any help you can provide.

---==lulu@ucrmath==---  just another bewildered college student.
David T Lu, Amateur Thinker: lulu@ucrmath.ucr.edu, {ucsd, uci}!ucrmath!lulu
"I seem to be having tremendous difficulty with my lifestyle."
					- Arthur Dent, Hitchhiker's
Technical Details
Message-ID: <11609@ucrmath.ucr.edu>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!cs.utexas.edu!sdd.hp.com!zaphod.mps.ohio-state.edu!pacific.mps.ohio-state.edu!linac!att!pacbell.com!ucsd!ucrmath!lulu

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!cs.utexas.edu!sdd.hp.com!zaphod.mps.ohio-state.edu!pacific.mps.ohio-state.edu!linac!att!pacbell.com!ucsd!ucrmath!lulu
From: lulu@ucrmath.ucr.edu (david lu)
Newsgroups: comp.os.msdos.programmer,alt.msdos.programmer
Subject: Reading MS Serial Mouse Directly.  How?
Message-ID: <11609@ucrmath.ucr.edu>
Date: 1 Feb 91 21:53:57 GMT
Sender: news@ucrmath.ucr.edu
Followup-To: comp.os.msdos.programmer
Organization: University of California, Riverside
Lines: 23