Home » Personal collection » Acorn ADFS disks » Electron_User_Group » EUG_54.ADF » V/+SSMANU

V/+SSMANU

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 » Personal collection » Acorn ADFS disks » Electron_User_Group » EUG_54.ADF
Filename: V/+SSMANU
Read OK:
File size: 0A31 bytes
Load address: 2B204556
Exec address: 414D5353
Duplicates

There are 3 duplicate copies of this file in the archive:

File contents
                             SSAVER MANUAL
                     Written in 6502 Machine Code

THIS file describes the program SSAVER which is an event-driven screen
saver for the 8 bit BBC micros using a 6845 cathode ray tube controller.

Instructions:
IF not accessing the utility via the Utilities Menu, type *RUN U.SSAVER
at the BASIC prompt.
   The program will at first not appear to have done anything. This is
because the screen saver is simply loaded, and not configured yet!
   You can configure the screen saver to restore the screen on the 
occurrence of any event (see your User Guide under *FX14 and *FX13 for
details of event numbers).
   Next, at the prompt, type CHAIN"U.SSTEST"
   This will run a really simple program demonstrating the use of a new
OSWord call which sets up the screen saver to your requirements. In this
particular case, it sets a delay of about ten seconds, restoring the 
screen with a keypress.
   
The technical details of the OSWord have been defined as follows:
Entry A=&E0
      X and Y point to a 12 byte parameter block in memory
      XY+00 = 10
      XY+01 = 0
      XY+02 = Two byte delay in 50ths of a second
      XY+04 = 1st event number to unblank the screen
        :
      XY+0B = 8th event number that will unblank the screen
Exit  Parameter block unchanged

A delay of 0 at XY+02 effectively turns off the screensaver.
   Note that if you don't want eight different events to restore the
screen, simply pad the other values with a duplicate of one you've used
already:
      XY+00 = 10
      XY+01 = 0
      XY+02 = 5000 (about 100 seconds)
      XY+04 = 2 (screen comes back when a key is pressed)
      XY+05 = 7 (screen comes back when a serial port error occurs)
      XY+05 = 7 (padding)
      XY+05 = 7 (padding)
      XY+05 = 7 (padding)
      XY+05 = 7 (padding)
      XY+05 = 7 (padding)
      XY+05 = 7 (padding)

You may reconfigure the screen saver AS MANY TIMES AS YOU WANT without
having to *RUN the SSAVER program again, simply by calling the OSWord.

Known Problems/Future Enhancements
No known problems

History
v0.90 Original development version
v1.00 Released to EUG, having fixed a problem with frame synch on proper
      computer monitors. (It was previously only tried on a domestic TV)
v1.15 Screen blanking does not interfere with the VDU queue, which could
      cause problems if the screen saver kicked in halfway through 
      PRINTing text. Adjusted OSWord block to ensure it is passed across
      the Tube correctly.

                   Manual And Software (C) 1997 SPROW
                        First published EUG #54
