Home » Archimedes archive » Zipped Apps » 1st Word Plus » WP/programs/hoare/IntModule

WP/programs/hoare/IntModule

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 » Zipped Apps » 1st Word Plus
Filename: WP/programs/hoare/IntModule
Read OK:
File size: 0A14 bytes
Load address: 0000
Exec address: 0000
File contents
���N,XProg interrupt	1.00 (15 Jan 1989)IntModuleInterruptH���Freeze<)�*Interrupt sets up a routine to stop an application with a key press and perform a specified *command

If no command is given *commands can be typed during the interruption

*Interrupt <key> Freeze - waits until the space bar is pressed & released

*Interrupt -1 disables the interrupt routine

Syntax: *Interrupt <ASCII code> [<*command>]*Freeze stops processing until the spacebar is pressed and released

Syntax: *Freeze@-���b�� ���Q�R���b�� ���Q�R���
��������'Q��@-����P�@"�������}���@-�p��P�
���`����W�� ���M��P������=����������@-�%��P�����
�������P������������� �� ����@-�0��@��M���� Q�
���
Q��F�����? ��-�jQ�
l��>�� �R�:r�������Q��#��������� �������T����������� �� ��
R�����Bad keycode parameter�����1�����@-�Pp��Wက�@p��W�W���C-�`��p���7���@-�"������@���6���À��P_���XO��������1���P�
O��o��u���P����T���C�����5��2!������� �������/�� ���0����/�� ���0�������1����������0����A� �#� ��*���0�������� 0S���������A�F��
*

