Home » CEEFAX disks » telesoftware12.adl » 20-01-89/T\Break

20-01-89/T\Break

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 » telesoftware12.adl
Filename: 20-01-89/T\Break
Read OK:
File size: 04CF bytes
Load address: 0000
Exec address: FFFFFFFF
File contents
         
        Break Disable Utility                                  v.2 
         
        *BREAK <ON/OFF> 
         
        This program enables a program to be kept  running,  even  if 
        <CTRL><BREAK>  is  pressed.  It has been found very useful by 
        teachers during school demonstrations etc. 
         
        The <BREAK> key can be disabled using *BREAK OFF 
          
        The <BREAK> key can be  enabled using *BREAK ON  
        ( or use *FX247 0 to enable ) 
         
        It  is  essential  that  your  program  contains  an  ONERROR 
        statement. The following is a simple demo program : 
         
           10  ONERROR RUN 
           20  P." This is a demo" 
           30  IF INKEY(-1) THEN GOTO 50  
           40  GOTO 20 
           50  *FX 247 0 
           60  END 
         
        Once  this  program  has been entered type *BREAK OFF and run 
        the program. Pressing <BREAK> will not stop the  program  but 
        will  carry  out  the  instruction  contained  in the ONERROR 
        statement. 
        ( To escape from demo press <SHIFT> ) 
          
        The routine will work with a BBC model B or B+, but does not
        operate on a Master computer.