00000000  20 20 20 20 20 20 20 20  20 20 20 20 20 20 20 20  |                |
00000010  20 20 20 20 20 20 20 20  20 20 20 20 20 53 53 41  |             SSA|
00000020  56 45 52 20 4d 41 4e 55  41 4c 0d 20 20 20 20 20  |VER MANUAL.     |
00000030  20 20 20 20 20 20 20 20  20 20 20 20 20 20 20 20  |                |
00000040  57 72 69 74 74 65 6e 20  69 6e 20 36 35 30 32 20  |Written in 6502 |
00000050  4d 61 63 68 69 6e 65 20  43 6f 64 65 0d 0d 54 48  |Machine Code..TH|
00000060  49 53 20 66 69 6c 65 20  64 65 73 63 72 69 62 65  |IS file describe|
00000070  73 20 74 68 65 20 70 72  6f 67 72 61 6d 20 53 53  |s the program SS|
00000080  41 56 45 52 20 77 68 69  63 68 20 69 73 20 61 6e  |AVER which is an|
00000090  20 65 76 65 6e 74 2d 64  72 69 76 65 6e 20 73 63  | event-driven sc|
000000a0  72 65 65 6e 0d 73 61 76  65 72 20 66 6f 72 20 74  |reen.saver for t|
000000b0  68 65 20 38 20 62 69 74  20 42 42 43 20 6d 69 63  |he 8 bit BBC mic|
000000c0  72 6f 73 20 75 73 69 6e  67 20 61 20 36 38 34 35  |ros using a 6845|
000000d0  20 63 61 74 68 6f 64 65  20 72 61 79 20 74 75 62  | cathode ray tub|
000000e0  65 20 63 6f 6e 74 72 6f  6c 6c 65 72 2e 0d 0d 49  |e controller...I|
000000f0  6e 73 74 72 75 63 74 69  6f 6e 73 3a 0d 49 46 20  |nstructions:.IF |
00000100  6e 6f 74 20 61 63 63 65  73 73 69 6e 67 20 74 68  |not accessing th|
00000110  65 20 75 74 69 6c 69 74  79 20 76 69 61 20 74 68  |e utility via th|
00000120  65 20 55 74 69 6c 69 74  69 65 73 20 4d 65 6e 75  |e Utilities Menu|
00000130  2c 20 74 79 70 65 20 2a  52 55 4e 20 55 2e 53 53  |, type *RUN U.SS|
00000140  41 56 45 52 0d 61 74 20  74 68 65 20 42 41 53 49  |AVER.at the BASI|
00000150  43 20 70 72 6f 6d 70 74  2e 0d 20 20 20 54 68 65  |C prompt..   The|
00000160  20 70 72 6f 67 72 61 6d  20 77 69 6c 6c 20 61 74  | program will at|
00000170  20 66 69 72 73 74 20 6e  6f 74 20 61 70 70 65 61  | first not appea|
00000180  72 20 74 6f 20 68 61 76  65 20 64 6f 6e 65 20 61  |r to have done a|
00000190  6e 79 74 68 69 6e 67 2e  20 54 68 69 73 20 69 73  |nything. This is|
000001a0  0d 62 65 63 61 75 73 65  20 74 68 65 20 73 63 72  |.because the scr|
000001b0  65 65 6e 20 73 61 76 65  72 20 69 73 20 73 69 6d  |een saver is sim|
000001c0  70 6c 79 20 6c 6f 61 64  65 64 2c 20 61 6e 64 20  |ply loaded, and |
000001d0  6e 6f 74 20 63 6f 6e 66  69 67 75 72 65 64 20 79  |not configured y|
000001e0  65 74 21 0d 20 20 20 59  6f 75 20 63 61 6e 20 63  |et!.   You can c|
000001f0  6f 6e 66 69 67 75 72 65  20 74 68 65 20 73 63 72  |onfigure the scr|
00000200  65 65 6e 20 73 61 76 65  72 20 74 6f 20 72 65 73  |een saver to res|
00000210  74 6f 72 65 20 74 68 65  20 73 63 72 65 65 6e 20  |tore the screen |
00000220  6f 6e 20 74 68 65 20 0d  6f 63 63 75 72 72 65 6e  |on the .occurren|
00000230  63 65 20 6f 66 20 61 6e  79 20 65 76 65 6e 74 20  |ce of any event |
00000240  28 73 65 65 20 79 6f 75  72 20 55 73 65 72 20 47  |(see your User G|
00000250  75 69 64 65 20 75 6e 64  65 72 20 2a 46 58 31 34  |uide under *FX14|
00000260  20 61 6e 64 20 2a 46 58  31 33 20 66 6f 72 0d 64  | and *FX13 for.d|
00000270  65 74 61 69 6c 73 20 6f  66 20 65 76 65 6e 74 20  |etails of event |
00000280  6e 75 6d 62 65 72 73 29  2e 0d 20 20 20 4e 65 78  |numbers)..   Nex|
00000290  74 2c 20 61 74 20 74 68  65 20 70 72 6f 6d 70 74  |t, at the prompt|
000002a0  2c 20 74 79 70 65 20 43  48 41 49 4e 22 55 2e 53  |, type CHAIN"U.S|
000002b0  53 54 45 53 54 22 0d 20  20 20 54 68 69 73 20 77  |STEST".   This w|
000002c0  69 6c 6c 20 72 75 6e 20  61 20 72 65 61 6c 6c 79  |ill run a really|
000002d0  20 73 69 6d 70 6c 65 20  70 72 6f 67 72 61 6d 20  | simple program |
000002e0  64 65 6d 6f 6e 73 74 72  61 74 69 6e 67 20 74 68  |demonstrating th|
000002f0  65 20 75 73 65 20 6f 66  20 61 20 6e 65 77 0d 4f  |e use of a new.O|
00000300  53 57 6f 72 64 20 63 61  6c 6c 20 77 68 69 63 68  |SWord call which|
00000310  20 73 65 74 73 20 75 70  20 74 68 65 20 73 63 72  | sets up the scr|
00000320  65 65 6e 20 73 61 76 65  72 20 74 6f 20 79 6f 75  |een saver to you|
00000330  72 20 72 65 71 75 69 72  65 6d 65 6e 74 73 2e 20  |r requirements. |
00000340  49 6e 20 74 68 69 73 0d  70 61 72 74 69 63 75 6c  |In this.particul|
00000350  61 72 20 63 61 73 65 2c  20 69 74 20 73 65 74 73  |ar case, it sets|
00000360  20 61 20 64 65 6c 61 79  20 6f 66 20 61 62 6f 75  | a delay of abou|
00000370  74 20 74 65 6e 20 73 65  63 6f 6e 64 73 2c 20 72  |t ten seconds, r|
00000380  65 73 74 6f 72 69 6e 67  20 74 68 65 20 0d 73 63  |estoring the .sc|
00000390  72 65 65 6e 20 77 69 74  68 20 61 20 6b 65 79 70  |reen with a keyp|
000003a0  72 65 73 73 2e 0d 20 20  20 0d 54 68 65 20 74 65  |ress..   .The te|
000003b0  63 68 6e 69 63 61 6c 20  64 65 74 61 69 6c 73 20  |chnical details |
000003c0  6f 66 20 74 68 65 20 4f  53 57 6f 72 64 20 68 61  |of the OSWord ha|
000003d0  76 65 20 62 65 65 6e 20  64 65 66 69 6e 65 64 20  |ve been defined |
000003e0  61 73 20 66 6f 6c 6c 6f  77 73 3a 0d 45 6e 74 72  |as follows:.Entr|
000003f0  79 20 41 3d 26 45 30 0d  20 20 20 20 20 20 58 20  |y A=&E0.      X |
00000400  61 6e 64 20 59 20 70 6f  69 6e 74 20 74 6f 20 61  |and Y point to a|
00000410  20 31 32 20 62 79 74 65  20 70 61 72 61 6d 65 74  | 12 byte paramet|
00000420  65 72 20 62 6c 6f 63 6b  20 69 6e 20 6d 65 6d 6f  |er block in memo|
00000430  72 79 0d 20 20 20 20 20  20 58 59 2b 30 30 20 3d  |ry.      XY+00 =|
00000440  20 31 30 0d 20 20 20 20  20 20 58 59 2b 30 31 20  | 10.      XY+01 |
00000450  3d 20 30 0d 20 20 20 20  20 20 58 59 2b 30 32 20  |= 0.      XY+02 |
00000460  3d 20 54 77 6f 20 62 79  74 65 20 64 65 6c 61 79  |= Two byte delay|
00000470  20 69 6e 20 35 30 74 68  73 20 6f 66 20 61 20 73  | in 50ths of a s|
00000480  65 63 6f 6e 64 0d 20 20  20 20 20 20 58 59 2b 30  |econd.      XY+0|
00000490  34 20 3d 20 31 73 74 20  65 76 65 6e 74 20 6e 75  |4 = 1st event nu|
000004a0  6d 62 65 72 20 74 6f 20  75 6e 62 6c 61 6e 6b 20  |mber to unblank |
000004b0  74 68 65 20 73 63 72 65  65 6e 0d 20 20 20 20 20  |the screen.     |
000004c0  20 20 20 3a 0d 20 20 20  20 20 20 58 59 2b 30 42  |   :.      XY+0B|
000004d0  20 3d 20 38 74 68 20 65  76 65 6e 74 20 6e 75 6d  | = 8th event num|
000004e0  62 65 72 20 74 68 61 74  20 77 69 6c 6c 20 75 6e  |ber that will un|
000004f0  62 6c 61 6e 6b 20 74 68  65 20 73 63 72 65 65 6e  |blank the screen|
00000500  0d 45 78 69 74 20 20 50  61 72 61 6d 65 74 65 72  |.Exit  Parameter|
00000510  20 62 6c 6f 63 6b 20 75  6e 63 68 61 6e 67 65 64  | block unchanged|
00000520  0d 0d 41 20 64 65 6c 61  79 20 6f 66 20 30 20 61  |..A delay of 0 a|
00000530  74 20 58 59 2b 30 32 20  65 66 66 65 63 74 69 76  |t XY+02 effectiv|
00000540  65 6c 79 20 74 75 72 6e  73 20 6f 66 66 20 74 68  |ely turns off th|
00000550  65 20 73 63 72 65 65 6e  73 61 76 65 72 2e 0d 20  |e screensaver.. |
00000560  20 20 4e 6f 74 65 20 74  68 61 74 20 69 66 20 79  |  Note that if y|
00000570  6f 75 20 64 6f 6e 27 74  20 77 61 6e 74 20 65 69  |ou don't want ei|
00000580  67 68 74 20 64 69 66 66  65 72 65 6e 74 20 65 76  |ght different ev|
00000590  65 6e 74 73 20 74 6f 20  72 65 73 74 6f 72 65 20  |ents to restore |
000005a0  74 68 65 0d 73 63 72 65  65 6e 2c 20 73 69 6d 70  |the.screen, simp|
000005b0  6c 79 20 70 61 64 20 74  68 65 20 6f 74 68 65 72  |ly pad the other|
000005c0  20 76 61 6c 75 65 73 20  77 69 74 68 20 61 20 64  | values with a d|
000005d0  75 70 6c 69 63 61 74 65  20 6f 66 20 6f 6e 65 20  |uplicate of one |
000005e0  79 6f 75 27 76 65 20 75  73 65 64 0d 61 6c 72 65  |you've used.alre|
000005f0  61 64 79 3a 0d 20 20 20  20 20 20 58 59 2b 30 30  |ady:.      XY+00|
00000600  20 3d 20 31 30 0d 20 20  20 20 20 20 58 59 2b 30  | = 10.      XY+0|
00000610  31 20 3d 20 30 0d 20 20  20 20 20 20 58 59 2b 30  |1 = 0.      XY+0|
00000620  32 20 3d 20 35 30 30 30  20 28 61 62 6f 75 74 20  |2 = 5000 (about |
00000630  31 30 30 20 73 65 63 6f  6e 64 73 29 0d 20 20 20  |100 seconds).   |
00000640  20 20 20 58 59 2b 30 34  20 3d 20 32 20 28 73 63  |   XY+04 = 2 (sc|
00000650  72 65 65 6e 20 63 6f 6d  65 73 20 62 61 63 6b 20  |reen comes back |
00000660  77 68 65 6e 20 61 20 6b  65 79 20 69 73 20 70 72  |when a key is pr|
00000670  65 73 73 65 64 29 0d 20  20 20 20 20 20 58 59 2b  |essed).      XY+|
00000680  30 35 20 3d 20 37 20 28  73 63 72 65 65 6e 20 63  |05 = 7 (screen c|
00000690  6f 6d 65 73 20 62 61 63  6b 20 77 68 65 6e 20 61  |omes back when a|
000006a0  20 73 65 72 69 61 6c 20  70 6f 72 74 20 65 72 72  | serial port err|
000006b0  6f 72 20 6f 63 63 75 72  73 29 0d 20 20 20 20 20  |or occurs).     |
000006c0  20 58 59 2b 30 35 20 3d  20 37 20 28 70 61 64 64  | XY+05 = 7 (padd|
000006d0  69 6e 67 29 0d 20 20 20  20 20 20 58 59 2b 30 35  |ing).      XY+05|
000006e0  20 3d 20 37 20 28 70 61  64 64 69 6e 67 29 0d 20  | = 7 (padding). |
000006f0  20 20 20 20 20 58 59 2b  30 35 20 3d 20 37 20 28  |     XY+05 = 7 (|
00000700  70 61 64 64 69 6e 67 29  0d 20 20 20 20 20 20 58  |padding).      X|
00000710  59 2b 30 35 20 3d 20 37  20 28 70 61 64 64 69 6e  |Y+05 = 7 (paddin|
00000720  67 29 0d 20 20 20 20 20  20 58 59 2b 30 35 20 3d  |g).      XY+05 =|
00000730  20 37 20 28 70 61 64 64  69 6e 67 29 0d 20 20 20  | 7 (padding).   |
00000740  20 20 20 58 59 2b 30 35  20 3d 20 37 20 28 70 61  |   XY+05 = 7 (pa|
00000750  64 64 69 6e 67 29 0d 0d  59 6f 75 20 6d 61 79 20  |dding)..You may |
00000760  72 65 63 6f 6e 66 69 67  75 72 65 20 74 68 65 20  |reconfigure the |
00000770  73 63 72 65 65 6e 20 73  61 76 65 72 20 41 53 20  |screen saver AS |
00000780  4d 41 4e 59 20 54 49 4d  45 53 20 41 53 20 59 4f  |MANY TIMES AS YO|
00000790  55 20 57 41 4e 54 20 77  69 74 68 6f 75 74 0d 68  |U WANT without.h|
000007a0  61 76 69 6e 67 20 74 6f  20 2a 52 55 4e 20 74 68  |aving to *RUN th|
000007b0  65 20 53 53 41 56 45 52  20 70 72 6f 67 72 61 6d  |e SSAVER program|
000007c0  20 61 67 61 69 6e 2c 20  73 69 6d 70 6c 79 20 62  | again, simply b|
000007d0  79 20 63 61 6c 6c 69 6e  67 20 74 68 65 20 4f 53  |y calling the OS|
000007e0  57 6f 72 64 2e 0d 0d 4b  6e 6f 77 6e 20 50 72 6f  |Word...Known Pro|
000007f0  62 6c 65 6d 73 2f 46 75  74 75 72 65 20 45 6e 68  |blems/Future Enh|
00000800  61 6e 63 65 6d 65 6e 74  73 0d 4e 6f 20 6b 6e 6f  |ancements.No kno|
00000810  77 6e 20 70 72 6f 62 6c  65 6d 73 0d 0d 48 69 73  |wn problems..His|
00000820  74 6f 72 79 0d 76 30 2e  39 30 20 4f 72 69 67 69  |tory.v0.90 Origi|
00000830  6e 61 6c 20 64 65 76 65  6c 6f 70 6d 65 6e 74 20  |nal development |
00000840  76 65 72 73 69 6f 6e 0d  76 31 2e 30 30 20 52 65  |version.v1.00 Re|
00000850  6c 65 61 73 65 64 20 74  6f 20 45 55 47 2c 20 68  |leased to EUG, h|
00000860  61 76 69 6e 67 20 66 69  78 65 64 20 61 20 70 72  |aving fixed a pr|
00000870  6f 62 6c 65 6d 20 77 69  74 68 20 66 72 61 6d 65  |oblem with frame|
00000880  20 73 79 6e 63 68 20 6f  6e 20 70 72 6f 70 65 72  | synch on proper|
00000890  0d 20 20 20 20 20 20 63  6f 6d 70 75 74 65 72 20  |.      computer |
000008a0  6d 6f 6e 69 74 6f 72 73  2e 20 28 49 74 20 77 61  |monitors. (It wa|
000008b0  73 20 70 72 65 76 69 6f  75 73 6c 79 20 6f 6e 6c  |s previously onl|
000008c0  79 20 74 72 69 65 64 20  6f 6e 20 61 20 64 6f 6d  |y tried on a dom|
000008d0  65 73 74 69 63 20 54 56  29 0d 76 31 2e 31 35 20  |estic TV).v1.15 |
000008e0  53 63 72 65 65 6e 20 62  6c 61 6e 6b 69 6e 67 20  |Screen blanking |
000008f0  64 6f 65 73 20 6e 6f 74  20 69 6e 74 65 72 66 65  |does not interfe|
00000900  72 65 20 77 69 74 68 20  74 68 65 20 56 44 55 20  |re with the VDU |
00000910  71 75 65 75 65 2c 20 77  68 69 63 68 20 63 6f 75  |queue, which cou|
00000920  6c 64 0d 20 20 20 20 20  20 63 61 75 73 65 20 70  |ld.      cause p|
00000930  72 6f 62 6c 65 6d 73 20  69 66 20 74 68 65 20 73  |roblems if the s|
00000940  63 72 65 65 6e 20 73 61  76 65 72 20 6b 69 63 6b  |creen saver kick|
00000950  65 64 20 69 6e 20 68 61  6c 66 77 61 79 20 74 68  |ed in halfway th|
00000960  72 6f 75 67 68 20 0d 20  20 20 20 20 20 50 52 49  |rough .      PRI|
00000970  4e 54 69 6e 67 20 74 65  78 74 2e 20 41 64 6a 75  |NTing text. Adju|
00000980  73 74 65 64 20 4f 53 57  6f 72 64 20 62 6c 6f 63  |sted OSWord bloc|
00000990  6b 20 74 6f 20 65 6e 73  75 72 65 20 69 74 20 69  |k to ensure it i|
000009a0  73 20 70 61 73 73 65 64  20 61 63 72 6f 73 73 0d  |s passed across.|
000009b0  20 20 20 20 20 20 74 68  65 20 54 75 62 65 20 63  |      the Tube c|
000009c0  6f 72 72 65 63 74 6c 79  2e 0d 0d 20 20 20 20 20  |orrectly...     |
000009d0  20 20 20 20 20 20 20 20  20 20 20 20 20 20 4d 61  |              Ma|
000009e0  6e 75 61 6c 20 41 6e 64  20 53 6f 66 74 77 61 72  |nual And Softwar|
000009f0  65 20 28 43 29 20 31 39  39 37 20 53 50 52 4f 57  |e (C) 1997 SPROW|
00000a00  0d 20 20 20 20 20 20 20  20 20 20 20 20 20 20 20  |.               |
00000a10  20 20 20 20 20 20 20 20  20 46 69 72 73 74 20 70  |         First p|
00000a20  75 62 6c 69 73 68 65 64  20 45 55 47 20 23 35 34  |ublished EUG #54|
00000a30  0d                                                |.|
00000a31
V/+SSMANU.m0
V/+SSMANU.m1
V/+SSMANU.m2
V/+SSMANU.m4
V/+SSMANU.m5