Date : Mon, 17 Sep 2007 13:03:03 +0100
From : jgh@... (Jonathan Graham Harston)
Subject: AMX mouse on a Master
>Message-ID: <000401c7f856$1a32a0f0$4101a8c0@...>
"David Harper" <dl.harper@...> wrote:
> Sprow wrote:
> > Does anyone know if there's a special Master version of the AMX mouse
> > driver (AMX art et al)? The BBC B ROM doesn't seem to do much.
I taught using a suite of Masters with AMX ART and meeces back in
summer 1988 at Camp Beaumount.
> A mouse-based program that has not been written with the Master in mind will
Pointer-based program, not mouse-based. The mouse has nothing to
do with the screen, it is just an input device that supplies
position coordinates. I've been using mouses on Masters since
1988.
There's a mouse driver at http://mdfs.net/Info/Comp/BBC/Mouse
OSCLI"MOUSE ON":REPEAT:PRINT ADVAL(7),ADVAL(8);CHR$11:UNTIL FALSE
will continuously display the mouse position. It's up to the
programmer to decide what to do with that data.
Additionally, just recently I've been playing around with all
that juicy spare space at the end of the DFS ROM in the Master
MOS ROM. It's plenty of space for a mouse driver. Patched ROMs
with DFS 2.24 and DFS 2.29 are at the above page.
I have lots of programs that are mouse controllable on BBCs and
Masters, including DefChar at http://mdfs.net/Apps/Font and
various others.
The VideoDisk Filing System ROM at
http://mdfs.net/System/Rom/Filing/Video includes both a mouse
driver and a pointer driver. *MOUSE ON followed by *POINTER ON
enables an on-screen pointer that follows the mouse position.
I've just tested the AMX Mouse Support ROM v3.61 at
http://mdfs.net/System/Rom/Pointer/AMXMSE361 and it works happily
on a BBC Master in shadow and non-shadow modes. It has a pointer
driver, but it is nonindependant, you have to keep updating it
with, eg: REPEAT:OSCLI"SHOWPOINTER":UNTIL FALSE
--
J.G.Harston - jgh@... - mdfs.net/User/JGH
BBC BASIC for Windows and Internationalisation
See http://mdfs.net/Software/BBCBasic/Windows/ProgTips