Home » Archimedes archive » Acorn User » AU 1997-01 B.adf » Regulars » StarInfo/Rawle/!Saviour/Library

StarInfo/Rawle/!Saviour/Library

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 1997-01 B.adf » Regulars
Filename: StarInfo/Rawle/!Saviour/Library
Read OK:
File size: 03F5 bytes
Load address: 0000
Exec address: 0000
File contents
   10DEFPROCsaviour_init
   20fi%=OPENIN"<Saviour$Dir>.Config":INPUT#fi%,saviouri%,saviourj%:CLOSE#fi%
   30IFsaviourj%>0:saviourj%=saviourj%-saviouri%
   40MOUSEsavix%,saviy%,saviz%
   50OSCLI"Blanktime "+STR$(saviourj%)
   60saviour2%=FALSE
   70DIMsavBL% 255
   80SYS"Wimp_Initialise",200,&4B534154,"Saviour display"
   90!savBL%=0:savBL%!4=0:savBL%!8=4096:savBL%!12=4096:savBL%!16=0:savBL%!20=0:savBL%!24=-1:savBL%!28=&80000010:savBL%!32=&7070707:savBL%!36=&70707
  100savBL%!40=0:savBL%!44=-4096:savBL%!48=4096:savBL%!52=0:savBL%!56=0:savBL%!60=0:savBL%!64=0:savBL%!68=0:$(savBL%+72)="":savBL%!84=0
  110SYS"Wimp_CreateWindow",,savBL% TO savWH%
  120!savBL%=savWH%:SYS"Wimp_GetWindowState",,savBL%:SYS"Wimp_OpenWindow",,savBL%
  130ENDPROC
  140DEFPROCsaviour_check
  150SYS"Wimp_Poll",0,savBL%
  160LOCALx%,y%,z%,k%
  170MOUSEx%,y%,z%
  180IFsavix%<>x%ORsaviy%<>y%ORsaviz%<>z%:PROCsaviour_quit
  190savix%=x%:saviy%=y%:saviz%=z%
  200SYS"OS_Byte",121,0 TO,k%
  210IFk%<>255:PROCsaviour_quit
  220ENDPROC
  230DEFPROCsaviour_quit
  240IFsaviour2%=FALSE:saviour2%=TRUE:ENDPROC
  250OSCLI"Unset Saviour$Blanked"
  260OSCLI"Blanktime "+STR$(saviouri%+5)
  270OSCLI"Desktop"

