Difference between revisions of "Kempston Mouse"

From CPCWiki - THE Amstrad CPC encyclopedia!
Jump to: navigation, search
(Technical)
Line 3: Line 3:
 
== Technical ==
 
== Technical ==
  
Uses I/O ports:  
+
Position:
[[I/O_Port_Summary|#FBEE]]
+
Port FBEEh READ: Kempston Mouse 8 bit X position
[[I/O_Port_Summary|#FBEF]]
+
Port FBEFh READ: Kempston Mouse 8 bit Y position
[[I/O_Port_Summary|#FAEF]]
+
Note: The position values aren't reset after reading.
 +
To calculated the distance since last read:
 +
  dist=new-old, old=new
 +
whereas,
 +
  dist=00h : no move
 +
  dist=+01h..+7Fh moved right/up
 +
  dist=-01h..-80h moved left/down
  
Port FBEEh READ:
+
Buttons:
  8 bit X movement
+
  Port FAEFh READ: Kempston Mouse Buttons
 
+
Port FBFEh READ:
+
8 bit Y movement
+
 
+
Port FAEFh READ:
+
 
  bit 0: Left Button (active low)
 
  bit 0: Left Button (active low)
 
  bit 1: Right Button (active low)
 
  bit 1: Right Button (active low)

Revision as of 11:58, 3 April 2010

This mouse is supported by The Advanced OCP Art Studio.

Technical

Position:

Port FBEEh READ: Kempston Mouse 8 bit X position
Port FBEFh READ: Kempston Mouse 8 bit Y position
Note: The position values aren't reset after reading.
To calculated the distance since last read:
  dist=new-old, old=new
whereas,
  dist=00h : no move
  dist=+01h..+7Fh moved right/up
  dist=-01h..-80h moved left/down

Buttons:

Port FAEFh READ: Kempston Mouse Buttons
bit 0: Left Button (active low)
bit 1: Right Button (active low)
bit 2..7: unknown

Review (German)

From an article about the "Amstrad Consumer Show" in german magazine "Happy Computer 12/1986":

  • "Bewundern Sie auch die Maussteuerung eines Atari ST oder eines Schneider PC? Bei Kempston gibt es für 69,95 Pfund auch für Ihren CPC oder Joyce so eine komfortable Benutzeroberfläche. Die Maus entspricht dabei völlig dem Standard mit zwei unabhängigen Tasten. Das mitgelieferte Desktop-Programm braucht sich vor den Brüdern auf 16-Bit-Computern nicht zu verstecken."