Mercurial > hg > Members > kono > nitros9-code
annotate 3rdparty/utils/sleuth3/csshelps.txt @ 3210:6353bb024571
Created makefile and defsfile for NoCan RAMMER module driver and descriptor
Updated rammer.asm in the NoCan driver folder to build the NoCan version of the Driver
Updated r0.asm file to create the 6MB version of the descriptor.
The makefile creates a disk image with two sets of the required drivers for
the 6309 and 6809's in their respective module folders.
/NITROS9/6309_L2/MODULES/RBF
for the 6309 files
and
/NITROS9/6809_L2/MODULES/RBF
for the 6809 files.
This will make it easier for doing a dsave from this disk image into a
normal distro disk image so people have these drivers ready for when
new memory upgrades allow compatible usage of the NoCan registers.
author | David Ladd <drencor-xeen@users.sourceforge.net> |
---|---|
date | Wed, 20 Dec 2017 15:15:49 -0600 |
parents | afd0f7d9b514 |
children |
rev | line source |
---|---|
3149
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
1 OS/9 SUPER SLEUTH |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
2 |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
3 A PROGRAM ANALYSIS AND DEBUGGING TOOL |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
4 by Edgar M.\ (Bud) Pass, Ph.D. |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
5 Computer Systems Consultants, Inc. |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
6 1454 Latta Lane, Conyers, GA 30207 |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
7 Telephone Number 404-483-1717/4570 |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
8 |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
9 OS/9* SUPER SLEUTH is a set of programs which enables the user to examine |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
10 and/or modify object program files on disk or in memory on 6809 |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
11 systems running under OS/9*. Programs may be disassembled |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
12 into source code format and the source may be displayed, printed, or |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
13 saved on disk. Labels produced by SLEUTH can be changed to labels |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
14 of the user's preference. Cross-reference listings of labels in any |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
15 Motorola assembler-formatted source file may be produced to aid in |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
16 debugging or modifying the program. Programs in ROM may be "altered" |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
17 with the revised program being saved on disk; the resultant program |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
18 could then be used to program a new ROM. Object code for 6800, 01, |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
19 02, 03, 05, 08, 09, or 6502 may be processed. 6800, 01, 02, 08, 09 |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
20 object code may be easily converted to 6809 position-independent code. |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
21 A detailed operating manual is included. |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
22 |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
23 All programs are supplied in source form on disk - assembly is required. |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
24 The system is available on 5" or 8" diskette for FLEX* or OS/9*, |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
25 or on 8" diskette for UNIFLEX*. The OS/9* version is capable of |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
26 processing programs in OS/9* or FLEX* format, the UNIFLEX* verison |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
27 is capable of processing programs in UNIFLEX* or FLEX* format, and |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
28 the FLEX* version is capable of processing only FLEX* programs. |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
29 Only the OS/9* version is described here, although the others are |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
30 similar. The operating system must be specified when SLEUTH is ordered. |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
31 |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
32 |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
33 OS/9* SLEUTH |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
34 |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
35 OS/9* SLEUTH has been designed to run under OS/9*. |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
36 The object program it analyzes may reside on diskette or |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
37 in memory. The output files it produces may be sent to diskette. |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
38 Programs in either FLEX* or OS/9* format may be analyzed by the OS/9* |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
39 version of the program; the same format is output as was input. |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
40 SLEUTH is self-instructive and has two levels of help files, |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
41 in addition to a printed manual. It is a disassembler and object file |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
42 editor for 6800, 01, 02, 03, 05, 08, 09, and 6502 CPU's. |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
43 |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
44 SLEUTH has been designed for session-oriented use. All indicators are |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
45 reset to their default values, as indicated below. The user may then |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
46 issue various commands. All SLEUTH commands are single letters. |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
47 If any other input is found when a command is expected, the command |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
48 menu is displayed. Because of the interdependence of many of the |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
49 commands, they should be issued in the proper sequence and at the |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
50 proper times. The explanation below is intended to serve as a quick |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
51 guide to elementary operation of the SLEUTH. A more complete |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
52 explanation may be found in the printed manual. |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
53 |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
54 SLEUTH is capable of processing 6800, 01, 02, 03, 05, 08, 09, and 6502 |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
55 programs. By default, it assumes that the program is a 6809 program. |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
56 The 'Z' command may be used at any time to set the CPU mode. |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
57 |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
58 The user may need to determine the current indicator settings and |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
59 control table contents. The 'L' command may be used at any time to |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
60 list the indicators and tables. |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
61 |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
62 If the user desires to process a program currently on disk, the 'S' |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
63 command may be used. 'S' will prompt for an input file name. Since |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
64 the 'S' command resets many indicators and tables, it should be |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
65 issued only near the beginning of a session. If 'S' is not issued, |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
66 or 'S' is issued but no file name is entered, then SLEUTH assumes |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
67 that the object program resides in memory. Under OS/9, if '*' is |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
68 entered rather than a file name, SLEUTH will attempt to load the |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
69 next module of a multi-module program. |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
70 |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
71 One command which should be used before an 'S' command, if desired, is |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
72 the 'O' command. This command provides an offset value which is added |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
73 to each address in the program being processed. If the program is |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
74 to be processed from disk, the offset value is applied when the map |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
75 is created (when the input file name is specified). If the program is |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
76 to be processed from main memory, the offset value may be changed as |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
77 often as desired, since the offset value is applied during the actual |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
78 process of acquiring the data from memory. The offset |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
79 value is ignored during loading and processing of OS/9* modules. |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
80 |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
81 If the program is being processed from disk, the starting and ending |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
82 addresses will be set automatically. The transfer address will be set if |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
83 it is present in the file. For FLEX* programs, the 'N' command may be used |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
84 to set or change the start, end and transfer addresses, and the 'X' |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
85 command may be used to set or change the transfer address. If the transfer |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
86 transfer address is set to FFFF, no transfer address will be |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
87 generated in the output file. If an output is attempted and no start, |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
88 end, or transfer address has been provided, they will be requested. |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
89 |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
90 For OS/9 modules, the 'N' command may be used to provide the address |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
91 of the module header, with ending address past the end of the header. |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
92 Once recognized, an OS/9 module in memory is logically loaded just |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
93 as if it were found on disk. It is the user's responsibility to ensure |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
94 that the module remains in memory while it is being processed by SLEUTH. |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
95 The starting address of an OS/9* module is always 0000, and the |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
96 ending and transfer addresses are always determined from the |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
97 module header, whether found in memory or on disk. |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
98 |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
99 Labels are usually placed on the same line as the assembler code. |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
100 If a label is to be placed other than at the beginning of a line of |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
101 code, it is entered in one of the following formats: |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
102 |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
103 label EQU * or |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
104 label EQU *+n where n=1,2,3,4 |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
105 |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
106 The 'E' command may be used to flip a switch which will force those |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
107 labels normally printed on the same line as the code to be printed in |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
108 the format as specified above. Data labels always appear on the line |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
109 with the corresponding RMB. |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
110 |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
111 Normally, the disassembled code is generated such that the reassembled |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
112 code will resemble as closely as possible the original object file. |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
113 The 'B' command assists in producing such code by flagging all short |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
114 address instructions with '<' and all long address instructions with |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
115 '>'. The 'P' command specifies the generation of 6809 position- |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
116 independent source code from 6800, 01, 02, 03, 08, or 09 object code, |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
117 although it is does not produce position-independent data used by OS/9. |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
118 In the latter case, no particular attempt is made to produce code |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
119 corresponding to the original object program. The 'B' |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
120 (cross-assembler) switch is set by default and the 'P' |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
121 (position-independent) switch is reset by default. |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
122 |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
123 At any point after start and end addresses have been defined, the 'Q' |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
124 command may be used to format the program and display it on the |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
125 terminal. Each page of the display shows 256 bytes of the program. |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
126 The first page of the display begins at the address represented by the |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
127 starting address with the low-order byte zeroed. Then the display may |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
128 be paged forward, backward, set to an arbitrary 256-byte sector of |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
129 memory, or terminated. |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
130 Each page of the display may also be modified in a full-screen edit |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
131 manner. Data may be entered in either hexadecimal or alpha format, |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
132 depending upon the area of the screen to which the cursor is pointing. |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
133 The displayed data represents the true resolved contents of the object |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
134 program in main memory or on disk. If the input program file is |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
135 composed of multiple redefinitions or the 'Q', 'M' or 'T' command has |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
136 been used to change the value of the byte at a given address, |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
137 only the last definition of a particular byte will be displayed. |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
138 |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
139 The 'V' command is used to request a listing of the program code |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
140 between the then-defined starting and ending addresses. This listing |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
141 is produced in instruction, FCB, FCC, FDB, and RMB formats. The |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
142 readability of the listed program code may be improved substantially |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
143 in many cases thru the 'typing' of memory ranges. The 'Q' command may |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
144 be used to help determine how to split memory into contigous ranges |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
145 of instructions, constants, ignored areas, etc. |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
146 |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
147 The 'D' command is used to perform a disassembly. If a start, end, |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
148 or transfer address has not already been provided, they are requested. |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
149 Output may be optionally sent to the terminal and printer and disk files. |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
150 A reassembleable source file (with labels) is generated and output |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
151 as requested. All memory changes and memory types specified are |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
152 honored. Thus, the interpretation of memory ranges as instructions |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
153 may be overridden and FCB's, FDB's, FCC's, etc. may also be generated. |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
154 For OS/9* modules, the data storage section, module header, and |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
155 module trailer are generated automatically, and OS/9* system calls |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
156 are recognized and output in mnemonic format. |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
157 |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
158 Once an area of memory has been 'typed', the following commands may be |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
159 used to improve the output display, printout, and disk source file: |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
160 |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
161 A-FDB address range |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
162 C-FCC address range |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
163 H-FCB address range |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
164 I-instruction address range |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
165 J-instruction+ASCII address range |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
166 K-ignored address range |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
167 R-RMB address range |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
168 |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
169 Each command above will request a memory range for the given type |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
170 of memory. The last definition of a given byte is used in each case. |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
171 The 'K' and 'R' commands may not be used with OS/9 modules, since OS/9 |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
172 modules must be contigous and these commands specify discontiguous |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
173 address ranges. |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
174 |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
175 The 'M' command may be used to examine and change program code. When |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
176 a 'M' is entered, a starting address is requested. The object code |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
177 byte at this location is displayed. If the user desires to change the |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
178 byte to another value, the new value may be entered. In this case, |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
179 and in most other cases, the byte at the next location is displayed. |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
180 If '^' is entered, the byte at the previous location is displayed. |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
181 If carriage-return is entered, the command is terminated. Since the |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
182 specified memory location is not actually changed, object programs |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
183 from any source (even disk or ROM) may be logically altered. |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
184 |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
185 The 'T' command may be used to fill an entire range of program |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
186 addresses with the same one-byte hex string. When this command is |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
187 entered, the starting and ending addresses and one-byte hex string |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
188 are requested. |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
189 |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
190 The 'Y' command is used to scan for a hex string of bytes between |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
191 a given range of addresses. The beginning addresses of the matching |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
192 strings are printed in response. When the 'Y' command is entered, |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
193 the starting and ending addresses and matching string are requested. |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
194 A carriage return is used to terminate the matching string. |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
195 |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
196 The 'W' command is used to output the resulting object program to a |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
197 disk file. If no output file name has been defined, one is requested. |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
198 If the start, end and transfer addresses have not been provided, they |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
199 are requested. The output file reflects only that program code |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
200 between the start and end addresses, exclusive of ignored address |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
201 ranges. For FLEX*, ignored address ranges may be generated |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
202 explicitly (thru the 'K' command) or implicitly by not being |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
203 defined in an input file, and, after the (potentially) |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
204 revised program code has been written to the output file, |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
205 the transfer address is output if it is not equal to FFFF. |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
206 For OS/9*, the output file is created in object module format, |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
207 according to the contents of the module header already loaded. |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
208 |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
209 Although most of the SLEUTH commands are simple, repeated entry of a |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
210 large number of them may become tedious and time-consuming, especially |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
211 when a large program is being processed in an iterative fashion. The |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
212 'G' command allows the user to store commands such as 'A', 'C', 'H', 'I', |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
213 'J', 'K', 'R', 'T', 'M' in a text file and input them later to SLEUTH. |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
214 It may be used whenever the '?' prompt is displayed. Any errors |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
215 detected in the input text file cause the immediate termination of |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
216 the reading of the file and return control to the terminal. The state |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
217 of SLEUTH at a given time may thus be saved for a later execution. |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
218 |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
219 The 'U' command may be used to execute an OS/9* command |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
220 while in SLEUTH. Any command which does not interfere with SLEUTH may |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
221 be used. No check is made to determine whether a command is valid. |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
222 |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
223 The 'F' command may be used to return to OS/9*. |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
224 |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
225 |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
226 OS/9* NAME CHANGER |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
227 |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
228 The name-changer program is essentially a word substitution program. |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
229 A table of words and substitutes is read into memory and the input |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
230 file is read. All words in the input file are checked against the |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
231 substitution table and, if a match is found, the appropriate change |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
232 is made. The principal use of this facility lies in changing the |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
233 machine-generated labels produced by SLEUTH into more mnemonic names. |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
234 |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
235 To run the name changer : |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
236 |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
237 chgnam3 infile outfile wordlist #32k |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
238 |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
239 The format of each record in the substitution file is as follows: |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
240 |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
241 /old-string/new-string/ |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
242 |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
243 where '/' may be any delimiter not in either string, new-string may |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
244 be null, and old-string may not be null. |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
245 |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
246 Several substitution files are included on the program disk. They are |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
247 intended to be used with SLEUTH to help in the commenting of programs |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
248 initially running under various versions of FLEX*. Associated with |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
249 each control file is an equate file providing standard names and |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
250 comments for the corresponding version of FLEX*. By using the control |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
251 file for one version of FLEX* and the equate file for another, most |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
252 references may be automatically changed. The files are as follows: |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
253 |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
254 CSSCHGF1 CSSCHGE1 - MINI-FLEX* |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
255 CSSCHGF2 CSSCHGE2 - FLEX* 2 |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
256 CSSCHGF9 CSSCHGE9 - FLEX* 9 |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
257 |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
258 |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
259 |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
260 OS/9* CROSS-REFERENCER |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
261 |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
262 The cross-reference program processes an assembly language source file |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
263 and produces an alphabetically-sorted list of labels in that file, |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
264 the line number where each label is defined, and all line numbers on |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
265 which that label appears. Any source program formatted according to |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
266 Motorola or OS/9 assembler source code formats may be processed. |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
267 USE library calls may be optionally expanded or ignored, as required. |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
268 |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
269 To run the XRefs3: |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
270 |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
271 xrefs3 <infile >outfile #32k |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
272 |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
273 If "outfile" is ommitted, the output will be displayed on the screen. |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
274 |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
275 * FLEX and UNIFLEX trademarks of Technical Systems Consultants. |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
276 * OS/9 trademark of Microware. |
afd0f7d9b514
Add the Sleuth multipass disassembler from Bud Pass
Bill Pierce <merlinious999@gmail.com>
parents:
diff
changeset
|
277 |