Mouse Driver for ImageCraft C
jazzed
Posts: 11,803
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
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
zip
61K
Comments
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Cheers,
Simon
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
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
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
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
Try this:
http://forums.parallax.com/showthread.php?p=623841
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Aka: CosmicBob
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Cheers,
Simon
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