PDA

View Full Version : Mouse Driver for ImageCraft C



jazzed
05-10-2008, 03:10 AM
Attached find a mouse driver based on the mouse.spin module native PASM for use with imagecraft C.
Today it depends on the VGA_Text library being present; common functions will be separated later.
Delta and Bounds functions are not implemented since they would render driver non-reentrant in C;
such functions and other enhancements are left as an execise for the user.

▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
jazzed

simonl
05-10-2008, 03:42 AM
Hey jazzed - you workin' on a C version of the combined keyboard/mouse object too?

▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Cheers,

Simon
-------------------------------
www.norfolkhelicopterclub.co.uk (http://www.norfolkhelicopterclub.co.uk)
You'll always have as many take-offs as landings, the trick is to be sure you can take-off again ;-)
BTW: I type as I'm thinking, so please don't take any offense at my writing style http://forums.parallax.com/images/smilies/smile.gif

jazzed
05-10-2008, 04:37 AM
Not today. My wife will kill me if I don't replace that disposal before dark :)
If there is an existing .spin keyboard/mouse module using PASM, it would be cake.
Not having to use another COG is a useful idea.

My most immediate device driver need is VGA tile graphics; should be easier with Beta2.
Of course all progress stops in a day or two without my ICC liscense ....

▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
jazzed

simonl
05-10-2008, 05:52 AM
LOL - I guess the disposal ought to come first then!

You know, I could've sworn there was already a combined driver - can't find it on obex though :-( Maybe it was one Ale did for PropTerminal - I'll have a trawl...

▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Cheers,

Simon
-------------------------------
www.norfolkhelicopterclub.co.uk (http://www.norfolkhelicopterclub.co.uk)
You'll always have as many take-offs as landings, the trick is to be sure you can take-off again ;-)
BTW: I type as I'm thinking, so please don't take any offense at my writing style http://forums.parallax.com/images/smilies/smile.gif

Rayman
05-10-2008, 07:52 PM
There is a combined driver somewhere here...

Bob Lawrence (VE1RLL)
05-10-2008, 08:08 PM
Rayman said...
There is a combined driver somewhere here...


Try this:

http://forums.parallax.com/showthread.php?p=623841

▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Aka: CosmicBob

simonl
05-10-2008, 08:47 PM
Well done Bob - that's the one http://forums.parallax.com/images/smilies/smile.gif

▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Cheers,

Simon
-------------------------------
www.norfolkhelicopterclub.co.uk (http://www.norfolkhelicopterclub.co.uk)
You'll always have as many take-offs as landings, the trick is to be sure you can take-off again ;-)
BTW: I type as I'm thinking, so please don't take any offense at my writing style http://forums.parallax.com/images/smilies/smile.gif