Date : Tue, 14 Mar 2006 21:50:25 +0000
From : jgh@... (Jonathan Graham Harston)
Subject: Re: Advanced BASIC and Mouse support
Steve Fewell <kranser@...> wrote:
> --- Jonathan Graham Harston <jgh@...> wrote:
> > No, it says that when you INSTALL the mouse driver
> > veneer, it pulls HIMEM down to &A400.
>
> Now that what I was doing wrong! I was loading program
> "amxmice" and then typing PROCamxmice. INSTALLing
> amxmice works! Now PROCamxmice works without error! No
> Bad Command as the Sensitivity, pointer, etc..
> commands are present in my AMX ROM.
Hurrah! Well done!
Admittedly, the manual and the REMs are a bit unclear.
> So does Advanced BASIC always issue this error without
> even trying to use the mouse driver commands (i.e.
> *POINTER, etc...)? I.e. no matter what your setup
> Advanced BASIC will never support mice - maybe this is
> an early version of the Advanced BASIC ROM then?
ABASIC will never support mice /unless/ a running program
redirects the MOUSE command vector.
On startup, ABASIC sets &6E/&6F to the address of the "not
supported" error. All the MOUSE commands in ABASIC set A to
hold a reason code, and then jumps to (&006E).
Any program can change (&006E) to point to some other code.
That is what the mouse veneers do.
> On the weblink you provided, I find ABASIC.ZIP - which
> is exactly the same as the standard version - i.e. not
> patched. Where is the patched version? And what have
> you patched? Have you removed the MOUSE and POINT
> commands from the ABASIC language?
I've patched "amxmice" to comment out the *POINTER, *BUTTONS and
*SENSITIVITY commands. It's at
http://mdfs.net/Software/BBCBasic/BBC/AdvBasic/amxmice
--
J.G.Harston - jgh@... - mdfs.net/User/JGH
RISC OS Choices System - http://mdfs.net/Software/RISCOS