Home » CEEFAX disks » telesoftware11.adl » 07-01-88/SWTEST

07-01-88/SWTEST

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 » CEEFAX disks » telesoftware11.adl
Filename: 07-01-88/SWTEST
Read OK:
File size: 021C bytes
Load address: FFFF1900
Exec address: FFFF8023
File contents
   10REM> SWTEST
   20MODE7
   30mouse$=CHR$141+CHR$132+CHR$157+CHR$131+"SWR Mouse coords via ADVAL(0-4)   "+CHR$156
   40PRINTTAB(0,5)mouse$
   50PRINTTAB(0,6)mouse$
   60ONERROR VDU23,1,1;0;0;0;31,0,23:END
   70VDU23,1,0;0;0;0;
   80REPEAT
   90adval=ADVAL(0)AND3
  100PRINTTAB(10,11)"ADVAL(0)AND3 = ";adval
  110IF adval=2 PRINTTAB(22,15)"Right" ELSE PRINTTAB(22,15)"     "
  120IF adval=3  PRINTTAB(16,15)"Both" ELSE PRINTTAB(16,15)"    "
  130IF adval=1 PRINTTAB(10,15)"Left" ELSE PRINTTAB(10,15)"    "
  140PRINTTAB(2,20)"ADVAL(1) = ";ADVAL(1);"    "TAB(22,20)"ADVAL(2) = ";ADVAL(2);"    "
  150PRINTTAB(2,22)"ADVAL(3) = ";ADVAL(1);"    "TAB(22,22)"ADVAL(4) = ";ADVAL(4);"    "
  160UNTIL FALSE
  170VDU23,1,1;0;0;0;31,0,23
  180END


�> SWTEST
�7
Hmouse$=�141+�132+�157+�131+"SWR Mouse coords via ADVAL(0-4)   "+�156
(�0,5)mouse$
2�0,6)mouse$
<� �23,1,1;0;0;0;31,0,23:�
F�23,1,0;0;0;0;
P�
Zadval=�(0)�3
d#�10,11)"ADVAL(0)AND3 = ";adval
n/� adval=2 �22,15)"Right" � �22,15)"     "
x.� adval=3  �16,15)"Both" � �16,15)"    "
�-� adval=1 �10,15)"Left" � �10,15)"    "
�D�2,20)"ADVAL(1) = ";�(1);"    "�22,20)"ADVAL(2) = ";�(2);"    "
�D�2,22)"ADVAL(3) = ";�(1);"    "�22,22)"ADVAL(4) = ";�(4);"    "
�� �
��23,1,1;0;0;0;31,0,23
��
�
00000000  0d 00 0a 0d f4 3e 20 53  57 54 45 53 54 0d 00 14  |.....> SWTEST...|
00000010  06 eb 37 0d 00 1e 48 6d  6f 75 73 65 24 3d bd 31  |..7...Hmouse$=.1|
00000020  34 31 2b bd 31 33 32 2b  bd 31 35 37 2b bd 31 33  |41+.132+.157+.13|
00000030  31 2b 22 53 57 52 20 4d  6f 75 73 65 20 63 6f 6f  |1+"SWR Mouse coo|
00000040  72 64 73 20 76 69 61 20  41 44 56 41 4c 28 30 2d  |rds via ADVAL(0-|
00000050  34 29 20 20 20 22 2b bd  31 35 36 0d 00 28 10 f1  |4)   "+.156..(..|
00000060  8a 30 2c 35 29 6d 6f 75  73 65 24 0d 00 32 10 f1  |.0,5)mouse$..2..|
00000070  8a 30 2c 36 29 6d 6f 75  73 65 24 0d 00 3c 1e ee  |.0,6)mouse$..<..|
00000080  85 20 ef 32 33 2c 31 2c  31 3b 30 3b 30 3b 30 3b  |. .23,1,1;0;0;0;|
00000090  33 31 2c 30 2c 32 33 3a  e0 0d 00 46 12 ef 32 33  |31,0,23:...F..23|
000000a0  2c 31 2c 30 3b 30 3b 30  3b 30 3b 0d 00 50 05 f5  |,1,0;0;0;0;..P..|
000000b0  0d 00 5a 10 61 64 76 61  6c 3d 96 28 30 29 80 33  |..Z.adval=.(0).3|
000000c0  0d 00 64 23 f1 8a 31 30  2c 31 31 29 22 41 44 56  |..d#..10,11)"ADV|
000000d0  41 4c 28 30 29 41 4e 44  33 20 3d 20 22 3b 61 64  |AL(0)AND3 = ";ad|
000000e0  76 61 6c 0d 00 6e 2f e7  20 61 64 76 61 6c 3d 32  |val..n/. adval=2|
000000f0  20 f1 8a 32 32 2c 31 35  29 22 52 69 67 68 74 22  | ..22,15)"Right"|
00000100  20 8b 20 f1 8a 32 32 2c  31 35 29 22 20 20 20 20  | . ..22,15)"    |
00000110  20 22 0d 00 78 2e e7 20  61 64 76 61 6c 3d 33 20  | "..x.. adval=3 |
00000120  20 f1 8a 31 36 2c 31 35  29 22 42 6f 74 68 22 20  | ..16,15)"Both" |
00000130  8b 20 f1 8a 31 36 2c 31  35 29 22 20 20 20 20 22  |. ..16,15)"    "|
00000140  0d 00 82 2d e7 20 61 64  76 61 6c 3d 31 20 f1 8a  |...-. adval=1 ..|
00000150  31 30 2c 31 35 29 22 4c  65 66 74 22 20 8b 20 f1  |10,15)"Left" . .|
00000160  8a 31 30 2c 31 35 29 22  20 20 20 20 22 0d 00 8c  |.10,15)"    "...|
00000170  44 f1 8a 32 2c 32 30 29  22 41 44 56 41 4c 28 31  |D..2,20)"ADVAL(1|
00000180  29 20 3d 20 22 3b 96 28  31 29 3b 22 20 20 20 20  |) = ";.(1);"    |
00000190  22 8a 32 32 2c 32 30 29  22 41 44 56 41 4c 28 32  |".22,20)"ADVAL(2|
000001a0  29 20 3d 20 22 3b 96 28  32 29 3b 22 20 20 20 20  |) = ";.(2);"    |
000001b0  22 0d 00 96 44 f1 8a 32  2c 32 32 29 22 41 44 56  |"...D..2,22)"ADV|
000001c0  41 4c 28 33 29 20 3d 20  22 3b 96 28 31 29 3b 22  |AL(3) = ";.(1);"|
000001d0  20 20 20 20 22 8a 32 32  2c 32 32 29 22 41 44 56  |    ".22,22)"ADV|
000001e0  41 4c 28 34 29 20 3d 20  22 3b 96 28 34 29 3b 22  |AL(4) = ";.(4);"|
000001f0  20 20 20 20 22 0d 00 a0  07 fd 20 a3 0d 00 aa 19  |    "..... .....|
00000200  ef 32 33 2c 31 2c 31 3b  30 3b 30 3b 30 3b 33 31  |.23,1,1;0;0;0;31|
00000210  2c 30 2c 32 33 0d 00 b4  05 e0 0d ff              |,0,23.......|
0000021c
07-01-88/SWTEST.m0
07-01-88/SWTEST.m1
07-01-88/SWTEST.m2
07-01-88/SWTEST.m4
07-01-88/SWTEST.m5