Home » Archimedes archive » Acorn User » AU 1995-07.adf » !Regulars_Regulars » RunTheRisc/Steady1

RunTheRisc/Steady1

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-07.adf » !Regulars_Regulars
Filename: RunTheRisc/Steady1
Read OK:
File size: 0186 bytes
Load address: 0000
Exec address: 0000
File contents
   10REM>!PortMon.PortMon
   11ON ERROR PRINT REPORT$" at line ";ERL:END
   30
   40PRINT"Steady Hands 1 - Detect the fault"
   50PRINT"By Mike Cook"
   60
   70SYS"XParallel_Op",0 TO ,,D% ;F%
   80IF (F% AND 1)=1 THEN
   90PRINT"Mono direction printer port"
  100PRINT"You need to load the Mono_D module"
  110END
  120ENDIF
  140REPEAT
  150SYS"Parallel_Op",0 TO ,,D%
  160IF (D% AND &80) <> 0 THEN VDU 7:PRINT"Touched":PROC_DELAY
  190UNTIL FALSE
  200END
  210
  220DEF PROC_DELAY
  230T%=TIME+10
  240REPEAT UNTIL TIME>T%
  250ENDPROC

�>!PortMon.PortMon
� � � �$" at line ";�:�

((�"Steady Hands 1 - Detect the fault"
2�"By Mike Cook"
<
F!ș"XParallel_Op",0 � ,,D% ;F%
P� (F% � 1)=1 �
Z"�"Mono direction printer port"
d)�"You need to load the Mono_D module"
n�
x�
��
�ș"Parallel_Op",0 � ,,D%
�.� (D% � &80) <> 0 � � 7:�"Touched":�_DELAY
�� �
��
�
�
� �_DELAY
�T%=�+10
�� � �>T%
��
�
00000000  0d 00 0a 16 f4 3e 21 50  6f 72 74 4d 6f 6e 2e 50  |.....>!PortMon.P|
00000010  6f 72 74 4d 6f 6e 0d 00  0b 1b ee 20 85 20 f1 20  |ortMon..... . . |
00000020  f6 24 22 20 61 74 20 6c  69 6e 65 20 22 3b 9e 3a  |.$" at line ";.:|
00000030  e0 0d 00 1e 04 0d 00 28  28 f1 22 53 74 65 61 64  |.......((."Stead|
00000040  79 20 48 61 6e 64 73 20  31 20 2d 20 44 65 74 65  |y Hands 1 - Dete|
00000050  63 74 20 74 68 65 20 66  61 75 6c 74 22 0d 00 32  |ct the fault"..2|
00000060  13 f1 22 42 79 20 4d 69  6b 65 20 43 6f 6f 6b 22  |.."By Mike Cook"|
00000070  0d 00 3c 04 0d 00 46 21  c8 99 22 58 50 61 72 61  |..<...F!.."XPara|
00000080  6c 6c 65 6c 5f 4f 70 22  2c 30 20 b8 20 2c 2c 44  |llel_Op",0 . ,,D|
00000090  25 20 3b 46 25 0d 00 50  12 e7 20 28 46 25 20 80  |% ;F%..P.. (F% .|
000000a0  20 31 29 3d 31 20 8c 0d  00 5a 22 f1 22 4d 6f 6e  | 1)=1 ...Z"."Mon|
000000b0  6f 20 64 69 72 65 63 74  69 6f 6e 20 70 72 69 6e  |o direction prin|
000000c0  74 65 72 20 70 6f 72 74  22 0d 00 64 29 f1 22 59  |ter port"..d)."Y|
000000d0  6f 75 20 6e 65 65 64 20  74 6f 20 6c 6f 61 64 20  |ou need to load |
000000e0  74 68 65 20 4d 6f 6e 6f  5f 44 20 6d 6f 64 75 6c  |the Mono_D modul|
000000f0  65 22 0d 00 6e 05 e0 0d  00 78 05 cd 0d 00 8c 05  |e"..n....x......|
00000100  f5 0d 00 96 1c c8 99 22  50 61 72 61 6c 6c 65 6c  |......."Parallel|
00000110  5f 4f 70 22 2c 30 20 b8  20 2c 2c 44 25 0d 00 a0  |_Op",0 . ,,D%...|
00000120  2e e7 20 28 44 25 20 80  20 26 38 30 29 20 3c 3e  |.. (D% . &80) <>|
00000130  20 30 20 8c 20 ef 20 37  3a f1 22 54 6f 75 63 68  | 0 . . 7:."Touch|
00000140  65 64 22 3a f2 5f 44 45  4c 41 59 0d 00 be 07 fd  |ed":._DELAY.....|
00000150  20 a3 0d 00 c8 05 e0 0d  00 d2 04 0d 00 dc 0d dd  | ...............|
00000160  20 f2 5f 44 45 4c 41 59  0d 00 e6 0b 54 25 3d 91  | ._DELAY....T%=.|
00000170  2b 31 30 0d 00 f0 0c f5  20 fd 20 91 3e 54 25 0d  |+10..... . .>T%.|
00000180  00 fa 05 e1 0d ff                                 |......|
00000186