mouse.asm v1.0
==============
Chris Cowley 2003 <ccowley@grok.co.uk>

Kempston Mouse Interface driver for Spectrum BASIC.

This 831 byte machine code utility allows you to add Kempston
mouse support to any Spectrum BASIC program with ease and
simplicity.

To use it:- 

 1. CLEAR 59999 and load the 831 byte code file from mouse.tap 
    into 60000 (LOAD "" CODE 60000).
 2. In your BASIC program, add the following lines:-

	9900 LET btn=USR 60000
        9910 LET x=PEEK 60827
        9920 LEY y=PEEK 60828
        9930 RETURN

 3. Whenever you want to display the mouse from your BASIC
    program, simply use GOSUB 9900. When the subroutine returns
    "btn" will contain the mouse button clicked (2=left, 1=right,
    3=both buttons together), "x" will contain the mouse X
    position on the screen (0 to 255) and "y" will contain the
    mouse Y position (0 to 175). Simple!

You can use this code freely, but I would appreciate a credit!