O���  ��0���*�jQ�,
�j���������������@-����P�����0O��� ��������F� R��Z ��0O���"�������� R��Z�_���_�������O� ����� R����_���_���0_��� ���_�����Q�	
<!�(1�0�������� 0S�����A������ ��<��0C�K��@D��������0�P_�@�XO���O���<����Escape|���O�����j���
00000000  00 00 00 00 b0 02 00 00  fc 02 00 00 84 02 00 00  |................|
00000010  4e 00 00 00 2c 00 00 00  58 00 00 00 00 00 00 00  |N...,...X.......|
00000020  00 00 00 00 00 00 00 00  00 00 00 00 50 72 6f 67  |............Prog|
00000030  20 69 6e 74 65 72 72 75  70 74 09 31 2e 30 30 20  | interrupt.1.00 |
00000040  28 31 35 20 4a 61 6e 20  31 39 38 39 29 00 49 6e  |(15 Jan 1989).In|
00000050  74 4d 6f 64 75 6c 65 00  49 6e 74 65 72 72 75 70  |tModule.Interrup|
00000060  74 00 00 00 48 03 00 00  01 00 ff 00 b7 01 00 00  |t...H...........|
00000070  90 00 00 00 46 72 65 65  7a 65 00 00 3c 02 00 00  |....Freeze..<...|
00000080  00 00 00 00 29 02 00 00  e4 01 00 00 00 00 00 00  |....)...........|
00000090  2a 49 6e 74 65 72 72 75  70 74 20 73 65 74 73 20  |*Interrupt sets |
000000a0  75 70 20 61 20 72 6f 75  74 69 6e 65 20 74 6f 20  |up a routine to |
000000b0  73 74 6f 70 20 61 6e 20  61 70 70 6c 69 63 61 74  |stop an applicat|
000000c0  69 6f 6e 20 77 69 74 68  20 61 20 6b 65 79 20 70  |ion with a key p|
000000d0  72 65 73 73 20 61 6e 64  20 70 65 72 66 6f 72 6d  |ress and perform|
000000e0  20 61 20 73 70 65 63 69  66 69 65 64 20 2a 63 6f  | a specified *co|
000000f0  6d 6d 61 6e 64 0a 0d 49  66 20 6e 6f 20 63 6f 6d  |mmand..If no com|
00000100  6d 61 6e 64 20 69 73 20  67 69 76 65 6e 20 2a 63  |mand is given *c|
00000110  6f 6d 6d 61 6e 64 73 20  63 61 6e 20 62 65 20 74  |ommands can be t|
00000120  79 70 65 64 20 64 75 72  69 6e 67 20 74 68 65 20  |yped during the |
00000130  69 6e 74 65 72 72 75 70  74 69 6f 6e 0a 0d 2a 49  |interruption..*I|
00000140  6e 74 65 72 72 75 70 74  20 3c 6b 65 79 3e 20 46  |nterrupt <key> F|
00000150  72 65 65 7a 65 20 2d 20  77 61 69 74 73 20 75 6e  |reeze - waits un|
00000160  74 69 6c 20 74 68 65 20  73 70 61 63 65 20 62 61  |til the space ba|
00000170  72 20 69 73 20 70 72 65  73 73 65 64 20 26 20 72  |r is pressed & r|
00000180  65 6c 65 61 73 65 64 0a  0d 2a 49 6e 74 65 72 72  |eleased..*Interr|
00000190  75 70 74 20 2d 31 20 64  69 73 61 62 6c 65 73 20  |upt -1 disables |
000001a0  74 68 65 20 69 6e 74 65  72 72 75 70 74 20 72 6f  |the interrupt ro|
000001b0  75 74 69 6e 65 0a 0d 53  79 6e 74 61 78 3a 20 2a  |utine..Syntax: *|
000001c0  49 6e 74 65 72 72 75 70  74 20 3c 41 53 43 49 49  |Interrupt <ASCII|
000001d0  20 63 6f 64 65 3e 20 5b  3c 2a 63 6f 6d 6d 61 6e  | code> [<*comman|
000001e0  64 3e 5d 00 2a 46 72 65  65 7a 65 20 73 74 6f 70  |d>].*Freeze stop|
000001f0  73 20 70 72 6f 63 65 73  73 69 6e 67 20 75 6e 74  |s processing unt|
00000200  69 6c 20 74 68 65 20 73  70 61 63 65 62 61 72 20  |il the spacebar |
00000210  69 73 20 70 72 65 73 73  65 64 20 61 6e 64 20 72  |is pressed and r|
00000220  65 6c 65 61 73 65 64 0a  0d 53 79 6e 74 61 78 3a  |eleased..Syntax:|
00000230  20 2a 46 72 65 65 7a 65  00 00 00 00 0f 40 2d e9  | *Freeze.....@-.|
00000240  81 00 a0 e3 62 10 e0 e3  ff 20 a0 e3 06 00 00 ef  |....b.... ......|
00000250  ff 00 51 e3 ff 00 52 03  f9 ff ff 1a 62 10 e0 e3  |..Q...R.....b...|
00000260  ff 20 a0 e3 06 00 00 ef  ff 00 51 e3 ff 00 52 03  |. ........Q...R.|
00000270  f9 ff ff 0a 15 00 a0 e3  00 10 a0 e3 06 00 00 ef  |................|
00000280  0f 80 bd e8 27 00 51 e3  0e f0 a0 11 07 40 2d e9  |....'.Q......@-.|
00000290  f0 01 df e5 80 00 50 e3  80 00 40 22 e4 01 cf e5  |......P...@"....|
000002a0  00 00 a0 e3 80 01 cf e5  7d 01 cf e5 01 00 00 ea  |........}.......|
000002b0  07 40 2d e9 70 01 df e5  ff 00 50 e3 05 00 00 0a  |.@-.p.....P.....|
000002c0  ff 00 a0 e3 60 01 cf e5  10 00 a0 e3 57 1f 8f e2  |....`.......W...|
000002d0  00 20 a0 e3 1f 00 00 ef  4d 01 df e5 ff 00 50 e3  |. ......M.....P.|
000002e0  00 80 bd 08 ff 00 a0 e3  3d 01 cf e5 0e 00 a0 e3  |........=.......|
000002f0  02 10 a0 e3 06 00 00 ef  07 80 bd e8 00 40 2d e9  |.............@-.|
00000300  25 01 df e5 ff 00 50 e3  04 00 00 1a 00 00 a0 e3  |%.....P.........|
00000310  15 01 cf e5 0d 00 a0 e3  02 10 a0 e3 06 00 00 ef  |................|
00000320  04 01 df e5 ff 00 50 e3  00 80 bd 18 00 00 a0 e3  |......P.........|
00000330  f4 00 cf e5 10 00 a0 e3  f0 10 8f e2 00 20 a0 e3  |............. ..|
00000340  20 00 00 ef 00 80 bd e8  1f 40 2d e9 00 30 a0 e1  | ........@-..0..|
00000350  01 40 a0 e1 4d 0f 8f e2  01 10 d3 e4 20 00 51 e3  |.@..M....... .Q.|
00000360  0d 10 a0 03 01 10 c0 e4  0d 00 51 e3 f9 ff ff 1a  |..........Q.....|
00000370  46 0f 8f e2 c5 1f 8f e2  3f 20 a0 e3 2d 00 02 ef  |F.......? ..-...|
00000380  02 00 00 6a 00 00 51 e3  02 00 00 0a 6c 00 8f e2  |...j..Q.....l...|
00000390  3e 00 bd e8 20 00 00 ea  01 0c 52 e3 07 00 00 3a  |>... .....R....:|
000003a0  01 00 72 e3 f8 ff ff 1a  d8 10 df e5 00 00 a0 e3  |..r.............|
000003b0  80 00 51 e3 80 00 a0 23  c8 00 cf e5 1f 80 bd e8  |..Q....#........|
000003c0  c4 10 8f e2 00 20 c1 e5  b8 10 df e5 80 10 01 e2  |..... ..........|
000003d0  01 10 81 e2 01 00 54 e3  01 10 81 12 a4 10 cf e5  |......T.........|
000003e0  1f 80 bd 08 03 00 a0 e1  1a 1e 8f e2 01 20 d0 e4  |............. ..|
000003f0  01 20 c1 e4 0d 00 52 e3  fb ff ff 1a 1f 80 bd e8  |. ....R.........|
00000400  a1 08 01 00 42 61 64 20  6b 65 79 63 6f 64 65 20  |....Bad keycode |
00000410  70 61 72 61 6d 65 74 65  72 00 00 00 0f 10 a0 e1  |parameter.......|
00000420  01 12 81 e3 00 f0 31 e3  00 80 bd e8 00 00 00 00  |......1.........|
00000430  80 40 2d e9 50 70 df e5  02 00 57 e1 80 80 bd 18  |.@-.Pp....W.....|
00000440  40 70 df e5 01 00 57 e3  02 00 57 13 80 80 bd 18  |@p....W...W.....|
00000450  43 00 2d e9 0f 60 a0 e1  03 70 86 e3 00 f0 37 e3  |C.-..`...p....7.|
00000460  00 00 a0 f1 00 40 2d e9  22 0e 8f e2 97 1f 8f e2  |.....@-.".......|
00000470  15 00 00 ef 1b 00 00 ef  00 40 bd e8 00 f0 36 e3  |.........@....6.|
00000480  00 00 a0 f1 c3 80 bd e8  00 00 00 00 00 00 00 00  |................|
00000490  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
*
000006d0  50 02 5f e5 80 00 80 e2  58 02 4f e5 0f 10 a0 e1  |P._.....X.O.....|
000006e0  02 13 c1 e3 03 10 81 e3  00 f0 31 e3 01 10 a0 f1  |..........1.....|
000006f0  81 00 50 e3 03 00 00 0a  17 0e 4f e2 05 00 02 ef  |..P.......O.....|
00000700  07 01 02 6f ae 00 00 ea  75 00 a0 e3 06 00 02 ef  |...o....u.......|
00000710  50 11 cf e5 03 00 a0 e3  54 10 a0 e3 06 00 02 ef  |P.......T.......|
00000720  43 11 cf e5 a5 00 a0 e3  06 00 02 ef 35 11 cf e5  |C...........5...|
00000730  32 21 cf e5 da 00 a0 e3  00 10 a0 e3 00 20 a0 e3  |2!........... ..|
00000740  06 00 02 ef 00 00 a0 e3  10 10 a0 e3 2f 00 02 ef  |............/...|
00000750  d0 20 8f e5 d0 30 8f e5  01 00 a0 e3 2f 00 02 ef  |. ...0....../...|
00000760  c8 20 8f e5 c8 30 8f e5  88 00 8f e2 c4 10 8f e2  |. ...0..........|
00000770  31 00 02 ef e0 00 9f e5  f0 00 cf e5 01 00 a0 e3  |1...............|
00000780  d8 30 9f e5 a3 10 a0 e1  41 00 02 ef 00 20 a0 23  |.0......A.... .#|
00000790  cc 20 8f e5 05 00 00 2a  a8 10 9f e5 a3 30 a0 e1  |. .....*.....0..|
000007a0  f0 0f b1 e8 f0 0f a2 e8  20 30 53 e2 fb ff ff 8a  |........ 0S.....|
000007b0  b4 00 8f e2 c9 10 8f e2  00 10 41 e0 46 00 00 ef  |..........A.F...|
000007c0  01 00 00 ef 0d 0a 2a 00  0d 0d 4f e2 fe 10 a0 e3  |......*...O.....|
000007d0  20 20 a0 e3 ff 30 a0 e3  0e 00 02 ef 85 00 00 2a  |  ...0.........*|
000007e0  87 00 00 6a 00 00 51 e3  2c 00 00 0a 05 00 02 ef  |...j..Q.,.......|
000007f0  83 00 00 6a f1 ff ff ea  84 00 00 00 85 00 00 00  |...j............|
00000800  86 00 00 00 87 00 00 00  95 00 00 00 9b 00 00 00  |................|
00000810  9c 00 00 00 9f 00 00 00  a0 00 00 00 01 00 00 00  |................|
00000820  07 00 00 00 ff ff ff ff  00 00 00 00 00 00 00 00  |................|
00000830  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
*
00000860  00 00 00 00 00 00 00 00  00 00 00 00 06 1c 00 0c  |................|
00000870  00 00 13 00 04 00 00 00  13 01 07 00 00 00 0f 04  |................|
00000880  11 01 11 80 0c 00 00 00  01 40 2d e9 08 00 a0 e3  |.........@-.....|
00000890  00 01 00 ef 01 00 50 e2  fc ff ff 1a 01 80 bd e8  |......P.........|
000008a0  80 30 4f e2 04 10 a0 e3  0c 20 a0 e3 13 01 00 ef  |.0O...... ......|
000008b0  a2 01 a0 e1 00 00 00 ef  02 00 83 e0 46 00 00 ef  |............F...|
000008c0  04 20 52 e2 f8 ff ff 5a  04 20 a0 e3 80 30 4f e2  |. R....Z. ...0O.|
000008d0  17 01 00 ef 11 01 00 ef  22 01 a0 e1 00 00 00 ef  |........".......|
000008e0  02 00 93 e7 00 00 00 ef  e6 ff ff eb 04 20 52 e2  |............. R.|
000008f0  f6 ff ff 5a b0 00 5f e5  11 01 00 ef 00 00 00 ef  |...Z.._.........|
00000900  b8 00 5f e5 80 00 80 e2  11 01 00 ef 00 00 00 ef  |.._.............|
00000910  1c 01 00 ef e4 10 4f e2  04 20 a0 e3 04 00 d1 e4  |......O.. ......|
00000920  00 00 00 ef 01 20 52 e2  fb ff ff 1a 1f 01 00 ef  |..... R.........|
00000930  cf 00 5f e5 00 00 00 ef  d6 00 5f e5 00 00 00 ef  |.._......._.....|
00000940  e0 30 5f e5 01 00 13 e3  02 01 00 1f 04 00 13 e3  |.0_.............|
00000950  0f 01 00 0f 20 00 13 e3  05 01 00 1f 80 00 13 e3  |.... ...........|
00000960  15 01 00 1f 01 11 5f e5  03 00 a0 e3 06 00 00 ef  |......_.........|
00000970  14 11 1f e5 00 00 51 e3  09 00 00 0a 3c 21 1f e5  |......Q.....<!..|
00000980  28 31 1f e5 a3 30 a0 e1  f0 0f b1 e8 f0 0f a2 e8  |(1...0..........|
00000990  20 30 53 e2 fb ff ff 8a  00 00 a0 e3 41 00 00 ef  | 0S.........A...|
000009a0  07 00 00 ea 00 00 e0 e3  00 10 a0 e3 00 20 a0 e3  |............. ..|
000009b0  05 3c a0 e3 01 30 43 e2  01 4b a0 e3 01 40 44 e2  |.<...0C..K...@D.|
000009c0  d1 00 06 ef 0f 00 a0 e1  02 03 80 e3 00 f0 30 e3  |..............0.|
000009d0  50 05 5f e5 80 00 40 e2  58 05 4f e5 d5 ef 4f e2  |P._...@.X.O...O.|
000009e0  ff 7f de e8 3c e0 9e e5  0e f0 b0 e1 11 00 00 00  |....<...........|
000009f0  45 73 63 61 70 65 00 00  7c 00 a0 e3 06 00 02 ef  |Escape..|.......|
00000a00  1c 00 4f e2 04 00 80 e2  03 00 00 ef 02 00 00 ef  |..O.............|
00000a10  6a ff ff ea                                       |j...|
00000a14