Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Kempston Mouse driver
#1
Hi all

Boriel, how about to integrate this (<!-- m --><a class="postlink" href="http://www.worldofspectrum.org/infoseekid.cgi?id=0014620">http://www.worldofspectrum.org/infoseek ... id=0014620</a><!-- m -->) as a library?) Chris said that "You can use this code freely, but I would appreciate a credit!"

Cheers
Reply
#2
Well, here is a PoC about using Chris driver in ZX Basic. I can't include the ASM code (the compiler gave me errors) so I use the compiled code directly. The PoC is a MamonoSweeper clone (<!-- m --><a class="postlink" href="http://www.hojamaka.com/game/mamono_sweeper/en.html">http://www.hojamaka.com/game/mamono_sweeper/en.html</a><!-- m -->)

Cheers


Attached Files
.rar   ZXMouse.rar (Size: 6.86 KB / Downloads: 256)
Reply
#3
I will try later. Using Kempston joystick should be pretty strightforward. A simple function could be done IMHO with few INs intructions. Do we really need a "driver" :?: Perhaps this routine adds more high-level logic?
Reply
#4
boriel Wrote:I will try later. Using Kempston joystick should be pretty strightforward. A simple function could be done IMHO with few INs intructions. Do we really need a "driver" :?: Perhaps this routine adds more high-level logic?

It's not Kempston Joystick, it's Kempston Mouse ;-) And yes, Kempston can be read using only INs but Chri's driver adds a pointer that works pretty good. You can see later when you try the PoC :-)

Cheers
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)