The following warnings occurred:
Warning [2] Undefined array key "rar" - Line: 4649 - File: inc/functions.php PHP 8.2.31 (Linux)
File Line Function
/inc/class_error.php 157 errorHandler->error
/inc/functions.php 4649 errorHandler->error_callback
/inc/functions_post.php 1034 get_attachment_icon
/printthread.php 207 get_post_attachments
Warning [2] Trying to access array offset on value of type null - Line: 4649 - File: inc/functions.php PHP 8.2.31 (Linux)
File Line Function
/inc/class_error.php 157 errorHandler->error
/inc/functions.php 4649 errorHandler->error_callback
/inc/functions_post.php 1034 get_attachment_icon
/printthread.php 207 get_post_attachments



Boriel Basic Forum
Kempston Mouse driver - Printable Version

+- Boriel Basic Forum (https://forum.boriel.com)
+-- Forum: Compilers and Computer Languages (https://forum.boriel.com/forumdisplay.php?fid=12)
+--- Forum: ZX Basic Compiler (https://forum.boriel.com/forumdisplay.php?fid=11)
+---- Forum: Wishlist (https://forum.boriel.com/forumdisplay.php?fid=14)
+---- Thread: Kempston Mouse driver (/showthread.php?tid=374)



Kempston Mouse driver - oblo - 2011-09-04

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


Re: Kempston Mouse driver - oblo - 2011-09-07

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


Re: Kempston Mouse driver - boriel - 2011-09-07

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?


Re: Kempston Mouse driver - oblo - 2011-09-07

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