Home » Personal collection » Acorn ADFS disks » Electron_User_Group » EUG_40.ADF » P/man1

P/man1

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_40.ADF
Filename: P/man1
Read OK:
File size: 1409 bytes
Load address: 6D2B6576
Exec address: D316E61
Duplicates

There is 1 duplicate copy of this file in the archive:

File contents
MANUAL FOR PRETTYPRINT (6502 ROM image)
This file describes the ROM image PRETTYPRINT which adds 'OS_PrettyPrint'
support to the BBC in an identical manner to that supplied on Risc OS
based machines.

The manual is (C)1998 SPROW and software is (C)1997 SPROW

INSTRUCTIONS
-At any command line prompt,eg.the BASIC command prompt '>' type 
ON A MASTER: 
*SRLOAD DRDIR 8000 <socket#>
*INSERT <socket#>
where <socket#> may be 7,6,5,4

ON A MACHINE WITH SWRAM: *LOAD DRDIR 8000 and press CTRL-BREAK to
initialise.

The image will then be installed into the chosen socket where it will wait for the
user to issue one of the following two stimuli 
OSWORD CALL-A =&47 and X&Y
point to a control block in memory 

XY+00 4 byte pointer to null terminated string to print (low byte first) 
XY+04 4 byte  pointer to user dictionary,or 0 to use built in dictionary      
      (low byte first)
XY+08 4 byte pointer to null terminated 'special string' (low byte first)
XY+12 Source of string to print,00=RAM 128 + socket=ROM
XY+13 Source of user dictionary,00=RAM 128+socket=ROM if  XY+04 is non
      zero
XY+14 Source of 'special string',00=RAM 128+socket=ROM

COMMAND LINE-
*HELP "filename"  where "filename" contains a  valid wadge of text and                    
                  starts with a 15 byte block as though it had been 
                  entered as an OSWord.
                  To make a file that is suitable for use in this manner 
                  is really easy. You just take your prettyprint text 
                  and then put the 15 byte OSWord block at the beginning
                  of the file.                    
                  Because the OSWord block needs addresses putting in it, 
                  you'll need to specify a SENSIBLE load address in the 
                  file's catalogue entry.

EXIT MESSAGES
-Missing " - the command line had a closing ditto missing 
Dictionary entry not found - an escape sequence number was out of range 
Load address too low - the file specified on the command line loaded in at
a silly place in the memory map 
File not found - the file specified on the command line doesn't exist 
Tube hardware not found - the OSWord block specified data to come form the
tube

KNOWN PROBLEMS/FUTURE ENHANCEMENTS
-No known problems 
Text doesn't word wrap yet 

HISTORY-V0.90 First release version,to the EUG disk user group along with
an article on word wrapping text

WHAT PRETTY PRINT IS
-Pretty print writes a string pointed to
by an osword control block,in additionthere are some special properties
that it looks out for though:
   * A carriage return causes a newline to be generated   

   * TAB causes a tabulation to the next multiple of eight chars   

   * Word wraps, unless the words are separated by CHR$31 (used as a hard
   space)   

   * ESC (ASCII 27) indicates that a dictionary entry should be
   substituted

