[boot scriptor] CD Shell 2.0.15b released

Well with all the releasing going on, you'd never suspect that it's finals
week... But it is, and here comes another beta release to keep the trend
rolling. 

This release features a semi-big (and often requested) new feature: mouse
support.  Before anyone gets too excited though, there are a couple of
caveats.  First of all, the mouse cursor is only visible in text mode.  I
don't know when and if I'll get around to adding support for the two
graphics modes, so my advice would be not count on it in the immediate
future.  Secondly, only PS/2 mice are supported.  My system has a USB mouse,
but there's a handy option in the motherboard BIOS which enables PS/2 mouse
emulation.  Hopefully most systems out there can do that as well.  Serial
mice and native USB mice are not supported, and most likely never will be.

So now that the preliminaries are out of the way, I suppose what naturally
follows is how to use the thing.  Well you're going to want to first test
the $mouse variable to see if your mouse is detected and supported.  Then
set $mouseVisible to 1 so you can see the cursor.  From there, there are
several variables you can use to monitor button status and cursor position.
Lastly, but not leastly, there's the new mgetkey command that works the same
as getkey, except that it will fall through on a mouse event (motion or
button activity).  There's a new script in the samples folder called
mouse.scr which shows how to use all this stuff.

Make sure you read up on all the documentation before you get started.  It's
scattered around the website so remember: look for the RED boxes, those are
the ones with beta documentation.  Also a good point of reference is always
the change log.

Have fun!

Oh, and let me know if you find any bugs. :D

Mike

============================================================
Boot Scriptor mailing list -- http://www.bootscriptor.org
Change your subscription options at: http://www.freelists.org/list/bscript

Other related posts: