Master Spy Version 3

Appendix A

Parameter list for configuration of the program
Goto Bottom of File

Introduction

Please read this in conjunction with the Configuration chapter in the Master Spy Manual.

The Master Spy can be configured as follows :

  1. Exec the Master Spy
  2. Press [ENTER} to load it into itself
  3. Identify the parameter you want to change from the list and note its offset.
  4. Hold down [CTRL] and press [M] to move.
  5. Press [O] to move to the offset from the files beginning
  6. Type the offset number and press [ENTER]
  7. Alter the parameter byte(s) according to the instructions in the manual.
  8. Hold down [CTRL] and press [W] to write the altered exe file.
  9. Accept the original name by pressing [ENTER]] and confirm it as executable

You can configure the following items:


Blocks of related parameters may be preceded by some introductory text. Each parameter in the following list has this information :

  1. Description of the function of the parameter.
  2. Offset from the beginning of the file.
  3. Flag of two characters to be found in the code just before the parameter byte(s)
  4. Bytes in the parameter.
  5. Default value in the Master Spy.
  6. Range of values that you can enter.

Number of Views :

You can alter the number of views that Master Spy will support. A maximum of five views are supported per file so the default value of 15 allows up to 15 files with one view each, through many combinations, to 3 files with 5 views each.


Description : Stack Length
Offset:
34
Flag:
SL
Bytes :
1
Default :
15
Range :
1 - QL Limit


Main Console :

colours, columns, lines scrolling etc.

You can change the following attributes of the Main Console window. This window displays the contents of the file being edited.

Description : Main Console initial line count
Offset :
747
Flag :
MN
Bytes :
2
Default :
65535 ( 65535 = As many lines as possible at 10 pixels per line )
Range :
3 - 65535
Main Console initial column count
Offset :
749
Flag :
MN
Bytes :
2
Default :
65535 ( 65535 = as many columns as possible at 6 pixels per column width )
Range :
40 - 65535
Main console Border colour
Offset :
751
Flag :
MN
Bytes :
1
Default :
239 ( 239 = stipple )
Range :
0 - 255
Main console paper colur
Offset :
752
Flag :
MN
Bytes :
1
Default :
0 ( 0 = black )
Range :
0 - 255
Main console ink colour
Offset :
753
Flag :
MN
Bytes :
1
Default :
4 ( 4 = green )
Range :
0 - 255
Scrolling Columns for ALT/Down / Up
Offset :
777
Flag :
SC
Bytes :
2
Default :
0 ( 0 = scroll all the columns in the window )
Range :
0 - 255

Try 32 or similar for slower QL variants ( poke bytes 0 followed by 32 )

Maximum bytes per line
Offset :
1305
Flag :
EL
Bytes :
2
Default :
128
Range :
Max to 32767

Causes long lines to be wrapped at the chosen columns on the screen )


Echo Console

You can change the following attributes of the Echo console window. The window appears when you press [F1]. It displays one window of bytes from a help file, or any other small file you wish to view without editing. You can also preset the file's name.

Echo Console Line count
Offset :
757
Flag :
EC
Bytes :
2
Default :
65535 ( 65535 = as many lines as possible at 10 pixels per line. )
Range :
3 - 65535
Echo Console column count
Offset :
759
Flag :
EC
Bytes :
2
Default :
65535 ( 65535 = As many columns as possible at 6 pixels per character width )
Range :
40 - 65535
Echo Console border colour
Offset :
761
Flag :
EC
Bytes :
1
Default :
239 ( 239 = Stipple )
Range :
0-255

Echo console paper colour
Offset :
762
Flag :
EC
Bytes :
1
Default :
0 ( 0 = Black )
Range :
0 - 255
Echo Console ink colour
Offset :
763
Flag :
EC
Bytes :
1
Default :
4 ( 4 = Green )
Range :
0 - 255

Echo Name length
Offset :
1108
Flag :
EN
Bytes :
1
Default :
9
Range :
0 - 36

( This must equal the number of characters in the text below )

Echo Name text
Offset :
1109
Flag :
EN
Bytes :
36
Default :
flp1_help
Range :

Command Console

You can change the following attributes of the Command Console window. this displays one line of status, menu or query text. The ammount of information shown can be preset.

Command Console paper colour
Offset :
767
Flag :
CM
Bytes :
1
Default :
4 ( 4 = Green for the background of characters )
Range :
0 - 255
Command Console ink colour
Offset :
768
Flag :
CM
Bytes :
1
Default :
0 ( 0 = Black for characters )
Range :
0 - 255
Command Console highlight paper colour
Offset :
769
Flag :
CM
Bytes :
1
Default :
2 ( 2 = Red for the background of title characters on the status line )
Range :
0 - 255
Command Console highlight ink colour
Offset :
770
Flag :
CM
Bytes :
1
Default :
7 ( 7 = White for title characters on the status line )
Range :
0 - 2
Status Line quality
Offset :
1665
Flag :
ST
Bytes :
1
Default :
1
Range :
0 - 2