To use a dictionary entry, place a CHR$ 27 followed by an entry number to
look up in the range 1-255 (the entry '0' is used to look up the 'special
string' pointed to by XY+8). There is a default dictionary, which doesn't
contain all 255 entries, but you may of course specify your own 'User
dictionary' if the application you have in mind uses a lot of the same
strings. eg. a chemistry related program. 

Effectively this will result in text being compacted since whole words are
replaced by just two bytes.

DICTIONARY FORMAT
- Dictionary entries may recursively refer to other dictionary
entries,nested no deeper than 32 levels (otherwise the stack overflows)
.The first byte of theentry points to the next entry,then there's text
terminated by a 0 byte.So fora file of N strings:
<offsettostartofstringTWO><1STstring$of255chr$orless><00>
<offsettostartofstringTHREE><2NDstring$of255chr$orless><00>  
   :                          :                        :
   :                          :                        : 
<offsettostartofstring(N-1)><(N-1)THstring$of255chr$orless><00>
<00><NTHstring$of255chr$orless><00>

DEFAULT DICTIONARY
-00=><string pointed to by XY+8>
01=>"Syntax: *"+<string pointed  to by XY+8>
02=>" the "
03=>"director"
04=>"filing system"
05=>"current"
06=>" to a variable. Other types of values can be assigned with  *"
07=>"file"
08=>"default "
09=>"tion"
10=>"*Configure"
11=>"name"
12=>" server"
13=>"number"
14=>"Syntax: *"+<string pointed to by XY+8>+ " <"
15=>" one or more files that match the given wildcard"
16=>" and"
17=>"relocatable module"
18=>CR+"C(onfirm)"+TAB+"Prompt for conf irmation of each"
19=>"sets the"
20=>Syntax: *"+<string pointed to by XY+8>+" [<disc spec.>]"
21=>")"+CR+"V(erbose)"+TAB+"Print informa tion on each file"
22=>"spriteLandscape [<XScale> [<YScale> [<Margin>[<Threshold>]]]]]"
23=>"is used to print a hard copy of the screen on EPSON-"
24=>"."+CR+"Options: (use ~ to force off, eg.~"
25=>"printe"
26=>"Syntax: *"+<string pointed to by XY+8>+" <filename>"
27=>"select"
28=>"xpression"
29=>Syntax: *"+<string pointed to by XY+8>+"["
30=>"sprite"
31=>" displays"
32=>"free space"
33=>" {off}"
34=>"library"
35=>"parameter"
36=>"object"
37=>" all "
38=>"disc"
39=>" to "
40=>" is "
00000000  0d 4d 41 4e 55 41 4c 20  46 4f 52 20 50 52 45 54  |.MANUAL FOR PRET|
00000010  54 59 50 52 49 4e 54 20  28 36 35 30 32 20 52 4f  |TYPRINT (6502 RO|
00000020  4d 20 69 6d 61 67 65 29  0d 54 68 69 73 20 66 69  |M image).This fi|
00000030  6c 65 20 64 65 73 63 72  69 62 65 73 20 74 68 65  |le describes the|
00000040  20 52 4f 4d 20 69 6d 61  67 65 20 50 52 45 54 54  | ROM image PRETT|
00000050  59 50 52 49 4e 54 20 77  68 69 63 68 20 61 64 64  |YPRINT which add|
00000060  73 20 27 4f 53 5f 50 72  65 74 74 79 50 72 69 6e  |s 'OS_PrettyPrin|
00000070  74 27 0d 73 75 70 70 6f  72 74 20 74 6f 20 74 68  |t'.support to th|
00000080  65 20 42 42 43 20 69 6e  20 61 6e 20 69 64 65 6e  |e BBC in an iden|
00000090  74 69 63 61 6c 20 6d 61  6e 6e 65 72 20 74 6f 20  |tical manner to |
000000a0  74 68 61 74 20 73 75 70  70 6c 69 65 64 20 6f 6e  |that supplied on|
000000b0  20 52 69 73 63 20 4f 53  0d 62 61 73 65 64 20 6d  | Risc OS.based m|
000000c0  61 63 68 69 6e 65 73 2e  0d 0d 54 68 65 20 6d 61  |achines...The ma|
000000d0  6e 75 61 6c 20 69 73 20  28 43 29 31 39 39 38 20  |nual is (C)1998 |
000000e0  53 50 52 4f 57 20 61 6e  64 20 73 6f 66 74 77 61  |SPROW and softwa|
000000f0  72 65 20 69 73 20 28 43  29 31 39 39 37 20 53 50  |re is (C)1997 SP|
00000100  52 4f 57 0d 0d 49 4e 53  54 52 55 43 54 49 4f 4e  |ROW..INSTRUCTION|
00000110  53 0d 2d 41 74 20 61 6e  79 20 63 6f 6d 6d 61 6e  |S.-At any comman|
00000120  64 20 6c 69 6e 65 20 70  72 6f 6d 70 74 2c 65 67  |d line prompt,eg|
00000130  2e 74 68 65 20 42 41 53  49 43 20 63 6f 6d 6d 61  |.the BASIC comma|
00000140  6e 64 20 70 72 6f 6d 70  74 20 27 3e 27 20 74 79  |nd prompt '>' ty|
00000150  70 65 20 0d 4f 4e 20 41  20 4d 41 53 54 45 52 3a  |pe .ON A MASTER:|
00000160  20 0d 2a 53 52 4c 4f 41  44 20 44 52 44 49 52 20  | .*SRLOAD DRDIR |
00000170  38 30 30 30 20 3c 73 6f  63 6b 65 74 23 3e 0d 2a  |8000 <socket#>.*|
00000180  49 4e 53 45 52 54 20 3c  73 6f 63 6b 65 74 23 3e  |INSERT <socket#>|
00000190  0d 77 68 65 72 65 20 3c  73 6f 63 6b 65 74 23 3e  |.where <socket#>|
000001a0  20 6d 61 79 20 62 65 20  37 2c 36 2c 35 2c 34 0d  | may be 7,6,5,4.|
000001b0  0d 4f 4e 20 41 20 4d 41  43 48 49 4e 45 20 57 49  |.ON A MACHINE WI|
000001c0  54 48 20 53 57 52 41 4d  3a 20 2a 4c 4f 41 44 20  |TH SWRAM: *LOAD |
000001d0  44 52 44 49 52 20 38 30  30 30 20 61 6e 64 20 70  |DRDIR 8000 and p|
000001e0  72 65 73 73 20 43 54 52  4c 2d 42 52 45 41 4b 20  |ress CTRL-BREAK |
000001f0  74 6f 0d 69 6e 69 74 69  61 6c 69 73 65 2e 0d 0d  |to.initialise...|
00000200  54 68 65 20 69 6d 61 67  65 20 77 69 6c 6c 20 74  |The image will t|
00000210  68 65 6e 20 62 65 20 69  6e 73 74 61 6c 6c 65 64  |hen be installed|
00000220  20 69 6e 74 6f 20 74 68  65 20 63 68 6f 73 65 6e  | into the chosen|
00000230  20 73 6f 63 6b 65 74 20  77 68 65 72 65 20 69 74  | socket where it|
00000240  20 77 69 6c 6c 20 77 61  69 74 20 66 6f 72 20 74  | will wait for t|
00000250  68 65 0d 75 73 65 72 20  74 6f 20 69 73 73 75 65  |he.user to issue|
00000260  20 6f 6e 65 20 6f 66 20  74 68 65 20 66 6f 6c 6c  | one of the foll|
00000270  6f 77 69 6e 67 20 74 77  6f 20 73 74 69 6d 75 6c  |owing two stimul|
00000280  69 20 0d 4f 53 57 4f 52  44 20 43 41 4c 4c 2d 41  |i .OSWORD CALL-A|
00000290  20 3d 26 34 37 20 61 6e  64 20 58 26 59 0d 70 6f  | =&47 and X&Y.po|
000002a0  69 6e 74 20 74 6f 20 61  20 63 6f 6e 74 72 6f 6c  |int to a control|
000002b0  20 62 6c 6f 63 6b 20 69  6e 20 6d 65 6d 6f 72 79  | block in memory|
000002c0  20 0d 0d 58 59 2b 30 30  20 34 20 62 79 74 65 20  | ..XY+00 4 byte |
000002d0  70 6f 69 6e 74 65 72 20  74 6f 20 6e 75 6c 6c 20  |pointer to null |
000002e0  74 65 72 6d 69 6e 61 74  65 64 20 73 74 72 69 6e  |terminated strin|
000002f0  67 20 74 6f 20 70 72 69  6e 74 20 28 6c 6f 77 20  |g to print (low |
00000300  62 79 74 65 20 66 69 72  73 74 29 20 0d 58 59 2b  |byte first) .XY+|
00000310  30 34 20 34 20 62 79 74  65 20 20 70 6f 69 6e 74  |04 4 byte  point|
00000320  65 72 20 74 6f 20 75 73  65 72 20 64 69 63 74 69  |er to user dicti|
00000330  6f 6e 61 72 79 2c 6f 72  20 30 20 74 6f 20 75 73  |onary,or 0 to us|
00000340  65 20 62 75 69 6c 74 20  69 6e 20 64 69 63 74 69  |e built in dicti|
00000350  6f 6e 61 72 79 20 20 20  20 20 20 0d 20 20 20 20  |onary      .    |
00000360  20 20 28 6c 6f 77 20 62  79 74 65 20 66 69 72 73  |  (low byte firs|
00000370  74 29 0d 58 59 2b 30 38  20 34 20 62 79 74 65 20  |t).XY+08 4 byte |
00000380  70 6f 69 6e 74 65 72 20  74 6f 20 6e 75 6c 6c 20  |pointer to null |
00000390  74 65 72 6d 69 6e 61 74  65 64 20 27 73 70 65 63  |terminated 'spec|
000003a0  69 61 6c 20 73 74 72 69  6e 67 27 20 28 6c 6f 77  |ial string' (low|
000003b0  20 62 79 74 65 20 66 69  72 73 74 29 0d 58 59 2b  | byte first).XY+|
000003c0  31 32 20 53 6f 75 72 63  65 20 6f 66 20 73 74 72  |12 Source of str|
000003d0  69 6e 67 20 74 6f 20 70  72 69 6e 74 2c 30 30 3d  |ing to print,00=|
000003e0  52 41 4d 20 31 32 38 20  2b 20 73 6f 63 6b 65 74  |RAM 128 + socket|
000003f0  3d 52 4f 4d 0d 58 59 2b  31 33 20 53 6f 75 72 63  |=ROM.XY+13 Sourc|
00000400  65 20 6f 66 20 75 73 65  72 20 64 69 63 74 69 6f  |e of user dictio|
00000410  6e 61 72 79 2c 30 30 3d  52 41 4d 20 31 32 38 2b  |nary,00=RAM 128+|
00000420  73 6f 63 6b 65 74 3d 52  4f 4d 20 69 66 20 20 58  |socket=ROM if  X|
00000430  59 2b 30 34 20 69 73 20  6e 6f 6e 0d 20 20 20 20  |Y+04 is non.    |
00000440  20 20 7a 65 72 6f 0d 58  59 2b 31 34 20 53 6f 75  |  zero.XY+14 Sou|
00000450  72 63 65 20 6f 66 20 27  73 70 65 63 69 61 6c 20  |rce of 'special |
00000460  73 74 72 69 6e 67 27 2c  30 30 3d 52 41 4d 20 31  |string',00=RAM 1|
00000470  32 38 2b 73 6f 63 6b 65  74 3d 52 4f 4d 0d 0d 43  |28+socket=ROM..C|
00000480  4f 4d 4d 41 4e 44 20 4c  49 4e 45 2d 0d 2a 48 45  |OMMAND LINE-.*HE|
00000490  4c 50 20 22 66 69 6c 65  6e 61 6d 65 22 20 20 77  |LP "filename"  w|
000004a0  68 65 72 65 20 22 66 69  6c 65 6e 61 6d 65 22 20  |here "filename" |
000004b0  63 6f 6e 74 61 69 6e 73  20 61 20 20 76 61 6c 69  |contains a  vali|
000004c0  64 20 77 61 64 67 65 20  6f 66 20 74 65 78 74 20  |d wadge of text |
000004d0  61 6e 64 20 20 20 20 20  20 20 20 20 20 20 20 20  |and             |
000004e0  20 20 20 20 20 20 20 0d  20 20 20 20 20 20 20 20  |       .        |
000004f0  20 20 20 20 20 20 20 20  20 20 73 74 61 72 74 73  |          starts|
00000500  20 77 69 74 68 20 61 20  31 35 20 62 79 74 65 20  | with a 15 byte |
00000510  62 6c 6f 63 6b 20 61 73  20 74 68 6f 75 67 68 20  |block as though |
00000520  69 74 20 68 61 64 20 62  65 65 6e 20 0d 20 20 20  |it had been .   |
00000530  20 20 20 20 20 20 20 20  20 20 20 20 20 20 20 65  |               e|
00000540  6e 74 65 72 65 64 20 61  73 20 61 6e 20 4f 53 57  |ntered as an OSW|
00000550  6f 72 64 2e 0d 20 20 20  20 20 20 20 20 20 20 20  |ord..           |
00000560  20 20 20 20 20 20 20 54  6f 20 6d 61 6b 65 20 61  |       To make a|
00000570  20 66 69 6c 65 20 74 68  61 74 20 69 73 20 73 75  | file that is su|
00000580  69 74 61 62 6c 65 20 66  6f 72 20 75 73 65 20 69  |itable for use i|
00000590  6e 20 74 68 69 73 20 6d  61 6e 6e 65 72 20 0d 20  |n this manner . |
000005a0  20 20 20 20 20 20 20 20  20 20 20 20 20 20 20 20  |                |
000005b0  20 69 73 20 72 65 61 6c  6c 79 20 65 61 73 79 2e  | is really easy.|
000005c0  20 59 6f 75 20 6a 75 73  74 20 74 61 6b 65 20 79  | You just take y|
000005d0  6f 75 72 20 70 72 65 74  74 79 70 72 69 6e 74 20  |our prettyprint |
000005e0  74 65 78 74 20 0d 20 20  20 20 20 20 20 20 20 20  |text .          |
000005f0  20 20 20 20 20 20 20 20  61 6e 64 20 74 68 65 6e  |        and then|
00000600  20 70 75 74 20 74 68 65  20 31 35 20 62 79 74 65  | put the 15 byte|
00000610  20 4f 53 57 6f 72 64 20  62 6c 6f 63 6b 20 61 74  | OSWord block at|
00000620  20 74 68 65 20 62 65 67  69 6e 6e 69 6e 67 0d 20  | the beginning. |
00000630  20 20 20 20 20 20 20 20  20 20 20 20 20 20 20 20  |                |
00000640  20 6f 66 20 74 68 65 20  66 69 6c 65 2e 20 20 20  | of the file.   |
00000650  20 20 20 20 20 20 20 20  20 20 20 20 20 20 20 20  |                |
00000660  20 0d 20 20 20 20 20 20  20 20 20 20 20 20 20 20  | .              |
00000670  20 20 20 20 42 65 63 61  75 73 65 20 74 68 65 20  |    Because the |
00000680  4f 53 57 6f 72 64 20 62  6c 6f 63 6b 20 6e 65 65  |OSWord block nee|
00000690  64 73 20 61 64 64 72 65  73 73 65 73 20 70 75 74  |ds addresses put|
000006a0  74 69 6e 67 20 69 6e 20  69 74 2c 20 0d 20 20 20  |ting in it, .   |
000006b0  20 20 20 20 20 20 20 20  20 20 20 20 20 20 20 79  |               y|
000006c0  6f 75 27 6c 6c 20 6e 65  65 64 20 74 6f 20 73 70  |ou'll need to sp|
000006d0  65 63 69 66 79 20 61 20  53 45 4e 53 49 42 4c 45  |ecify a SENSIBLE|
000006e0  20 6c 6f 61 64 20 61 64  64 72 65 73 73 20 69 6e  | load address in|
000006f0  20 74 68 65 20 0d 20 20  20 20 20 20 20 20 20 20  | the .          |
00000700  20 20 20 20 20 20 20 20  66 69 6c 65 27 73 20 63  |        file's c|
00000710  61 74 61 6c 6f 67 75 65  20 65 6e 74 72 79 2e 0d  |atalogue entry..|
00000720  0d 45 58 49 54 20 4d 45  53 53 41 47 45 53 0d 2d  |.EXIT MESSAGES.-|
00000730  4d 69 73 73 69 6e 67 20  22 20 2d 20 74 68 65 20  |Missing " - the |
00000740  63 6f 6d 6d 61 6e 64 20  6c 69 6e 65 20 68 61 64  |command line had|
00000750  20 61 20 63 6c 6f 73 69  6e 67 20 64 69 74 74 6f  | a closing ditto|
00000760  20 6d 69 73 73 69 6e 67  20 0d 44 69 63 74 69 6f  | missing .Dictio|
00000770  6e 61 72 79 20 65 6e 74  72 79 20 6e 6f 74 20 66  |nary entry not f|
00000780  6f 75 6e 64 20 2d 20 61  6e 20 65 73 63 61 70 65  |ound - an escape|
00000790  20 73 65 71 75 65 6e 63  65 20 6e 75 6d 62 65 72  | sequence number|
000007a0  20 77 61 73 20 6f 75 74  20 6f 66 20 72 61 6e 67  | was out of rang|
000007b0  65 20 0d 4c 6f 61 64 20  61 64 64 72 65 73 73 20  |e .Load address |
000007c0  74 6f 6f 20 6c 6f 77 20  2d 20 74 68 65 20 66 69  |too low - the fi|
000007d0  6c 65 20 73 70 65 63 69  66 69 65 64 20 6f 6e 20  |le specified on |
000007e0  74 68 65 20 63 6f 6d 6d  61 6e 64 20 6c 69 6e 65  |the command line|
000007f0  20 6c 6f 61 64 65 64 20  69 6e 20 61 74 0d 61 20  | loaded in at.a |
00000800  73 69 6c 6c 79 20 70 6c  61 63 65 20 69 6e 20 74  |silly place in t|
00000810  68 65 20 6d 65 6d 6f 72  79 20 6d 61 70 20 0d 46  |he memory map .F|
00000820  69 6c 65 20 6e 6f 74 20  66 6f 75 6e 64 20 2d 20  |ile not found - |
00000830  74 68 65 20 66 69 6c 65  20 73 70 65 63 69 66 69  |the file specifi|
00000840  65 64 20 6f 6e 20 74 68  65 20 63 6f 6d 6d 61 6e  |ed on the comman|
00000850  64 20 6c 69 6e 65 20 64  6f 65 73 6e 27 74 20 65  |d line doesn't e|
00000860  78 69 73 74 20 0d 54 75  62 65 20 68 61 72 64 77  |xist .Tube hardw|
00000870  61 72 65 20 6e 6f 74 20  66 6f 75 6e 64 20 2d 20  |are not found - |
00000880  74 68 65 20 4f 53 57 6f  72 64 20 62 6c 6f 63 6b  |the OSWord block|
00000890  20 73 70 65 63 69 66 69  65 64 20 64 61 74 61 20  | specified data |
000008a0  74 6f 20 63 6f 6d 65 20  66 6f 72 6d 20 74 68 65  |to come form the|
000008b0  0d 74 75 62 65 0d 0d 4b  4e 4f 57 4e 20 50 52 4f  |.tube..KNOWN PRO|
000008c0  42 4c 45 4d 53 2f 46 55  54 55 52 45 20 45 4e 48  |BLEMS/FUTURE ENH|
000008d0  41 4e 43 45 4d 45 4e 54  53 0d 2d 4e 6f 20 6b 6e  |ANCEMENTS.-No kn|
000008e0  6f 77 6e 20 70 72 6f 62  6c 65 6d 73 20 0d 54 65  |own problems .Te|
000008f0  78 74 20 64 6f 65 73 6e  27 74 20 77 6f 72 64 20  |xt doesn't word |
00000900  77 72 61 70 20 79 65 74  20 0d 0d 48 49 53 54 4f  |wrap yet ..HISTO|
00000910  52 59 2d 56 30 2e 39 30  20 46 69 72 73 74 20 72  |RY-V0.90 First r|
00000920  65 6c 65 61 73 65 20 76  65 72 73 69 6f 6e 2c 74  |elease version,t|
00000930  6f 20 74 68 65 20 45 55  47 20 64 69 73 6b 20 75  |o the EUG disk u|
00000940  73 65 72 20 67 72 6f 75  70 20 61 6c 6f 6e 67 20  |ser group along |
00000950  77 69 74 68 0d 61 6e 20  61 72 74 69 63 6c 65 20  |with.an article |
00000960  6f 6e 20 77 6f 72 64 20  77 72 61 70 70 69 6e 67  |on word wrapping|
00000970  20 74 65 78 74 0d 0d 57  48 41 54 20 50 52 45 54  | text..WHAT PRET|
00000980  54 59 20 50 52 49 4e 54  20 49 53 0d 2d 50 72 65  |TY PRINT IS.-Pre|
00000990  74 74 79 20 70 72 69 6e  74 20 77 72 69 74 65 73  |tty print writes|
000009a0  20 61 20 73 74 72 69 6e  67 20 70 6f 69 6e 74 65  | a string pointe|
000009b0  64 20 74 6f 0d 62 79 20  61 6e 20 6f 73 77 6f 72  |d to.by an oswor|
000009c0  64 20 63 6f 6e 74 72 6f  6c 20 62 6c 6f 63 6b 2c  |d control block,|
000009d0  69 6e 20 61 64 64 69 74  69 6f 6e 74 68 65 72 65  |in additionthere|
000009e0  20 61 72 65 20 73 6f 6d  65 20 73 70 65 63 69 61  | are some specia|
000009f0  6c 20 70 72 6f 70 65 72  74 69 65 73 0d 74 68 61  |l properties.tha|
00000a00  74 20 69 74 20 6c 6f 6f  6b 73 20 6f 75 74 20 66  |t it looks out f|
00000a10  6f 72 20 74 68 6f 75 67  68 3a 0d 20 20 20 2a 20  |or though:.   * |
00000a20  41 20 63 61 72 72 69 61  67 65 20 72 65 74 75 72  |A carriage retur|
00000a30  6e 20 63 61 75 73 65 73  20 61 20 6e 65 77 6c 69  |n causes a newli|
00000a40  6e 65 20 74 6f 20 62 65  20 67 65 6e 65 72 61 74  |ne to be generat|
00000a50  65 64 20 20 20 0d 0d 20  20 20 2a 20 54 41 42 20  |ed   ..   * TAB |
00000a60  63 61 75 73 65 73 20 61  20 74 61 62 75 6c 61 74  |causes a tabulat|
00000a70  69 6f 6e 20 74 6f 20 74  68 65 20 6e 65 78 74 20  |ion to the next |
00000a80  6d 75 6c 74 69 70 6c 65  20 6f 66 20 65 69 67 68  |multiple of eigh|
00000a90  74 20 63 68 61 72 73 20  20 20 0d 0d 20 20 20 2a  |t chars   ..   *|
00000aa0  20 57 6f 72 64 20 77 72  61 70 73 2c 20 75 6e 6c  | Word wraps, unl|
00000ab0  65 73 73 20 74 68 65 20  77 6f 72 64 73 20 61 72  |ess the words ar|
00000ac0  65 20 73 65 70 61 72 61  74 65 64 20 62 79 20 43  |e separated by C|
00000ad0  48 52 24 33 31 20 28 75  73 65 64 20 61 73 20 61  |HR$31 (used as a|
00000ae0  20 68 61 72 64 0d 20 20  20 73 70 61 63 65 29 20  | hard.   space) |
00000af0  20 20 0d 0d 20 20 20 2a  20 45 53 43 20 28 41 53  |  ..   * ESC (AS|
00000b00  43 49 49 20 32 37 29 20  69 6e 64 69 63 61 74 65  |CII 27) indicate|
00000b10  73 20 74 68 61 74 20 61  20 64 69 63 74 69 6f 6e  |s that a diction|
00000b20  61 72 79 20 65 6e 74 72  79 20 73 68 6f 75 6c 64  |ary entry should|
00000b30  20 62 65 0d 20 20 20 73  75 62 73 74 69 74 75 74  | be.   substitut|
00000b40  65 64 0d 0d 54 6f 20 75  73 65 20 61 20 64 69 63  |ed..To use a dic|
00000b50  74 69 6f 6e 61 72 79 20  65 6e 74 72 79 2c 20 70  |tionary entry, p|
00000b60  6c 61 63 65 20 61 20 43  48 52 24 20 32 37 20 66  |lace a CHR$ 27 f|
00000b70  6f 6c 6c 6f 77 65 64 20  62 79 20 61 6e 20 65 6e  |ollowed by an en|
00000b80  74 72 79 20 6e 75 6d 62  65 72 20 74 6f 0d 6c 6f  |try number to.lo|
00000b90  6f 6b 20 75 70 20 69 6e  20 74 68 65 20 72 61 6e  |ok up in the ran|
00000ba0  67 65 20 31 2d 32 35 35  20 28 74 68 65 20 65 6e  |ge 1-255 (the en|
00000bb0  74 72 79 20 27 30 27 20  69 73 20 75 73 65 64 20  |try '0' is used |
00000bc0  74 6f 20 6c 6f 6f 6b 20  75 70 20 74 68 65 20 27  |to look up the '|
00000bd0  73 70 65 63 69 61 6c 0d  73 74 72 69 6e 67 27 20  |special.string' |
00000be0  70 6f 69 6e 74 65 64 20  74 6f 20 62 79 20 58 59  |pointed to by XY|
00000bf0  2b 38 29 2e 20 54 68 65  72 65 20 69 73 20 61 20  |+8). There is a |
00000c00  64 65 66 61 75 6c 74 20  64 69 63 74 69 6f 6e 61  |default dictiona|
00000c10  72 79 2c 20 77 68 69 63  68 20 64 6f 65 73 6e 27  |ry, which doesn'|
00000c20  74 0d 63 6f 6e 74 61 69  6e 20 61 6c 6c 20 32 35  |t.contain all 25|
00000c30  35 20 65 6e 74 72 69 65  73 2c 20 62 75 74 20 79  |5 entries, but y|
00000c40  6f 75 20 6d 61 79 20 6f  66 20 63 6f 75 72 73 65  |ou may of course|
00000c50  20 73 70 65 63 69 66 79  20 79 6f 75 72 20 6f 77  | specify your ow|
00000c60  6e 20 27 55 73 65 72 0d  64 69 63 74 69 6f 6e 61  |n 'User.dictiona|
00000c70  72 79 27 20 69 66 20 74  68 65 20 61 70 70 6c 69  |ry' if the appli|
00000c80  63 61 74 69 6f 6e 20 79  6f 75 20 68 61 76 65 20  |cation you have |
00000c90  69 6e 20 6d 69 6e 64 20  75 73 65 73 20 61 20 6c  |in mind uses a l|
00000ca0  6f 74 20 6f 66 20 74 68  65 20 73 61 6d 65 0d 73  |ot of the same.s|
00000cb0  74 72 69 6e 67 73 2e 20  65 67 2e 20 61 20 63 68  |trings. eg. a ch|
00000cc0  65 6d 69 73 74 72 79 20  72 65 6c 61 74 65 64 20  |emistry related |
00000cd0  70 72 6f 67 72 61 6d 2e  20 0d 0d 45 66 66 65 63  |program. ..Effec|
00000ce0  74 69 76 65 6c 79 20 74  68 69 73 20 77 69 6c 6c  |tively this will|
00000cf0  20 72 65 73 75 6c 74 20  69 6e 20 74 65 78 74 20  | result in text |
00000d00  62 65 69 6e 67 20 63 6f  6d 70 61 63 74 65 64 20  |being compacted |
00000d10  73 69 6e 63 65 20 77 68  6f 6c 65 20 77 6f 72 64  |since whole word|
00000d20  73 20 61 72 65 0d 72 65  70 6c 61 63 65 64 20 62  |s are.replaced b|
00000d30  79 20 6a 75 73 74 20 74  77 6f 20 62 79 74 65 73  |y just two bytes|
00000d40  2e 0d 0d 44 49 43 54 49  4f 4e 41 52 59 20 46 4f  |...DICTIONARY FO|
00000d50  52 4d 41 54 0d 2d 20 44  69 63 74 69 6f 6e 61 72  |RMAT.- Dictionar|
00000d60  79 20 65 6e 74 72 69 65  73 20 6d 61 79 20 72 65  |y entries may re|
00000d70  63 75 72 73 69 76 65 6c  79 20 72 65 66 65 72 20  |cursively refer |
00000d80  74 6f 20 6f 74 68 65 72  20 64 69 63 74 69 6f 6e  |to other diction|
00000d90  61 72 79 0d 65 6e 74 72  69 65 73 2c 6e 65 73 74  |ary.entries,nest|
00000da0  65 64 20 6e 6f 20 64 65  65 70 65 72 20 74 68 61  |ed no deeper tha|
00000db0  6e 20 33 32 20 6c 65 76  65 6c 73 20 28 6f 74 68  |n 32 levels (oth|
00000dc0  65 72 77 69 73 65 20 74  68 65 20 73 74 61 63 6b  |erwise the stack|
00000dd0  20 6f 76 65 72 66 6c 6f  77 73 29 0d 2e 54 68 65  | overflows)..The|
00000de0  20 66 69 72 73 74 20 62  79 74 65 20 6f 66 20 74  | first byte of t|
00000df0  68 65 65 6e 74 72 79 20  70 6f 69 6e 74 73 20 74  |heentry points t|
00000e00  6f 20 74 68 65 20 6e 65  78 74 20 65 6e 74 72 79  |o the next entry|
00000e10  2c 74 68 65 6e 20 74 68  65 72 65 27 73 20 74 65  |,then there's te|
00000e20  78 74 0d 74 65 72 6d 69  6e 61 74 65 64 20 62 79  |xt.terminated by|
00000e30  20 61 20 30 20 62 79 74  65 2e 53 6f 20 66 6f 72  | a 0 byte.So for|
00000e40  61 20 66 69 6c 65 20 6f  66 20 4e 20 73 74 72 69  |a file of N stri|
00000e50  6e 67 73 3a 0d 3c 6f 66  66 73 65 74 74 6f 73 74  |ngs:.<offsettost|
00000e60  61 72 74 6f 66 73 74 72  69 6e 67 54 57 4f 3e 3c  |artofstringTWO><|
00000e70  31 53 54 73 74 72 69 6e  67 24 6f 66 32 35 35 63  |1STstring$of255c|
00000e80  68 72 24 6f 72 6c 65 73  73 3e 3c 30 30 3e 0d 3c  |hr$orless><00>.<|
00000e90  6f 66 66 73 65 74 74 6f  73 74 61 72 74 6f 66 73  |offsettostartofs|
00000ea0  74 72 69 6e 67 54 48 52  45 45 3e 3c 32 4e 44 73  |tringTHREE><2NDs|
00000eb0  74 72 69 6e 67 24 6f 66  32 35 35 63 68 72 24 6f  |tring$of255chr$o|
00000ec0  72 6c 65 73 73 3e 3c 30  30 3e 20 20 0d 20 20 20  |rless><00>  .   |
00000ed0  3a 20 20 20 20 20 20 20  20 20 20 20 20 20 20 20  |:               |
00000ee0  20 20 20 20 20 20 20 20  20 20 20 3a 20 20 20 20  |           :    |
00000ef0  20 20 20 20 20 20 20 20  20 20 20 20 20 20 20 20  |                |
00000f00  20 20 20 20 3a 0d 20 20  20 3a 20 20 20 20 20 20  |    :.   :      |
00000f10  20 20 20 20 20 20 20 20  20 20 20 20 20 20 20 20  |                |
00000f20  20 20 20 20 3a 20 20 20  20 20 20 20 20 20 20 20  |    :           |
00000f30  20 20 20 20 20 20 20 20  20 20 20 20 20 3a 20 0d  |             : .|
00000f40  3c 6f 66 66 73 65 74 74  6f 73 74 61 72 74 6f 66  |<offsettostartof|
00000f50  73 74 72 69 6e 67 28 4e  2d 31 29 3e 3c 28 4e 2d  |string(N-1)><(N-|
00000f60  31 29 54 48 73 74 72 69  6e 67 24 6f 66 32 35 35  |1)THstring$of255|
00000f70  63 68 72 24 6f 72 6c 65  73 73 3e 3c 30 30 3e 0d  |chr$orless><00>.|
00000f80  3c 30 30 3e 3c 4e 54 48  73 74 72 69 6e 67 24 6f  |<00><NTHstring$o|
00000f90  66 32 35 35 63 68 72 24  6f 72 6c 65 73 73 3e 3c  |f255chr$orless><|
00000fa0  30 30 3e 0d 0d 44 45 46  41 55 4c 54 20 44 49 43  |00>..DEFAULT DIC|
00000fb0  54 49 4f 4e 41 52 59 0d  2d 30 30 3d 3e 3c 73 74  |TIONARY.-00=><st|
00000fc0  72 69 6e 67 20 70 6f 69  6e 74 65 64 20 74 6f 20  |ring pointed to |
00000fd0  62 79 20 58 59 2b 38 3e  0d 30 31 3d 3e 22 53 79  |by XY+8>.01=>"Sy|
00000fe0  6e 74 61 78 3a 20 2a 22  2b 3c 73 74 72 69 6e 67  |ntax: *"+<string|
00000ff0  20 70 6f 69 6e 74 65 64  20 20 74 6f 20 62 79 20  | pointed  to by |
00001000  58 59 2b 38 3e 0d 30 32  3d 3e 22 20 74 68 65 20  |XY+8>.02=>" the |
00001010  22 0d 30 33 3d 3e 22 64  69 72 65 63 74 6f 72 22  |".03=>"director"|
00001020  0d 30 34 3d 3e 22 66 69  6c 69 6e 67 20 73 79 73  |.04=>"filing sys|
00001030  74 65 6d 22 0d 30 35 3d  3e 22 63 75 72 72 65 6e  |tem".05=>"curren|
00001040  74 22 0d 30 36 3d 3e 22  20 74 6f 20 61 20 76 61  |t".06=>" to a va|
00001050  72 69 61 62 6c 65 2e 20  4f 74 68 65 72 20 74 79  |riable. Other ty|
00001060  70 65 73 20 6f 66 20 76  61 6c 75 65 73 20 63 61  |pes of values ca|
00001070  6e 20 62 65 20 61 73 73  69 67 6e 65 64 20 77 69  |n be assigned wi|
00001080  74 68 20 20 2a 22 0d 30  37 3d 3e 22 66 69 6c 65  |th  *".07=>"file|
00001090  22 0d 30 38 3d 3e 22 64  65 66 61 75 6c 74 20 22  |".08=>"default "|
000010a0  0d 30 39 3d 3e 22 74 69  6f 6e 22 0d 31 30 3d 3e  |.09=>"tion".10=>|
000010b0  22 2a 43 6f 6e 66 69 67  75 72 65 22 0d 31 31 3d  |"*Configure".11=|
000010c0  3e 22 6e 61 6d 65 22 0d  31 32 3d 3e 22 20 73 65  |>"name".12=>" se|
000010d0  72 76 65 72 22 0d 31 33  3d 3e 22 6e 75 6d 62 65  |rver".13=>"numbe|
000010e0  72 22 0d 31 34 3d 3e 22  53 79 6e 74 61 78 3a 20  |r".14=>"Syntax: |
000010f0  2a 22 2b 3c 73 74 72 69  6e 67 20 70 6f 69 6e 74  |*"+<string point|
00001100  65 64 20 74 6f 20 62 79  20 58 59 2b 38 3e 2b 20  |ed to by XY+8>+ |
00001110  22 20 3c 22 0d 31 35 3d  3e 22 20 6f 6e 65 20 6f  |" <".15=>" one o|
00001120  72 20 6d 6f 72 65 20 66  69 6c 65 73 20 74 68 61  |r more files tha|
00001130  74 20 6d 61 74 63 68 20  74 68 65 20 67 69 76 65  |t match the give|
00001140  6e 20 77 69 6c 64 63 61  72 64 22 0d 31 36 3d 3e  |n wildcard".16=>|
00001150  22 20 61 6e 64 22 0d 31  37 3d 3e 22 72 65 6c 6f  |" and".17=>"relo|
00001160  63 61 74 61 62 6c 65 20  6d 6f 64 75 6c 65 22 0d  |catable module".|
00001170  31 38 3d 3e 43 52 2b 22  43 28 6f 6e 66 69 72 6d  |18=>CR+"C(onfirm|
00001180  29 22 2b 54 41 42 2b 22  50 72 6f 6d 70 74 20 66  |)"+TAB+"Prompt f|
00001190  6f 72 20 63 6f 6e 66 20  69 72 6d 61 74 69 6f 6e  |or conf irmation|
000011a0  20 6f 66 20 65 61 63 68  22 0d 31 39 3d 3e 22 73  | of each".19=>"s|
000011b0  65 74 73 20 74 68 65 22  0d 32 30 3d 3e 53 79 6e  |ets the".20=>Syn|
000011c0  74 61 78 3a 20 2a 22 2b  3c 73 74 72 69 6e 67 20  |tax: *"+<string |
000011d0  70 6f 69 6e 74 65 64 20  74 6f 20 62 79 20 58 59  |pointed to by XY|
000011e0  2b 38 3e 2b 22 20 5b 3c  64 69 73 63 20 73 70 65  |+8>+" [<disc spe|
000011f0  63 2e 3e 5d 22 0d 32 31  3d 3e 22 29 22 2b 43 52  |c.>]".21=>")"+CR|
00001200  2b 22 56 28 65 72 62 6f  73 65 29 22 2b 54 41 42  |+"V(erbose)"+TAB|
00001210  2b 22 50 72 69 6e 74 20  69 6e 66 6f 72 6d 61 20  |+"Print informa |
00001220  74 69 6f 6e 20 6f 6e 20  65 61 63 68 20 66 69 6c  |tion on each fil|
00001230  65 22 0d 32 32 3d 3e 22  73 70 72 69 74 65 4c 61  |e".22=>"spriteLa|
00001240  6e 64 73 63 61 70 65 20  5b 3c 58 53 63 61 6c 65  |ndscape [<XScale|
00001250  3e 20 5b 3c 59 53 63 61  6c 65 3e 20 5b 3c 4d 61  |> [<YScale> [<Ma|
00001260  72 67 69 6e 3e 5b 3c 54  68 72 65 73 68 6f 6c 64  |rgin>[<Threshold|
00001270  3e 5d 5d 5d 5d 5d 22 0d  32 33 3d 3e 22 69 73 20  |>]]]]]".23=>"is |
00001280  75 73 65 64 20 74 6f 20  70 72 69 6e 74 20 61 20  |used to print a |
00001290  68 61 72 64 20 63 6f 70  79 20 6f 66 20 74 68 65  |hard copy of the|
000012a0  20 73 63 72 65 65 6e 20  6f 6e 20 45 50 53 4f 4e  | screen on EPSON|
000012b0  2d 22 0d 32 34 3d 3e 22  2e 22 2b 43 52 2b 22 4f  |-".24=>"."+CR+"O|
000012c0  70 74 69 6f 6e 73 3a 20  28 75 73 65 20 7e 20 74  |ptions: (use ~ t|
000012d0  6f 20 66 6f 72 63 65 20  6f 66 66 2c 20 65 67 2e  |o force off, eg.|
000012e0  7e 22 0d 32 35 3d 3e 22  70 72 69 6e 74 65 22 0d  |~".25=>"printe".|
000012f0  32 36 3d 3e 22 53 79 6e  74 61 78 3a 20 2a 22 2b  |26=>"Syntax: *"+|
00001300  3c 73 74 72 69 6e 67 20  70 6f 69 6e 74 65 64 20  |<string pointed |
00001310  74 6f 20 62 79 20 58 59  2b 38 3e 2b 22 20 3c 66  |to by XY+8>+" <f|
00001320  69 6c 65 6e 61 6d 65 3e  22 0d 32 37 3d 3e 22 73  |ilename>".27=>"s|
00001330  65 6c 65 63 74 22 0d 32  38 3d 3e 22 78 70 72 65  |elect".28=>"xpre|
00001340  73 73 69 6f 6e 22 0d 32  39 3d 3e 53 79 6e 74 61  |ssion".29=>Synta|
00001350  78 3a 20 2a 22 2b 3c 73  74 72 69 6e 67 20 70 6f  |x: *"+<string po|
00001360  69 6e 74 65 64 20 74 6f  20 62 79 20 58 59 2b 38  |inted to by XY+8|
00001370  3e 2b 22 5b 22 0d 33 30  3d 3e 22 73 70 72 69 74  |>+"[".30=>"sprit|
00001380  65 22 0d 33 31 3d 3e 22  20 64 69 73 70 6c 61 79  |e".31=>" display|
00001390  73 22 0d 33 32 3d 3e 22  66 72 65 65 20 73 70 61  |s".32=>"free spa|
000013a0  63 65 22 0d 33 33 3d 3e  22 20 7b 6f 66 66 7d 22  |ce".33=>" {off}"|
000013b0  0d 33 34 3d 3e 22 6c 69  62 72 61 72 79 22 0d 33  |.34=>"library".3|
000013c0  35 3d 3e 22 70 61 72 61  6d 65 74 65 72 22 0d 33  |5=>"parameter".3|
000013d0  36 3d 3e 22 6f 62 6a 65  63 74 22 0d 33 37 3d 3e  |6=>"object".37=>|
000013e0  22 20 61 6c 6c 20 22 0d  33 38 3d 3e 22 64 69 73  |" all ".38=>"dis|
000013f0  63 22 0d 33 39 3d 3e 22  20 74 6f 20 22 0d 34 30  |c".39=>" to ".40|
00001400  3d 3e 22 20 69 73 20 22  0d                       |=>" is ".|
00001409
P/man1.m0
P/man1.m1
P/man1.m2
P/man1.m4
P/man1.m5