Home » Archimedes archive » Acorn User » AU 1998-10.adf » Features » SSTV/!PSinstall/PscanFiles/Setup4

SSTV/!PSinstall/PscanFiles/Setup4

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 1998-10.adf » Features
Filename: SSTV/!PSinstall/PscanFiles/Setup4
Read OK:
File size: 048B bytes
Load address: 0000
Exec address: 0000
File contents
    1 REM >Setup4
    2
    3 REM Overlay minimum is now 60k and extra "misc" added for manual - 11.12.97
    4 REM November 1997 version - reads Params file defined
    5 REM by new config/choices window - 09.11.97
    6
    7 REM Reads number of picture memories and overlay size
    8 REM and sets appropriate Wimpslot for Pscan.
    9 REM Allocates extra memory if thumbnail option is set to YES.
   10
   11 ON ERROR REPORT:PRINT " at line ";ERL:END
   12
   13 dummy=FNfile_len("<Pscan$Dir>.Choices.Params")
   14
   15 DIM config$(12)
   16  F%=OPENIN("<Pscan$Dir>.Choices.Params")
   17   FOR N%=1 TO 12
   18    config$(N%)=GET$#F%
   19   NEXT
   20  CLOSE#F%
   21
   22 memories=VAL(config$(4))
   23 overlay=VAL(config$(5))
   24 misc=624 : REM misc includes size of !Runimage + various DIMs etc
   25            REM 164k added for manual - 11.12.97
   26 mem%=640*memories+overlay+misc
   27 IF config$(9)="Y" mem%+=325 : REM Extra memory for thumbnails
   28
   29 OSCLI("Wimpslot -min "+STR$(mem%)+"K -max "+STR$(mem%)+"K")
   30 END
   31  
   32 DEF FNfile_len(f$)
   33 LOCAL r0%,r5%
   34 SYS "OS_File",17,f$ TO r0%,,,,r5%
   35 IF r0%=0 THEN
   36  ERROR 0,"File "+f$+" not found. This copy of Pscan may be corrupt. Please re-install it from the original disk or ZIP file."
   37 ELSE
   38  =(r5%+4)
   39 ENDIF
   40 
 � >Setup4

N � Overlay minimum is now 60k and extra "misc" added for manual - 11.12.97
8 � November 1997 version - reads Params file defined
. � by new config/choices window - 09.11.97

8 � Reads number of picture memories and overlay size
/ � and sets appropriate Wimpslot for Pscan.
	@ � Allocates extra memory if thumbnail option is set to YES.


 � � �:� " at line ";�:�


2 dummy=�file_len("<Pscan$Dir>.Choices.Params")

 � config$(12)