Error Console Window :

You can change the following attributes of the Error Console Window. this window displays one line of text describing errors which occur.

Error Message paper colour
Offset :
773
Flag :
ER
Bytes :
1
Default :
2 ( 2 = Red for the background )
Range :
0 - 255
Error Message ink colour
Offset :
784
Flag :
ER
Bytes :
1
Default :
7 ( 7 = White for the characters )
Range :
0 - 255

Window Manager :

Master Spy's own window manager allows fast screen updates for users with hardware supporting the original QL's screen of 512 x 256 pixels in 4 colours starting at ¢20000. It works when you switch between views or use [F3] or [SHIFT][F3] windows.

Should Window images be stored ?
Offset :
781
Flag :
SI
Bytes :
1
Default :
0
Range :
0(No) / 1(Yes)

Disabled by default as SMSQ screen start addresses vary.

Check Mode 0 is set on entry ?
Offset :
784
Flag :
CH
Bytes :
1
Default :
0
Range :
0(No) / 1(Yes)

Mode 0 = 4 colours. The screen mode on entry will not be changed if this is set to 0.


Key Definitions

You can choose which key combinations execute which cursor movements and editing routines. Master Spy is set to observe current usage by default.

Key definition for 'View Up'
Offset :
615
Flag :
KD
Bytes :
1
Default :
210 ( [CONTROL][UP] )
Range :
0 - 255
Key definition for 'View Down'
Offset :
616
Flag :
KD
Bytes :
1
Default :
218 ( [CONTROL][DOWN] )
Range :
0 - 255
Key definition for 'Scroll Up'
Offset :
617
Flag :
KD
Bytes :
1
Default :
209 ( [ALT][UP] )
Range :
0 - 255
Key definition for 'Scroll Down'
Offset :
618
Flag :
KD
Bytes :
1
Default :
217 ( [ALT][DOWN] )
Range :
Key definintion for 'Pan Left'
Offset :
619
Flag :
KD
Bytes :
1
Default :
197 ( [SHIFT][ALT][LEFT] )
Range :
0 -255
Key definition for 'Pan Right'
Offset :
620
Flag :
KD
Bytes :
1
Default :
205 ( [[SHIFT][ALT][RIGHT] )
Range :
0 - 255
Key definition for 'Line Start'
Offset :
623
Flag :
KD
Bytes :
1
Default :
193 ( [ALT][LEFT] )
Range :
0 - 255
Key definition for 'Line End'
Offset :
622
Flag :
KD
Bytes :
1
Default :
201 ([ALT][RIGHT] )
Range :
0 - 255
Key definition for 'Window Up'
Offset :
623
Flag :
KD
Bytes :
1
Default :
212 ( [SHIFT][UP] )
Range :
0 - 255
Key definition for 'Window Down'
Offset :
624
Flag :
KD
Bytes :
1
Default :
220 ( [SHIFT][DOWN] )
Range :
0 - 255
Key definition for 'Word Left'
Offset :
635
Flag :
KD
Bytes :
1
Default :
196 ( [SHIFT][LEFT] )
Range :
0 - 255
Key definition for 'Word Right'
Offset :
626
Flag :
KD
Bytes :
1
Default :
204 ( {SHIFT]{RIGHT] )
Range :
0 - 255
Key definition for 'Delete Lines Up'
Offset :
627
Flag :
KD
Bytes :
1
Default :
211 ( [CONTROL][ALT][UP] )
Range :
0 - 255
Key definition for 'Delete Lines Down'
Offset :
628
Flag :
KD
Bytes :
1
Default :
219 ( [CONTROL][ALT][DOWN] )
Range :
0 - 255
Key definition for 'Delete Line Left'
Offset :
629
Flag :
KD
Bytes :
1
Default :
195 ( [CONTROL][ALT][LEFT])
Range :
0 - 255
Key definition for 'Delete Line Right'
Offset :
630
Flag :
KD
Bytes :
1
Default :
203 ( [CONTROL][ALT][RIGHT] )
Range :
0 - 255
Key definition for 'Delete Word Left'
Offset :
631
Flag :
KD
Bytes :
1
Default :
198 ( [CONTROL][SHIFT[LEFT] )
Range :
0 - 255
Key definition for 'Delete Word Right'
Offset :
632
Flag :
KD
Bytes :
1
Default :
206 ( [CONTROL][SHIFT[RIGHT] )
Range :
0 - 255
Key definition for 'Top of File'
Offset :
633
Flag :
KD
Bytes :
1
Default :
213 ([SHIFT][ALT][UP])
Range :
0 - 255
Key definition for 'Bottom of File'
Offset :
634
Flag :
KD
Bytes :
1
Default :
221 ([SHIFT][ALT][DOWN])
Range :
0 - 255
Key definition for 'Standard Newline'
Offset :
635
Flag :
KD
Bytes :
1
Default :
10 ( [ENTER] )
Range :
0 - 255
Key definition for 'Intelligent Newline'
Offset :
636
Flag :
KD
Bytes :
1
Default :
254 ( [SHIFT][ENTR] )
Range :
0 - 255

Read

The Read routine calculates the workspace likely to be required for editing a file. These parameters affect the calculation process.

Minimum workspace offered for small files
Offset :
807
Flag :
HP
Bytes :
4
Default :
20480
Range :
0 - QL Limit
Overhead added during calculation
Offset :
811
Flag :
HP
Bytes :
4
Default :
10240
Range :
0 - QL Limit

You can set the Master Spy to read in a pre-determined file

Length of default file name for Read
Offset :
1204
Flag :
FN
Bytes :
1
Default :
0
Range :
0 - 36
Text of default file name for Read
Offset :
1205
Flag :
FN
Bytes :
36
Default :
Blank
Range :

Computer Responsiveness

the System's responsiveness is governed by two system variables. Master Spy can be set to change these and does so by default.

Alter Key response on entry and exit ?
Offset :
1181
Flag :
SK
Bytes :
1
Default :
1
Range :
0(No) / 1(Yes)
Key Repeat Delay
Offset :
1010
Flag :
KY
Bytes :
1
Default :
1
Range :
0 - 255
Key Repeat Frequency
Offset :
1012
Flag :
KY
Bytes :
1
Default :
1
Range :
0 - 255

Job Priority

Master Spy's job priority determines the amount of processor time it gets compared to other jobs running at the same time

Job Priority for Master Spy
Offset :
1178
Flag :
JP
Bytes :
1
Default :
32
Range :
1 - 127

Set Automatic Overwrite

The File Write Routine can be set to automatically overwrite an existing file.

Auto Overwrite during File Write ?
Offset :
1184
Flag :
AO
Bytes :
1
Default :
0
Range :
0(No) / 1(Yes)

Caps Lock Indicator

Scan Caps Lock Status
Offset :
1187
Flag :
CS
Bytes :
1
Default :
0
Range :
0(No) / 1(Yes)

Find String

You can preset the contents of the Find string and the direction of search

Length of Down / Up Find string
Offset :
1312
Flag :
FD
Bytes :
1
Default :
0
Range :
0 - 32
Text of Down / Up Find string
Offset :
1313
Flag :
FD
Bytes :
32
Default :
Blank
Range :
Direction of Find used by [F2]
Offset :
1527
Flag :
DF
Bytes :
1
Default :
1
Range :
1(Down) 2(Up)

Exchange String

You can preset the contents of the old and new Exchange strings, the direction of the search, whether exchanges can be repeated, and whether exchanges are queried before being made.

Length of old Exchange String
Offset :
1348
Flag :
EX
Bytes :
1
Default :
0
Range :
0 - 64
Text of Old Exchange String
Offset :
1349
Flag :
EX
Bytes :
64
Default :
Blank
Range :
Length of new Exchange String
Offset :
1414
Flag :
EX
Bytes :
1
Default :
0
Range :
0 - 64
Text of new Exchange String
Offset :
1415
Flag :
EX
Bytes :
64
Default :
Blank
Range :
Direction of Exchange used by [SHIFT][F2]
Offset :
1530
Flag :
DE
Bytes :
1
Default :
1
Range :
1(Down) 2(Up)
Repeatedly exchange always ?
Offset :
1533
Flag :
RE
Bytes :
1
Default :
0
Range :
0(No) 1(yes)
Query each exchange always ?
Offset :
1536
Flag :
QE
Bytes :
1
Default :
0
Range :
0(No) 1(yes)

Block Write

You can preset the file name offered by the Block Write routine.

Length of Block Write file name
Offset :
1482
Flag :
BN
Bytes :
1
Default :
0
Range :
0 - 36
Text of Block Write file name
Offset :
1483
Flag :
BN
Bytes :
36
Default :
Blank
Range :

Tab settings

Pressing the Tabulate key, ( above the Caps Lock key on the keyboard ) causes the cursor to move to a multiple of tabulation distance. the character under the cursor and those to its right move with the cursor.

Tabulation distance on entry
Offset :
1658
Flag :
MT
Bytes :
1
Default :
10
Range :
0 - 32767

Edit Mode

You can preset the edit mode used to edit files.

Edit Mode on Entry
Offset :
1661
Flag :
MD
Bytes :
1
Default :
1
Range :
0(Overwrite) 1(Insert)
Goto Top of File

This file was converted into html format by Roy Wood. Last edited Sunday 30 March 1997