Home » Archimedes archive » Acorn User » AU 1998-13 (Christmas).adf » Regulars » StarInfo/Stirling/!MityMouse/!Help

StarInfo/Stirling/!MityMouse/!Help

This website contains an archive of files for the Acorn Electron, BBC Micro, Acorn Archimedes, Commodore 16 and Commodore 64 computers, which Dominic Ford has rescued from his private collection of floppy disks and cassettes.

Some of these files were originally commercial releases in the 1980s and 1990s, but they are now widely available online. I assume that copyright over them is no longer being asserted. If you own the copyright and would like files to be removed, please contact me.

Tape/disk: Home » Archimedes archive » Acorn User » AU 1998-13 (Christmas).adf » Regulars
Filename: StarInfo/Stirling/!MityMouse/!Help
Read OK:
File size: 0A7F bytes
Load address: 0000
Exec address: 0000
File contents
Help file for !MityMouse v1.01 - SUN 16/08/1998

� Michael Stirling


APPLICATION CONTENTS
====================

The !MityMouse application directory should contain the following files:
!Boot
!Help
!Run
!Sprites
MightySrc
MityMouse v1.01
MitySWI

If any are missing, then the application has been tampered with and you should try to get another copy.


GENERAL INFO
============

Double clicking !MityMouse will load the module MityMouse. This swaps the Select and Adjust mouse buttons for users who prefer to use the mouse with their left hand.


The module:

- provides full control over the mouse buttons via the *Buttons command and a SWI. Help text is included.

- can be placed in the boot sequence and does not need the application shell to operate.

- has been tested on an A3000, A3010 & StrongArm Risc PC, but should work on all other Acorn computers, as I have used legal programming methods throughout.
NOTE: I do not know if it will work on the forthcoming Phoebe 2100, as the mouse hardware interface is different.


As a bonus for programmers everywhere, I have made available an internal routine, accessible through SWI "MightyMouse_CmosAccess". This routine can read/write individual bits of any CMOS RAM location while leaving others unchanged.

Full documentation for the SWIs supported by MityMouse are contained in the file MitySWI.

I have included the source code of this module for programmers to have a look at or modify. It is a good example of how to write clear, well designed machine code.

This software is Public Domain and the usual rules apply. In particular, that it is not used for profit and if it is used in a PD or shareware application, that I am given recognition for having written it.


VERSION HISTORY
===============

v1.01

Now works on StrongArm, otherwise functionally identical to v1.00.


v1.00

First version of the best mouse button swapping module. This appeared in Acorn User September 1995 page 84.  


COMMENTS AND SUGGESTIONS
========================

Please feel free to contact me if you have any comments or suggestions about this software. In particular: bug fixes, Phoebe compatibility and future enhancements you would like to see.

My address is:

Michael Stirling
29A Errol Gardens
Hayes
Middx UB4 9EP


DISCLAIMER
==========

I have supplied this sofware in good faith and for free and because I have no control over the way the Software is used, no warranty is given or should be implied as to the suitability for any particular application. No liability can be accepted for any conseqential loss or damage, however caused, arising out of the use of this software.

