Home » Archimedes archive » Acorn User » AU 1995-12 B.adf » Regulars » C/AcornSWI

C/AcornSWI

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 1995-12 B.adf » Regulars
Filename: C/AcornSWI
Read OK:
File size: 1690 bytes
Load address: 0000
Exec address: 0000
File contents
��������,d����N�������L�0 ���4���������S�����0S���main�
����-��L�V�M�
\�#��M�!��5�/��3�=��1�K��/�P@��
 ��(����������������\��������0��
��<�����D�����0�����[�This program will repeatedly call SWI OS_Mouse, and print out
the coordinates of the mouse and the button state when a mouse
button is pressed. Press the right-hand mouse button to leave
the program.

The mouse coordinates are: x = %d, y = %d
The button value is: %d
CL���������@-���4�����,��P�����
����-��L�x�����[�A����� ����0��@��P��R��a��V�j�`�Fe��h��
�+oh��V�@��Q��0��V���+��C62��C63@-����5��@��P��Y�0�A�Q�0E0������h ��0���������� �� ���0�����`��V�g�`�Fe��h��
�jh��V�����������@����N����� ���������@����@-������h-�^����D��������H`��V�j�`�;�`� �,�H� ��H����������,���,�������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������(����L�P� �$�(�,�
00000000  00 00 a0 e1 00 00 a0 e1  00 00 a0 e1 a7 00 00 eb  |................|
00000010  11 00 00 ef 2c 08 00 00  64 0e 00 00 00 00 00 00  |....,...d.......|
00000020  00 00 00 00 00 00 00 00  00 80 00 00 00 00 00 00  |................|
00000030  1a 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
00000040  00 00 a0 e1 0f c0 4e e0  0c c0 8f e0 0f 00 9c e9  |......N.........|
00000050  10 c0 4c e2 30 20 9c e5  01 0c 12 e3 34 c0 9c 15  |..L.0 ......4...|
00000060  00 c0 8c 00 01 c0 8c e0  00 00 a0 e3 00 00 53 e3  |..............S.|
00000070  0e f0 a0 d1 04 00 8c e4  04 30 53 e2 fb ff ff ea  |.........0S.....|
00000080  6d 61 69 6e 00 00 00 00  08 00 00 ff 0d c0 a0 e1  |main............|
00000090  10 d8 2d e9 04 b0 4c e2  56 cf 4d e2 0a 00 5c e1  |..-...L.V.M...\.|
000000a0  23 01 00 bb 15 de 4d e2  21 0f 8f e2 35 01 00 eb  |#.....M.!...5...|
000000b0  2f 0f 8f e2 33 01 00 eb  3d 0f 8f e2 31 01 00 eb  |/...3...=...1...|
000000c0  4b 0f 8f e2 2f 01 00 eb  50 40 8d e2 0d 20 a0 e1  |K.../...P@... ..|
000000d0  28 10 8d e2 1c 00 a0 e3  e9 00 00 eb 04 e0 a0 e1  |(...............|
000000e0  15 c0 a0 e3 0e 00 b0 e8  0e 00 ae e8 01 c0 5c e2  |..............\.|
000000f0  fb ff ff 1a 08 00 90 e8  08 00 8e e8 08 00 9d e5  |................|
00000100  00 00 30 e3 ef ff ff 0a  06 00 9d e8 3c 0f 8f e2  |..0.........<...|
00000110  1c 01 00 eb 08 10 9d e5  44 0f 8f e2 19 01 00 eb  |........D.......|
00000120  08 00 9d e5 01 00 30 e3  e6 ff ff 1a 00 00 a0 e3  |......0.........|
00000130  10 a8 5b e9 54 68 69 73  20 70 72 6f 67 72 61 6d  |..[.This program|
00000140  20 77 69 6c 6c 20 72 65  70 65 61 74 65 64 6c 79  | will repeatedly|
00000150  20 63 61 6c 6c 20 53 57  49 20 4f 53 5f 4d 6f 75  | call SWI OS_Mou|
00000160  73 65 2c 20 61 6e 64 20  70 72 69 6e 74 20 6f 75  |se, and print ou|
00000170  74 0a 00 00 74 68 65 20  63 6f 6f 72 64 69 6e 61  |t...the coordina|
00000180  74 65 73 20 6f 66 20 74  68 65 20 6d 6f 75 73 65  |tes of the mouse|
00000190  20 61 6e 64 20 74 68 65  20 62 75 74 74 6f 6e 20  | and the button |
000001a0  73 74 61 74 65 20 77 68  65 6e 20 61 20 6d 6f 75  |state when a mou|
000001b0  73 65 0a 00 62 75 74 74  6f 6e 20 69 73 20 70 72  |se..button is pr|
000001c0  65 73 73 65 64 2e 20 50  72 65 73 73 20 74 68 65  |essed. Press the|
000001d0  20 72 69 67 68 74 2d 68  61 6e 64 20 6d 6f 75 73  | right-hand mous|
000001e0  65 20 62 75 74 74 6f 6e  20 74 6f 20 6c 65 61 76  |e button to leav|
000001f0  65 0a 00 00 74 68 65 20  70 72 6f 67 72 61 6d 2e  |e...the program.|
00000200  0a 0a 00 00 54 68 65 20  6d 6f 75 73 65 20 63 6f  |....The mouse co|
00000210  6f 72 64 69 6e 61 74 65  73 20 61 72 65 3a 20 78  |ordinates are: x|
00000220  20 3d 20 25 64 2c 20 79  20 3d 20 25 64 0a 00 00  | = %d, y = %d...|
00000230  54 68 65 20 62 75 74 74  6f 6e 20 76 61 6c 75 65  |The button value|
00000240  20 69 73 3a 20 25 64 0a  00 00 00 00 43 00 00 00  | is: %d.....C...|
00000250  4c 00 9f e5 18 12 1a e5  01 00 80 e0 01 10 a0 e3  |L...............|
00000260  00 10 c0 e5 00 40 2d e9  04 00 8d e2 34 10 9f e5  |.....@-.....4...|
00000270  06 00 91 e9 bd 00 00 eb  2c 00 9f e5 00 00 50 e3  |........,.....P.|
00000280  00 00 8f 12 00 80 fd e8  0d c0 a0 e1 00 d8 2d e9  |..............-.|
00000290  04 b0 4c e2 78 00 00 eb  0c 10 9f e5 b1 00 00 eb  |..L.x...........|
000002a0  00 a8 5b e9 41 89 00 00  04 88 00 00 8c 80 00 00  |..[.A...........|
000002b0  10 00 02 ef 01 20 a0 e1  90 11 9f e5 00 30 e0 e3  |..... .......0..|
000002c0  00 40 a0 e3 00 50 e0 e3  52 0f 8f e2 80 61 9f e5  |.@...P..R....a..|
000002d0  00 00 56 e3 01 6a a0 03  00 60 96 15 46 65 a0 e1  |..V..j...`..Fe..|
000002e0  06 68 a0 e1 81 06 0a ef  2b 00 00 6f 06 68 a0 e1  |.h......+..o.h..|
000002f0  06 08 56 e3 00 40 a0 a1  51 0f 8f a2 00 30 a0 a3  |..V..@..Q....0..|
00000300  56 00 00 aa 08 00 8f e2  2b 00 00 ef 90 0e 80 00  |V.......+.......|
00000310  43 36 32 00 91 0e 80 00  43 36 33 00 00 40 2d e9  |C62.....C63..@-.|
00000320  00 90 a0 e1 35 df ff eb  00 40 a0 e3 00 50 e0 e3  |....5....@...P..|
00000330  00 00 59 e3 0c 30 a0 03  18 41 9f 15 0c 51 9f 15  |..Y..0...A...Q..|
00000340  04 30 45 10 0c 30 83 12  06 00 a0 e3 1e 00 02 ef  |.0E..0..........|
00000350  00 80 bd 68 00 20 8c e5  00 30 82 e5 0c 90 a0 e1  |...h. ...0......|
00000360  00 c0 9c e5 0c 10 8c e2  00 20 9c e5 01 20 82 e0  |......... ... ..|
00000370  e4 30 9f e5 9c 00 8f e2  d4 60 9f e5 00 00 56 e3  |.0.......`....V.|
00000380  01 67 a0 03 00 60 96 15  46 65 a0 e1 06 68 b0 e1  |.g...`..Fe...h..|
00000390  82 06 0a ef 08 00 00 6a  06 68 a0 e1 06 08 56 e3  |.......j.h....V.|
000003a0  d7 ff ff ba 14 80 81 e2  80 01 98 e8 80 01 8c e9  |................|
000003b0  00 40 a0 e1 88 00 8f e2  4e 00 00 ea 00 10 a0 e1  |.@......N.......|
000003c0  07 00 a0 e3 0c 20 a0 e1  1e 00 02 ef 00 00 a0 e3  |..... ..........|
000003d0  00 00 89 e5 01 00 a0 e1  00 40 bd e8 01 f2 9e e3  |.........@......|
000003e0  00 40 2d e9 cc ff ff eb  00 80 bd 68 00 02 2d e9  |.@-........h..-.|
000003f0  5e 00 00 eb 01 80 fd e8  44 00 8f e2 0c 80 a0 e1  |^.......D.......|
00000400  00 c0 e0 e3 48 60 9f e5  00 00 56 e3 01 6a a0 03  |....H`....V..j..|
00000410  00 60 96 15 3b 00 00 ea  01 00 00 00 60 84 00 00  |.`..;.......`...|
00000420  20 85 00 00 2c 88 00 00  48 8b 00 00 02 00 00 00  | ...,...H.......|
00000430  20 85 00 00 04 88 00 00  48 8b 00 00 90 96 00 00  | .......H.......|
00000440  ff ff ff ff 80 80 00 00  04 88 00 00 2c 88 00 00  |............,...|
00000450  90 96 00 00 00 00 00 00  2c 88 00 00 90 96 00 00  |........,.......|
00000460  00 f0 a0 e3 00 f0 a0 e3  00 f0 a0 e3 00 f0 a0 e3  |................|
*
00000800  00 f0 a0 e3 28 00 00 00  80 80 00 00 b0 82 00 00  |....(...........|
00000810  4c 82 00 00 50 82 00 00  00 00 00 00 20 85 00 00  |L...P....... ...|
00000820  24 85 00 00 28 85 00 00  2c 85 00 00 00 00 00 00  |$...(...,.......|
00000830  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
*
00001690