��saviour_init
?fi%=�"<Saviour$Dir>.Config":�#fi%,saviouri%,saviourj%:�#fi%
.�saviourj%>0:saviourj%=saviourj%-saviouri%
(ȗsavix%,saviy%,saviz%
2�"Blanktime "+�(saviourj%)
<saviour2%=�
F�savBL% 255
P7ș"Wimp_Initialise",200,&4B534154,"Saviour display"
Z�!savBL%=0:savBL%!4=0:savBL%!8=4096:savBL%!12=4096:savBL%!16=0:savBL%!20=0:savBL%!24=-1:savBL%!28=&80000010:savBL%!32=&7070707:savBL%!36=&70707
d�savBL%!40=0:savBL%!44=-4096:savBL%!48=4096:savBL%!52=0:savBL%!56=0:savBL%!60=0:savBL%!64=0:savBL%!68=0:$(savBL%+72)="":savBL%!84=0
n*ș"Wimp_CreateWindow",,savBL% � savWH%
xN!savBL%=savWH%:ș"Wimp_GetWindowState",,savBL%:ș"Wimp_OpenWindow",,savBL%
��
���saviour_check
�ș"Wimp_Poll",0,savBL%
��x%,y%,z%,k%
�ȗx%,y%,z%
�3�savix%<>x%�saviy%<>y%�saviz%<>z%:�saviour_quit
�!savix%=x%:saviy%=y%:saviz%=z%
�ș"OS_Byte",121,0 �,k%
��k%<>255:�saviour_quit
��
���saviour_quit
��saviour2%=�:saviour2%=�:�
��"Unset Saviour$Blanked"
 �"Blanktime "+�(saviouri%+5)
�"Desktop"
�
00000000  0d 00 0a 12 dd f2 73 61  76 69 6f 75 72 5f 69 6e  |......saviour_in|
00000010  69 74 0d 00 14 3f 66 69  25 3d 8e 22 3c 53 61 76  |it...?fi%=."<Sav|
00000020  69 6f 75 72 24 44 69 72  3e 2e 43 6f 6e 66 69 67  |iour$Dir>.Config|
00000030  22 3a e8 23 66 69 25 2c  73 61 76 69 6f 75 72 69  |":.#fi%,saviouri|
00000040  25 2c 73 61 76 69 6f 75  72 6a 25 3a d9 23 66 69  |%,saviourj%:.#fi|
00000050  25 0d 00 1e 2e e7 73 61  76 69 6f 75 72 6a 25 3e  |%.....saviourj%>|
00000060  30 3a 73 61 76 69 6f 75  72 6a 25 3d 73 61 76 69  |0:saviourj%=savi|
00000070  6f 75 72 6a 25 2d 73 61  76 69 6f 75 72 69 25 0d  |ourj%-saviouri%.|
00000080  00 28 1a c8 97 73 61 76  69 78 25 2c 73 61 76 69  |.(...savix%,savi|
00000090  79 25 2c 73 61 76 69 7a  25 0d 00 32 1e ff 22 42  |y%,saviz%..2.."B|
000000a0  6c 61 6e 6b 74 69 6d 65  20 22 2b c3 28 73 61 76  |lanktime "+.(sav|
000000b0  69 6f 75 72 6a 25 29 0d  00 3c 0f 73 61 76 69 6f  |iourj%)..<.savio|
000000c0  75 72 32 25 3d a3 0d 00  46 0f de 73 61 76 42 4c  |ur2%=...F..savBL|
000000d0  25 20 32 35 35 0d 00 50  37 c8 99 22 57 69 6d 70  |% 255..P7.."Wimp|
000000e0  5f 49 6e 69 74 69 61 6c  69 73 65 22 2c 32 30 30  |_Initialise",200|
000000f0  2c 26 34 42 35 33 34 31  35 34 2c 22 53 61 76 69  |,&4B534154,"Savi|
00000100  6f 75 72 20 64 69 73 70  6c 61 79 22 0d 00 5a 92  |our display"..Z.|
00000110  21 73 61 76 42 4c 25 3d  30 3a 73 61 76 42 4c 25  |!savBL%=0:savBL%|
00000120  21 34 3d 30 3a 73 61 76  42 4c 25 21 38 3d 34 30  |!4=0:savBL%!8=40|
00000130  39 36 3a 73 61 76 42 4c  25 21 31 32 3d 34 30 39  |96:savBL%!12=409|
00000140  36 3a 73 61 76 42 4c 25  21 31 36 3d 30 3a 73 61  |6:savBL%!16=0:sa|
00000150  76 42 4c 25 21 32 30 3d  30 3a 73 61 76 42 4c 25  |vBL%!20=0:savBL%|
00000160  21 32 34 3d 2d 31 3a 73  61 76 42 4c 25 21 32 38  |!24=-1:savBL%!28|
00000170  3d 26 38 30 30 30 30 30  31 30 3a 73 61 76 42 4c  |=&80000010:savBL|
00000180  25 21 33 32 3d 26 37 30  37 30 37 30 37 3a 73 61  |%!32=&7070707:sa|
00000190  76 42 4c 25 21 33 36 3d  26 37 30 37 30 37 0d 00  |vBL%!36=&70707..|
000001a0  64 86 73 61 76 42 4c 25  21 34 30 3d 30 3a 73 61  |d.savBL%!40=0:sa|
000001b0  76 42 4c 25 21 34 34 3d  2d 34 30 39 36 3a 73 61  |vBL%!44=-4096:sa|
000001c0  76 42 4c 25 21 34 38 3d  34 30 39 36 3a 73 61 76  |vBL%!48=4096:sav|
000001d0  42 4c 25 21 35 32 3d 30  3a 73 61 76 42 4c 25 21  |BL%!52=0:savBL%!|
000001e0  35 36 3d 30 3a 73 61 76  42 4c 25 21 36 30 3d 30  |56=0:savBL%!60=0|
000001f0  3a 73 61 76 42 4c 25 21  36 34 3d 30 3a 73 61 76  |:savBL%!64=0:sav|
00000200  42 4c 25 21 36 38 3d 30  3a 24 28 73 61 76 42 4c  |BL%!68=0:$(savBL|
00000210  25 2b 37 32 29 3d 22 22  3a 73 61 76 42 4c 25 21  |%+72)="":savBL%!|
00000220  38 34 3d 30 0d 00 6e 2a  c8 99 22 57 69 6d 70 5f  |84=0..n*.."Wimp_|
00000230  43 72 65 61 74 65 57 69  6e 64 6f 77 22 2c 2c 73  |CreateWindow",,s|
00000240  61 76 42 4c 25 20 b8 20  73 61 76 57 48 25 0d 00  |avBL% . savWH%..|
00000250  78 4e 21 73 61 76 42 4c  25 3d 73 61 76 57 48 25  |xN!savBL%=savWH%|
00000260  3a c8 99 22 57 69 6d 70  5f 47 65 74 57 69 6e 64  |:.."Wimp_GetWind|
00000270  6f 77 53 74 61 74 65 22  2c 2c 73 61 76 42 4c 25  |owState",,savBL%|
00000280  3a c8 99 22 57 69 6d 70  5f 4f 70 65 6e 57 69 6e  |:.."Wimp_OpenWin|
00000290  64 6f 77 22 2c 2c 73 61  76 42 4c 25 0d 00 82 05  |dow",,savBL%....|
000002a0  e1 0d 00 8c 13 dd f2 73  61 76 69 6f 75 72 5f 63  |.......saviour_c|
000002b0  68 65 63 6b 0d 00 96 1a  c8 99 22 57 69 6d 70 5f  |heck......"Wimp_|
000002c0  50 6f 6c 6c 22 2c 30 2c  73 61 76 42 4c 25 0d 00  |Poll",0,savBL%..|
000002d0  a0 10 ea 78 25 2c 79 25  2c 7a 25 2c 6b 25 0d 00  |...x%,y%,z%,k%..|
000002e0  aa 0e c8 97 78 25 2c 79  25 2c 7a 25 0d 00 b4 33  |....x%,y%,z%...3|
000002f0  e7 73 61 76 69 78 25 3c  3e 78 25 84 73 61 76 69  |.savix%<>x%.savi|
00000300  79 25 3c 3e 79 25 84 73  61 76 69 7a 25 3c 3e 7a  |y%<>y%.saviz%<>z|
00000310  25 3a f2 73 61 76 69 6f  75 72 5f 71 75 69 74 0d  |%:.saviour_quit.|
00000320  00 be 21 73 61 76 69 78  25 3d 78 25 3a 73 61 76  |..!savix%=x%:sav|
00000330  69 79 25 3d 79 25 3a 73  61 76 69 7a 25 3d 7a 25  |iy%=y%:saviz%=z%|
00000340  0d 00 c8 1a c8 99 22 4f  53 5f 42 79 74 65 22 2c  |......"OS_Byte",|
00000350  31 32 31 2c 30 20 b8 2c  6b 25 0d 00 d2 1a e7 6b  |121,0 .,k%.....k|
00000360  25 3c 3e 32 35 35 3a f2  73 61 76 69 6f 75 72 5f  |%<>255:.saviour_|
00000370  71 75 69 74 0d 00 dc 05  e1 0d 00 e6 12 dd f2 73  |quit...........s|
00000380  61 76 69 6f 75 72 5f 71  75 69 74 0d 00 f0 1e e7  |aviour_quit.....|
00000390  73 61 76 69 6f 75 72 32  25 3d a3 3a 73 61 76 69  |saviour2%=.:savi|
000003a0  6f 75 72 32 25 3d b9 3a  e1 0d 00 fa 1c ff 22 55  |our2%=.:......"U|
000003b0  6e 73 65 74 20 53 61 76  69 6f 75 72 24 42 6c 61  |nset Saviour$Bla|
000003c0  6e 6b 65 64 22 0d 01 04  20 ff 22 42 6c 61 6e 6b  |nked"... ."Blank|
000003d0  74 69 6d 65 20 22 2b c3  28 73 61 76 69 6f 75 72  |time "+.(saviour|
000003e0  69 25 2b 35 29 0d 01 0e  0e ff 22 44 65 73 6b 74  |i%+5)....."Deskt|
000003f0  6f 70 22 0d ff                                    |op"..|
000003f5