FAQ  •  Register  •  Login

Kempston Mouse driver

<<

oblo

Posts: 60

Joined: Tue Jul 12, 2011 5:23 pm

Post Sun Sep 04, 2011 12:30 pm

Kempston Mouse driver

Hi all

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

Cheers
<<

oblo

Posts: 60

Joined: Tue Jul 12, 2011 5:23 pm

Post Wed Sep 07, 2011 6:45 am

Re: Kempston Mouse driver

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 (http://www.hojamaka.com/game/mamono_sweeper/en.html)

Cheers
Attachments
ZXMouse.rar
(6.86 KiB) Downloaded 72 times
<<

boriel

Site Admin

Posts: 1238

Joined: Wed Nov 01, 2006 6:18 pm

Location: Santa Cruz de Tenerife, Spain

Post Wed Sep 07, 2011 7:13 am

Re: Kempston Mouse driver

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?
<<

oblo

Posts: 60

Joined: Tue Jul 12, 2011 5:23 pm

Post Wed Sep 07, 2011 7:53 am

Re: Kempston Mouse driver

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

Return to Wishlist

Who is online

Users browsing this forum: No registered users and 1 guest

cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by Vjacheslav Trushkin for Free Forums/DivisionCore.

phpBB SEO