[Contents] [Index] [Help] [Retrace] [Browse <] [Browse >]

The mouse/trackball counter contents can be accessed by reading register
addresses named  JOY0DAT and JOY1DAT .  These registers contain counts for
ports 1 and 2 respectively.

The contents of each of these 16-bit registers are as follows:

   Bits 15-8     Mouse/trackball vertical count
   Bits  7-0     Mouse/trackball horizontal count


[Back to Amiga Developer Docs]