(  F%=�("<Pscan$Dir>.Choices.Params")
   � N%=1 � 12
    config$(N%)=�#F%
   �

  �#F%

 memories=�(config$(4))
 overlay=�(config$(5))
D misc=624 : � misc includes size of !Runimage + various DIMs etc
2            � 164k added for manual - 11.12.97
# mem%=640*memories+overlay+misc
? � config$(9)="Y" mem%+=325 : � Extra memory for thumbnails

6 �("Wimpslot -min "+�(mem%)+"K -max "+�(mem%)+"K")
 �
  
  � �file_len(f$)
! � r0%,r5%
"$ ș "OS_File",17,f$ � r0%,,,,r5%
# � r0%=0 �
$~  � 0,"File "+f$+" not found. This copy of Pscan may be corrupt. Please re-install it from the original disk or ZIP file."
% �
&  =(r5%+4)
' �
( 
�
00000000  0d 00 01 0e 20 f4 20 3e  53 65 74 75 70 34 0d 00  |.... . >Setup4..|
00000010  02 04 0d 00 03 4e 20 f4  20 4f 76 65 72 6c 61 79  |.....N . Overlay|
00000020  20 6d 69 6e 69 6d 75 6d  20 69 73 20 6e 6f 77 20  | minimum is now |
00000030  36 30 6b 20 61 6e 64 20  65 78 74 72 61 20 22 6d  |60k and extra "m|
00000040  69 73 63 22 20 61 64 64  65 64 20 66 6f 72 20 6d  |isc" added for m|
00000050  61 6e 75 61 6c 20 2d 20  31 31 2e 31 32 2e 39 37  |anual - 11.12.97|
00000060  0d 00 04 38 20 f4 20 4e  6f 76 65 6d 62 65 72 20  |...8 . November |
00000070  31 39 39 37 20 76 65 72  73 69 6f 6e 20 2d 20 72  |1997 version - r|
00000080  65 61 64 73 20 50 61 72  61 6d 73 20 66 69 6c 65  |eads Params file|
00000090  20 64 65 66 69 6e 65 64  0d 00 05 2e 20 f4 20 62  | defined.... . b|
000000a0  79 20 6e 65 77 20 63 6f  6e 66 69 67 2f 63 68 6f  |y new config/cho|
000000b0  69 63 65 73 20 77 69 6e  64 6f 77 20 2d 20 30 39  |ices window - 09|
000000c0  2e 31 31 2e 39 37 0d 00  06 04 0d 00 07 38 20 f4  |.11.97.......8 .|
000000d0  20 52 65 61 64 73 20 6e  75 6d 62 65 72 20 6f 66  | Reads number of|
000000e0  20 70 69 63 74 75 72 65  20 6d 65 6d 6f 72 69 65  | picture memorie|
000000f0  73 20 61 6e 64 20 6f 76  65 72 6c 61 79 20 73 69  |s and overlay si|
00000100  7a 65 0d 00 08 2f 20 f4  20 61 6e 64 20 73 65 74  |ze.../ . and set|
00000110  73 20 61 70 70 72 6f 70  72 69 61 74 65 20 57 69  |s appropriate Wi|
00000120  6d 70 73 6c 6f 74 20 66  6f 72 20 50 73 63 61 6e  |mpslot for Pscan|
00000130  2e 0d 00 09 40 20 f4 20  41 6c 6c 6f 63 61 74 65  |....@ . Allocate|
00000140  73 20 65 78 74 72 61 20  6d 65 6d 6f 72 79 20 69  |s extra memory i|
00000150  66 20 74 68 75 6d 62 6e  61 69 6c 20 6f 70 74 69  |f thumbnail opti|
00000160  6f 6e 20 69 73 20 73 65  74 20 74 6f 20 59 45 53  |on is set to YES|
00000170  2e 0d 00 0a 04 0d 00 0b  1c 20 ee 20 85 20 f6 3a  |......... . . .:|
00000180  f1 20 22 20 61 74 20 6c  69 6e 65 20 22 3b 9e 3a  |. " at line ";.:|
00000190  e0 0d 00 0c 04 0d 00 0d  32 20 64 75 6d 6d 79 3d  |........2 dummy=|
000001a0  a4 66 69 6c 65 5f 6c 65  6e 28 22 3c 50 73 63 61  |.file_len("<Psca|
000001b0  6e 24 44 69 72 3e 2e 43  68 6f 69 63 65 73 2e 50  |n$Dir>.Choices.P|
000001c0  61 72 61 6d 73 22 29 0d  00 0e 04 0d 00 0f 12 20  |arams")........ |
000001d0  de 20 63 6f 6e 66 69 67  24 28 31 32 29 0d 00 10  |. config$(12)...|
000001e0  28 20 20 46 25 3d 8e 28  22 3c 50 73 63 61 6e 24  |(  F%=.("<Pscan$|
000001f0  44 69 72 3e 2e 43 68 6f  69 63 65 73 2e 50 61 72  |Dir>.Choices.Par|
00000200  61 6d 73 22 29 0d 00 11  12 20 20 20 e3 20 4e 25  |ams")....   . N%|
00000210  3d 31 20 b8 20 31 32 0d  00 12 18 20 20 20 20 63  |=1 . 12....    c|
00000220  6f 6e 66 69 67 24 28 4e  25 29 3d be 23 46 25 0d  |onfig$(N%)=.#F%.|
00000230  00 13 08 20 20 20 ed 0d  00 14 0a 20 20 d9 23 46  |...   .....  .#F|
00000240  25 0d 00 15 04 0d 00 16  1b 20 6d 65 6d 6f 72 69  |%........ memori|
00000250  65 73 3d bb 28 63 6f 6e  66 69 67 24 28 34 29 29  |es=.(config$(4))|
00000260  0d 00 17 1a 20 6f 76 65  72 6c 61 79 3d bb 28 63  |.... overlay=.(c|
00000270  6f 6e 66 69 67 24 28 35  29 29 0d 00 18 44 20 6d  |onfig$(5))...D m|
00000280  69 73 63 3d 36 32 34 20  3a 20 f4 20 6d 69 73 63  |isc=624 : . misc|
00000290  20 69 6e 63 6c 75 64 65  73 20 73 69 7a 65 20 6f  | includes size o|
000002a0  66 20 21 52 75 6e 69 6d  61 67 65 20 2b 20 76 61  |f !Runimage + va|
000002b0  72 69 6f 75 73 20 44 49  4d 73 20 65 74 63 0d 00  |rious DIMs etc..|
000002c0  19 32 20 20 20 20 20 20  20 20 20 20 20 20 f4 20  |.2            . |
000002d0  31 36 34 6b 20 61 64 64  65 64 20 66 6f 72 20 6d  |164k added for m|
000002e0  61 6e 75 61 6c 20 2d 20  31 31 2e 31 32 2e 39 37  |anual - 11.12.97|
000002f0  0d 00 1a 23 20 6d 65 6d  25 3d 36 34 30 2a 6d 65  |...# mem%=640*me|
00000300  6d 6f 72 69 65 73 2b 6f  76 65 72 6c 61 79 2b 6d  |mories+overlay+m|
00000310  69 73 63 0d 00 1b 3f 20  e7 20 63 6f 6e 66 69 67  |isc...? . config|
00000320  24 28 39 29 3d 22 59 22  20 6d 65 6d 25 2b 3d 33  |$(9)="Y" mem%+=3|
00000330  32 35 20 3a 20 f4 20 45  78 74 72 61 20 6d 65 6d  |25 : . Extra mem|
00000340  6f 72 79 20 66 6f 72 20  74 68 75 6d 62 6e 61 69  |ory for thumbnai|
00000350  6c 73 0d 00 1c 04 0d 00  1d 36 20 ff 28 22 57 69  |ls.......6 .("Wi|
00000360  6d 70 73 6c 6f 74 20 2d  6d 69 6e 20 22 2b c3 28  |mpslot -min "+.(|
00000370  6d 65 6d 25 29 2b 22 4b  20 2d 6d 61 78 20 22 2b  |mem%)+"K -max "+|
00000380  c3 28 6d 65 6d 25 29 2b  22 4b 22 29 0d 00 1e 06  |.(mem%)+"K")....|
00000390  20 e0 0d 00 1f 06 20 20  0d 00 20 14 20 dd 20 a4  | .....  .. . . .|
000003a0  66 69 6c 65 5f 6c 65 6e  28 66 24 29 0d 00 21 0e  |file_len(f$)..!.|
000003b0  20 ea 20 72 30 25 2c 72  35 25 0d 00 22 24 20 c8  | . r0%,r5%.."$ .|
000003c0  99 20 22 4f 53 5f 46 69  6c 65 22 2c 31 37 2c 66  |. "OS_File",17,f|
000003d0  24 20 b8 20 72 30 25 2c  2c 2c 2c 72 35 25 0d 00  |$ . r0%,,,,r5%..|
000003e0  23 0e 20 e7 20 72 30 25  3d 30 20 8c 0d 00 24 7e  |#. . r0%=0 ...$~|
000003f0  20 20 85 20 30 2c 22 46  69 6c 65 20 22 2b 66 24  |  . 0,"File "+f$|
00000400  2b 22 20 6e 6f 74 20 66  6f 75 6e 64 2e 20 54 68  |+" not found. Th|
00000410  69 73 20 63 6f 70 79 20  6f 66 20 50 73 63 61 6e  |is copy of Pscan|
00000420  20 6d 61 79 20 62 65 20  63 6f 72 72 75 70 74 2e  | may be corrupt.|
00000430  20 50 6c 65 61 73 65 20  72 65 2d 69 6e 73 74 61  | Please re-insta|
00000440  6c 6c 20 69 74 20 66 72  6f 6d 20 74 68 65 20 6f  |ll it from the o|
00000450  72 69 67 69 6e 61 6c 20  64 69 73 6b 20 6f 72 20  |riginal disk or |
00000460  5a 49 50 20 66 69 6c 65  2e 22 0d 00 25 06 20 cc  |ZIP file."..%. .|
00000470  0d 00 26 0e 20 20 3d 28  72 35 25 2b 34 29 0d 00  |..&.  =(r5%+4)..|
00000480  27 06 20 cd 0d 00 28 05  20 0d ff                 |'. ...(. ..|
0000048b