So, if you have any doubts, check it thoroughly first!
00000000  48 65 6c 70 20 66 69 6c  65 20 66 6f 72 20 21 4d  |Help file for !M|
00000010  69 74 79 4d 6f 75 73 65  20 76 31 2e 30 31 20 2d  |ityMouse v1.01 -|
00000020  20 53 55 4e 20 31 36 2f  30 38 2f 31 39 39 38 0a  | SUN 16/08/1998.|
00000030  0a a9 20 4d 69 63 68 61  65 6c 20 53 74 69 72 6c  |.. Michael Stirl|
00000040  69 6e 67 0a 0a 0a 41 50  50 4c 49 43 41 54 49 4f  |ing...APPLICATIO|
00000050  4e 20 43 4f 4e 54 45 4e  54 53 0a 3d 3d 3d 3d 3d  |N CONTENTS.=====|
00000060  3d 3d 3d 3d 3d 3d 3d 3d  3d 3d 3d 3d 3d 3d 3d 0a  |===============.|
00000070  0a 54 68 65 20 21 4d 69  74 79 4d 6f 75 73 65 20  |.The !MityMouse |
00000080  61 70 70 6c 69 63 61 74  69 6f 6e 20 64 69 72 65  |application dire|
00000090  63 74 6f 72 79 20 73 68  6f 75 6c 64 20 63 6f 6e  |ctory should con|
000000a0  74 61 69 6e 20 74 68 65  20 66 6f 6c 6c 6f 77 69  |tain the followi|
000000b0  6e 67 20 66 69 6c 65 73  3a 0a 21 42 6f 6f 74 0a  |ng files:.!Boot.|
000000c0  21 48 65 6c 70 0a 21 52  75 6e 0a 21 53 70 72 69  |!Help.!Run.!Spri|
000000d0  74 65 73 0a 4d 69 67 68  74 79 53 72 63 0a 4d 69  |tes.MightySrc.Mi|
000000e0  74 79 4d 6f 75 73 65 20  76 31 2e 30 31 0a 4d 69  |tyMouse v1.01.Mi|
000000f0  74 79 53 57 49 0a 0a 49  66 20 61 6e 79 20 61 72  |tySWI..If any ar|
00000100  65 20 6d 69 73 73 69 6e  67 2c 20 74 68 65 6e 20  |e missing, then |
00000110  74 68 65 20 61 70 70 6c  69 63 61 74 69 6f 6e 20  |the application |
00000120  68 61 73 20 62 65 65 6e  20 74 61 6d 70 65 72 65  |has been tampere|
00000130  64 20 77 69 74 68 20 61  6e 64 20 79 6f 75 20 73  |d with and you s|
00000140  68 6f 75 6c 64 20 74 72  79 20 74 6f 20 67 65 74  |hould try to get|
00000150  20 61 6e 6f 74 68 65 72  20 63 6f 70 79 2e 0a 0a  | another copy...|
00000160  0a 47 45 4e 45 52 41 4c  20 49 4e 46 4f 0a 3d 3d  |.GENERAL INFO.==|
00000170  3d 3d 3d 3d 3d 3d 3d 3d  3d 3d 0a 0a 44 6f 75 62  |==========..Doub|
00000180  6c 65 20 63 6c 69 63 6b  69 6e 67 20 21 4d 69 74  |le clicking !Mit|
00000190  79 4d 6f 75 73 65 20 77  69 6c 6c 20 6c 6f 61 64  |yMouse will load|
000001a0  20 74 68 65 20 6d 6f 64  75 6c 65 20 4d 69 74 79  | the module Mity|
000001b0  4d 6f 75 73 65 2e 20 54  68 69 73 20 73 77 61 70  |Mouse. This swap|
000001c0  73 20 74 68 65 20 53 65  6c 65 63 74 20 61 6e 64  |s the Select and|
000001d0  20 41 64 6a 75 73 74 20  6d 6f 75 73 65 20 62 75  | Adjust mouse bu|
000001e0  74 74 6f 6e 73 20 66 6f  72 20 75 73 65 72 73 20  |ttons for users |
000001f0  77 68 6f 20 70 72 65 66  65 72 20 74 6f 20 75 73  |who prefer to us|
00000200  65 20 74 68 65 20 6d 6f  75 73 65 20 77 69 74 68  |e the mouse with|
00000210  20 74 68 65 69 72 20 6c  65 66 74 20 68 61 6e 64  | their left hand|
00000220  2e 0a 0a 0a 54 68 65 20  6d 6f 64 75 6c 65 3a 0a  |....The module:.|
00000230  0a 2d 20 70 72 6f 76 69  64 65 73 20 66 75 6c 6c  |.- provides full|
00000240  20 63 6f 6e 74 72 6f 6c  20 6f 76 65 72 20 74 68  | control over th|
00000250  65 20 6d 6f 75 73 65 20  62 75 74 74 6f 6e 73 20  |e mouse buttons |
00000260  76 69 61 20 74 68 65 20  2a 42 75 74 74 6f 6e 73  |via the *Buttons|
00000270  20 63 6f 6d 6d 61 6e 64  20 61 6e 64 20 61 20 53  | command and a S|
00000280  57 49 2e 20 48 65 6c 70  20 74 65 78 74 20 69 73  |WI. Help text is|
00000290  20 69 6e 63 6c 75 64 65  64 2e 0a 0a 2d 20 63 61  | included...- ca|
000002a0  6e 20 62 65 20 70 6c 61  63 65 64 20 69 6e 20 74  |n be placed in t|
000002b0  68 65 20 62 6f 6f 74 20  73 65 71 75 65 6e 63 65  |he boot sequence|
000002c0  20 61 6e 64 20 64 6f 65  73 20 6e 6f 74 20 6e 65  | and does not ne|
000002d0  65 64 20 74 68 65 20 61  70 70 6c 69 63 61 74 69  |ed the applicati|
000002e0  6f 6e 20 73 68 65 6c 6c  20 74 6f 20 6f 70 65 72  |on shell to oper|
000002f0  61 74 65 2e 0a 0a 2d 20  68 61 73 20 62 65 65 6e  |ate...- has been|
00000300  20 74 65 73 74 65 64 20  6f 6e 20 61 6e 20 41 33  | tested on an A3|
00000310  30 30 30 2c 20 41 33 30  31 30 20 26 20 53 74 72  |000, A3010 & Str|
00000320  6f 6e 67 41 72 6d 20 52  69 73 63 20 50 43 2c 20  |ongArm Risc PC, |
00000330  62 75 74 20 73 68 6f 75  6c 64 20 77 6f 72 6b 20  |but should work |
00000340  6f 6e 20 61 6c 6c 20 6f  74 68 65 72 20 41 63 6f  |on all other Aco|
00000350  72 6e 20 63 6f 6d 70 75  74 65 72 73 2c 20 61 73  |rn computers, as|
00000360  20 49 20 68 61 76 65 20  75 73 65 64 20 6c 65 67  | I have used leg|
00000370  61 6c 20 70 72 6f 67 72  61 6d 6d 69 6e 67 20 6d  |al programming m|
00000380  65 74 68 6f 64 73 20 74  68 72 6f 75 67 68 6f 75  |ethods throughou|
00000390  74 2e 0a 4e 4f 54 45 3a  20 49 20 64 6f 20 6e 6f  |t..NOTE: I do no|
000003a0  74 20 6b 6e 6f 77 20 69  66 20 69 74 20 77 69 6c  |t know if it wil|
000003b0  6c 20 77 6f 72 6b 20 6f  6e 20 74 68 65 20 66 6f  |l work on the fo|
000003c0  72 74 68 63 6f 6d 69 6e  67 20 50 68 6f 65 62 65  |rthcoming Phoebe|
000003d0  20 32 31 30 30 2c 20 61  73 20 74 68 65 20 6d 6f  | 2100, as the mo|
000003e0  75 73 65 20 68 61 72 64  77 61 72 65 20 69 6e 74  |use hardware int|
000003f0  65 72 66 61 63 65 20 69  73 20 64 69 66 66 65 72  |erface is differ|
00000400  65 6e 74 2e 0a 0a 0a 41  73 20 61 20 62 6f 6e 75  |ent....As a bonu|
00000410  73 20 66 6f 72 20 70 72  6f 67 72 61 6d 6d 65 72  |s for programmer|
00000420  73 20 65 76 65 72 79 77  68 65 72 65 2c 20 49 20  |s everywhere, I |
00000430  68 61 76 65 20 6d 61 64  65 20 61 76 61 69 6c 61  |have made availa|
00000440  62 6c 65 20 61 6e 20 69  6e 74 65 72 6e 61 6c 20  |ble an internal |
00000450  72 6f 75 74 69 6e 65 2c  20 61 63 63 65 73 73 69  |routine, accessi|
00000460  62 6c 65 20 74 68 72 6f  75 67 68 20 53 57 49 20  |ble through SWI |
00000470  22 4d 69 67 68 74 79 4d  6f 75 73 65 5f 43 6d 6f  |"MightyMouse_Cmo|
00000480  73 41 63 63 65 73 73 22  2e 20 54 68 69 73 20 72  |sAccess". This r|
00000490  6f 75 74 69 6e 65 20 63  61 6e 20 72 65 61 64 2f  |outine can read/|
000004a0  77 72 69 74 65 20 69 6e  64 69 76 69 64 75 61 6c  |write individual|
000004b0  20 62 69 74 73 20 6f 66  20 61 6e 79 20 43 4d 4f  | bits of any CMO|
000004c0  53 20 52 41 4d 20 6c 6f  63 61 74 69 6f 6e 20 77  |S RAM location w|
000004d0  68 69 6c 65 20 6c 65 61  76 69 6e 67 20 6f 74 68  |hile leaving oth|
000004e0  65 72 73 20 75 6e 63 68  61 6e 67 65 64 2e 0a 0a  |ers unchanged...|
000004f0  46 75 6c 6c 20 64 6f 63  75 6d 65 6e 74 61 74 69  |Full documentati|
00000500  6f 6e 20 66 6f 72 20 74  68 65 20 53 57 49 73 20  |on for the SWIs |
00000510  73 75 70 70 6f 72 74 65  64 20 62 79 20 4d 69 74  |supported by Mit|
00000520  79 4d 6f 75 73 65 20 61  72 65 20 63 6f 6e 74 61  |yMouse are conta|
00000530  69 6e 65 64 20 69 6e 20  74 68 65 20 66 69 6c 65  |ined in the file|
00000540  20 4d 69 74 79 53 57 49  2e 0a 0a 49 20 68 61 76  | MitySWI...I hav|
00000550  65 20 69 6e 63 6c 75 64  65 64 20 74 68 65 20 73  |e included the s|
00000560  6f 75 72 63 65 20 63 6f  64 65 20 6f 66 20 74 68  |ource code of th|
00000570  69 73 20 6d 6f 64 75 6c  65 20 66 6f 72 20 70 72  |is module for pr|
00000580  6f 67 72 61 6d 6d 65 72  73 20 74 6f 20 68 61 76  |ogrammers to hav|
00000590  65 20 61 20 6c 6f 6f 6b  20 61 74 20 6f 72 20 6d  |e a look at or m|
000005a0  6f 64 69 66 79 2e 20 49  74 20 69 73 20 61 20 67  |odify. It is a g|
000005b0  6f 6f 64 20 65 78 61 6d  70 6c 65 20 6f 66 20 68  |ood example of h|
000005c0  6f 77 20 74 6f 20 77 72  69 74 65 20 63 6c 65 61  |ow to write clea|
000005d0  72 2c 20 77 65 6c 6c 20  64 65 73 69 67 6e 65 64  |r, well designed|
000005e0  20 6d 61 63 68 69 6e 65  20 63 6f 64 65 2e 0a 0a  | machine code...|
000005f0  54 68 69 73 20 73 6f 66  74 77 61 72 65 20 69 73  |This software is|
00000600  20 50 75 62 6c 69 63 20  44 6f 6d 61 69 6e 20 61  | Public Domain a|
00000610  6e 64 20 74 68 65 20 75  73 75 61 6c 20 72 75 6c  |nd the usual rul|
00000620  65 73 20 61 70 70 6c 79  2e 20 49 6e 20 70 61 72  |es apply. In par|
00000630  74 69 63 75 6c 61 72 2c  20 74 68 61 74 20 69 74  |ticular, that it|
00000640  20 69 73 20 6e 6f 74 20  75 73 65 64 20 66 6f 72  | is not used for|
00000650  20 70 72 6f 66 69 74 20  61 6e 64 20 69 66 20 69  | profit and if i|
00000660  74 20 69 73 20 75 73 65  64 20 69 6e 20 61 20 50  |t is used in a P|
00000670  44 20 6f 72 20 73 68 61  72 65 77 61 72 65 20 61  |D or shareware a|
00000680  70 70 6c 69 63 61 74 69  6f 6e 2c 20 74 68 61 74  |pplication, that|
00000690  20 49 20 61 6d 20 67 69  76 65 6e 20 72 65 63 6f  | I am given reco|
000006a0  67 6e 69 74 69 6f 6e 20  66 6f 72 20 68 61 76 69  |gnition for havi|
000006b0  6e 67 20 77 72 69 74 74  65 6e 20 69 74 2e 0a 0a  |ng written it...|
000006c0  0a 56 45 52 53 49 4f 4e  20 48 49 53 54 4f 52 59  |.VERSION HISTORY|
000006d0  0a 3d 3d 3d 3d 3d 3d 3d  3d 3d 3d 3d 3d 3d 3d 3d  |.===============|
000006e0  0a 0a 76 31 2e 30 31 0a  0a 4e 6f 77 20 77 6f 72  |..v1.01..Now wor|
000006f0  6b 73 20 6f 6e 20 53 74  72 6f 6e 67 41 72 6d 2c  |ks on StrongArm,|
00000700  20 6f 74 68 65 72 77 69  73 65 20 66 75 6e 63 74  | otherwise funct|
00000710  69 6f 6e 61 6c 6c 79 20  69 64 65 6e 74 69 63 61  |ionally identica|
00000720  6c 20 74 6f 20 76 31 2e  30 30 2e 0a 0a 0a 76 31  |l to v1.00....v1|
00000730  2e 30 30 0a 0a 46 69 72  73 74 20 76 65 72 73 69  |.00..First versi|
00000740  6f 6e 20 6f 66 20 74 68  65 20 62 65 73 74 20 6d  |on of the best m|
00000750  6f 75 73 65 20 62 75 74  74 6f 6e 20 73 77 61 70  |ouse button swap|
00000760  70 69 6e 67 20 6d 6f 64  75 6c 65 2e 20 54 68 69  |ping module. Thi|
00000770  73 20 61 70 70 65 61 72  65 64 20 69 6e 20 41 63  |s appeared in Ac|
00000780  6f 72 6e 20 55 73 65 72  20 53 65 70 74 65 6d 62  |orn User Septemb|
00000790  65 72 20 31 39 39 35 20  70 61 67 65 20 38 34 2e  |er 1995 page 84.|
000007a0  20 20 0a 0a 0a 43 4f 4d  4d 45 4e 54 53 20 41 4e  |  ...COMMENTS AN|
000007b0  44 20 53 55 47 47 45 53  54 49 4f 4e 53 0a 3d 3d  |D SUGGESTIONS.==|
000007c0  3d 3d 3d 3d 3d 3d 3d 3d  3d 3d 3d 3d 3d 3d 3d 3d  |================|
000007d0  3d 3d 3d 3d 3d 3d 0a 0a  50 6c 65 61 73 65 20 66  |======..Please f|
000007e0  65 65 6c 20 66 72 65 65  20 74 6f 20 63 6f 6e 74  |eel free to cont|
000007f0  61 63 74 20 6d 65 20 69  66 20 79 6f 75 20 68 61  |act me if you ha|
00000800  76 65 20 61 6e 79 20 63  6f 6d 6d 65 6e 74 73 20  |ve any comments |
00000810  6f 72 20 73 75 67 67 65  73 74 69 6f 6e 73 20 61  |or suggestions a|
00000820  62 6f 75 74 20 74 68 69  73 20 73 6f 66 74 77 61  |bout this softwa|
00000830  72 65 2e 20 49 6e 20 70  61 72 74 69 63 75 6c 61  |re. In particula|
00000840  72 3a 20 62 75 67 20 66  69 78 65 73 2c 20 50 68  |r: bug fixes, Ph|
00000850  6f 65 62 65 20 63 6f 6d  70 61 74 69 62 69 6c 69  |oebe compatibili|
00000860  74 79 20 61 6e 64 20 66  75 74 75 72 65 20 65 6e  |ty and future en|
00000870  68 61 6e 63 65 6d 65 6e  74 73 20 79 6f 75 20 77  |hancements you w|
00000880  6f 75 6c 64 20 6c 69 6b  65 20 74 6f 20 73 65 65  |ould like to see|
00000890  2e 0a 0a 4d 79 20 61 64  64 72 65 73 73 20 69 73  |...My address is|
000008a0  3a 0a 0a 4d 69 63 68 61  65 6c 20 53 74 69 72 6c  |:..Michael Stirl|
000008b0  69 6e 67 0a 32 39 41 20  45 72 72 6f 6c 20 47 61  |ing.29A Errol Ga|
000008c0  72 64 65 6e 73 0a 48 61  79 65 73 0a 4d 69 64 64  |rdens.Hayes.Midd|
000008d0  78 20 55 42 34 20 39 45  50 0a 0a 0a 44 49 53 43  |x UB4 9EP...DISC|
000008e0  4c 41 49 4d 45 52 0a 3d  3d 3d 3d 3d 3d 3d 3d 3d  |LAIMER.=========|
000008f0  3d 0a 0a 49 20 68 61 76  65 20 73 75 70 70 6c 69  |=..I have suppli|
00000900  65 64 20 74 68 69 73 20  73 6f 66 77 61 72 65 20  |ed this sofware |
00000910  69 6e 20 67 6f 6f 64 20  66 61 69 74 68 20 61 6e  |in good faith an|
00000920  64 20 66 6f 72 20 66 72  65 65 20 61 6e 64 20 62  |d for free and b|
00000930  65 63 61 75 73 65 20 49  20 68 61 76 65 20 6e 6f  |ecause I have no|
00000940  20 63 6f 6e 74 72 6f 6c  20 6f 76 65 72 20 74 68  | control over th|
00000950  65 20 77 61 79 20 74 68  65 20 53 6f 66 74 77 61  |e way the Softwa|
00000960  72 65 20 69 73 20 75 73  65 64 2c 20 6e 6f 20 77  |re is used, no w|
00000970  61 72 72 61 6e 74 79 20  69 73 20 67 69 76 65 6e  |arranty is given|
00000980  20 6f 72 20 73 68 6f 75  6c 64 20 62 65 20 69 6d  | or should be im|
00000990  70 6c 69 65 64 20 61 73  20 74 6f 20 74 68 65 20  |plied as to the |
000009a0  73 75 69 74 61 62 69 6c  69 74 79 20 66 6f 72 20  |suitability for |
000009b0  61 6e 79 20 70 61 72 74  69 63 75 6c 61 72 20 61  |any particular a|
000009c0  70 70 6c 69 63 61 74 69  6f 6e 2e 20 4e 6f 20 6c  |pplication. No l|
000009d0  69 61 62 69 6c 69 74 79  20 63 61 6e 20 62 65 20  |iability can be |
000009e0  61 63 63 65 70 74 65 64  20 66 6f 72 20 61 6e 79  |accepted for any|
000009f0  20 63 6f 6e 73 65 71 65  6e 74 69 61 6c 20 6c 6f  | conseqential lo|
00000a00  73 73 20 6f 72 20 64 61  6d 61 67 65 2c 20 68 6f  |ss or damage, ho|
00000a10  77 65 76 65 72 20 63 61  75 73 65 64 2c 20 61 72  |wever caused, ar|
00000a20  69 73 69 6e 67 20 6f 75  74 20 6f 66 20 74 68 65  |ising out of the|
00000a30  20 75 73 65 20 6f 66 20  74 68 69 73 20 73 6f 66  | use of this sof|
00000a40  74 77 61 72 65 2e 0a 0a  53 6f 2c 20 69 66 20 79  |tware...So, if y|
00000a50  6f 75 20 68 61 76 65 20  61 6e 79 20 64 6f 75 62  |ou have any doub|
00000a60  74 73 2c 20 63 68 65 63  6b 20 69 74 20 74 68 6f  |ts, check it tho|
00000a70  72 6f 75 67 68 6c 79 20  66 69 72 73 74 21 0a     |roughly first!.|
00000a7f