00000000  0d 20 20 20 20 20 20 20  20 20 0d 20 20 20 20 20  |.         .     |
00000010  20 20 20 42 72 65 61 6b  20 44 69 73 61 62 6c 65  |   Break Disable|
00000020  20 55 74 69 6c 69 74 79  20 20 20 20 20 20 20 20  | Utility        |
00000030  20 20 20 20 20 20 20 20  20 20 20 20 20 20 20 20  |                |
00000040  20 20 20 20 20 20 20 20  20 20 76 2e 32 20 0d 20  |          v.2 . |
00000050  20 20 20 20 20 20 20 20  0d 20 20 20 20 20 20 20  |        .       |
00000060  20 2a 42 52 45 41 4b 20  3c 4f 4e 2f 4f 46 46 3e  | *BREAK <ON/OFF>|
00000070  20 0d 20 20 20 20 20 20  20 20 20 0d 20 20 20 20  | .         .    |
00000080  20 20 20 20 54 68 69 73  20 70 72 6f 67 72 61 6d  |    This program|
00000090  20 65 6e 61 62 6c 65 73  20 61 20 70 72 6f 67 72  | enables a progr|
000000a0  61 6d 20 74 6f 20 62 65  20 6b 65 70 74 20 20 72  |am to be kept  r|
000000b0  75 6e 6e 69 6e 67 2c 20  20 65 76 65 6e 20 20 69  |unning,  even  i|
000000c0  66 20 0d 20 20 20 20 20  20 20 20 3c 43 54 52 4c  |f .        <CTRL|
000000d0  3e 3c 42 52 45 41 4b 3e  20 20 69 73 20 20 70 72  |><BREAK>  is  pr|
000000e0  65 73 73 65 64 2e 20 20  49 74 20 68 61 73 20 62  |essed.  It has b|
000000f0  65 65 6e 20 66 6f 75 6e  64 20 76 65 72 79 20 75  |een found very u|
00000100  73 65 66 75 6c 20 62 79  20 0d 20 20 20 20 20 20  |seful by .      |
00000110  20 20 74 65 61 63 68 65  72 73 20 64 75 72 69 6e  |  teachers durin|
00000120  67 20 73 63 68 6f 6f 6c  20 64 65 6d 6f 6e 73 74  |g school demonst|
00000130  72 61 74 69 6f 6e 73 20  65 74 63 2e 20 0d 20 20  |rations etc. .  |
00000140  20 20 20 20 20 20 20 0d  20 20 20 20 20 20 20 20  |       .        |
00000150  54 68 65 20 3c 42 52 45  41 4b 3e 20 6b 65 79 20  |The <BREAK> key |
00000160  63 61 6e 20 62 65 20 64  69 73 61 62 6c 65 64 20  |can be disabled |
00000170  75 73 69 6e 67 20 2a 42  52 45 41 4b 20 4f 46 46  |using *BREAK OFF|
00000180  20 0d 20 20 20 20 20 20  20 20 20 20 0d 20 20 20  | .          .   |
00000190  20 20 20 20 20 54 68 65  20 3c 42 52 45 41 4b 3e  |     The <BREAK>|
000001a0  20 6b 65 79 20 63 61 6e  20 62 65 20 20 65 6e 61  | key can be  ena|
000001b0  62 6c 65 64 20 75 73 69  6e 67 20 2a 42 52 45 41  |bled using *BREA|
000001c0  4b 20 4f 4e 20 20 0d 20  20 20 20 20 20 20 20 28  |K ON  .        (|
000001d0  20 6f 72 20 75 73 65 20  2a 46 58 32 34 37 20 30  | or use *FX247 0|
000001e0  20 74 6f 20 65 6e 61 62  6c 65 20 29 20 0d 20 20  | to enable ) .  |
000001f0  20 20 20 20 20 20 20 0d  20 20 20 20 20 20 20 20  |       .        |
00000200  49 74 20 20 69 73 20 20  65 73 73 65 6e 74 69 61  |It  is  essentia|
00000210  6c 20 20 74 68 61 74 20  20 79 6f 75 72 20 20 70  |l  that  your  p|
00000220  72 6f 67 72 61 6d 20 20  63 6f 6e 74 61 69 6e 73  |rogram  contains|
00000230  20 20 61 6e 20 20 4f 4e  45 52 52 4f 52 20 0d 20  |  an  ONERROR . |
00000240  20 20 20 20 20 20 20 73  74 61 74 65 6d 65 6e 74  |       statement|
00000250  2e 20 54 68 65 20 66 6f  6c 6c 6f 77 69 6e 67 20  |. The following |
00000260  69 73 20 61 20 73 69 6d  70 6c 65 20 64 65 6d 6f  |is a simple demo|
00000270  20 70 72 6f 67 72 61 6d  20 3a 20 0d 20 20 20 20  | program : .    |
00000280  20 20 20 20 20 0d 20 20  20 20 20 20 20 20 20 20  |     .          |
00000290  20 31 30 20 20 4f 4e 45  52 52 4f 52 20 52 55 4e  | 10  ONERROR RUN|
000002a0  20 0d 20 20 20 20 20 20  20 20 20 20 20 32 30 20  | .           20 |
000002b0  20 50 2e 22 20 54 68 69  73 20 69 73 20 61 20 64  | P." This is a d|
000002c0  65 6d 6f 22 20 0d 20 20  20 20 20 20 20 20 20 20  |emo" .          |
000002d0  20 33 30 20 20 49 46 20  49 4e 4b 45 59 28 2d 31  | 30  IF INKEY(-1|
000002e0  29 20 54 48 45 4e 20 47  4f 54 4f 20 35 30 20 20  |) THEN GOTO 50  |
000002f0  0d 20 20 20 20 20 20 20  20 20 20 20 34 30 20 20  |.           40  |
00000300  47 4f 54 4f 20 32 30 20  0d 20 20 20 20 20 20 20  |GOTO 20 .       |
00000310  20 20 20 20 35 30 20 20  2a 46 58 20 32 34 37 20  |    50  *FX 247 |
00000320  30 20 0d 20 20 20 20 20  20 20 20 20 20 20 36 30  |0 .           60|
00000330  20 20 45 4e 44 20 0d 20  20 20 20 20 20 20 20 20  |  END .         |
00000340  0d 20 20 20 20 20 20 20  20 4f 6e 63 65 20 20 74  |.        Once  t|
00000350  68 69 73 20 20 70 72 6f  67 72 61 6d 20 20 68 61  |his  program  ha|
00000360  73 20 62 65 65 6e 20 65  6e 74 65 72 65 64 20 74  |s been entered t|
00000370  79 70 65 20 2a 42 52 45  41 4b 20 4f 46 46 20 61  |ype *BREAK OFF a|
00000380  6e 64 20 72 75 6e 20 0d  20 20 20 20 20 20 20 20  |nd run .        |
00000390  74 68 65 20 70 72 6f 67  72 61 6d 2e 20 50 72 65  |the program. Pre|
000003a0  73 73 69 6e 67 20 3c 42  52 45 41 4b 3e 20 77 69  |ssing <BREAK> wi|
000003b0  6c 6c 20 6e 6f 74 20 73  74 6f 70 20 74 68 65 20  |ll not stop the |
000003c0  20 70 72 6f 67 72 61 6d  20 20 62 75 74 20 0d 20  | program  but . |
000003d0  20 20 20 20 20 20 20 77  69 6c 6c 20 20 63 61 72  |       will  car|
000003e0  72 79 20 20 6f 75 74 20  20 74 68 65 20 20 69 6e  |ry  out  the  in|
000003f0  73 74 72 75 63 74 69 6f  6e 20 20 63 6f 6e 74 61  |struction  conta|
00000400  69 6e 65 64 20 20 69 6e  20 74 68 65 20 4f 4e 45  |ined  in the ONE|
00000410  52 52 4f 52 20 0d 20 20  20 20 20 20 20 20 73 74  |RROR .        st|
00000420  61 74 65 6d 65 6e 74 2e  20 0d 20 20 20 20 20 20  |atement. .      |
00000430  20 20 28 20 54 6f 20 65  73 63 61 70 65 20 66 72  |  ( To escape fr|
00000440  6f 6d 20 64 65 6d 6f 20  70 72 65 73 73 20 3c 53  |om demo press <S|
00000450  48 49 46 54 3e 20 29 20  0d 20 20 20 20 20 20 20  |HIFT> ) .       |
00000460  20 20 20 0d 20 20 20 20  20 20 20 20 54 68 65 20  |   .        The |
00000470  72 6f 75 74 69 6e 65 20  77 69 6c 6c 20 77 6f 72  |routine will wor|
00000480  6b 20 77 69 74 68 20 61  20 42 42 43 20 6d 6f 64  |k with a BBC mod|
00000490  65 6c 20 42 20 6f 72 20  42 2b 2c 20 62 75 74 20  |el B or B+, but |
000004a0  64 6f 65 73 20 6e 6f 74  0d 20 20 20 20 20 20 20  |does not.       |
000004b0  20 6f 70 65 72 61 74 65  20 6f 6e 20 61 20 4d 61  | operate on a Ma|
000004c0  73 74 65 72 20 63 6f 6d  70 75 74 65 72 2e 0d     |ster computer..|
000004cf
20-01-89/T\Break.m0
20-01-89/T\Break.m1
20-01-89/T\Break.m2
20-01-89/T\Break.m4
20-01-89/T\Break.m5