home *** CD-ROM | disk | FTP | other *** search
- SWITrace v1.00
- Copyright Greg Stewart-Nicholls and Teknologika ltd.
-
- This program is supplied as Freeware. It may not be used in commercial
- products, nor distributed for profit. Apart from that, you can pretty
- much do as you like with it.
-
-
- SWITrace enables you (as the name implies) to trace the execution of SWI
- calls. The program is provided as a module, which implements 3 commands.
-
- Trace - Activates SWI tracing
- TraceOff - Disables tracing
- TraceFmt - Formats the trace file
-
- You start tracing by entering the 'Trace' command, along with a range of
- addresses. All SWI calls from code within the selected range, will be logged
- along with the contents of R0-R7. A log file name may be optionally
- supplied.
-
- NB: Trace log files grow at an astronomical rate. Unless you have
- memory and DASD to burn, be extremely careful in selecting the range of
- addresses to trace. Performance when tracing is abysmal. Try using a RAM
- log file if possible.
-
- TraceOff naturally, deactivates tracing.
-
- TraceFmt is used to format the trace log into something legible. Supply
- the log file name, along with an output file name.
- Below is a couple of sample trace entries:
-
- SWI Trace Log from 0181FB94 to 01830000
-
- SWI : 00020005 XOS_CLI
- At Address : 01820CB0
- Regs : R0-01828DA5 R1-00000000 R2-00000020 R3-000000FF
- R4-00000003 R5-00000154 R6-00000000 R7-FFFFFFFF
-
- SWI : 00020006 XOS_Byte
- At Address : 018217A8
- Regs : R0-00000004 R1-00000002 R2-00000020 R3-0181DE14
- R4-00000003 R5-00000154 R6-00000000 R7-FFFFFFFF
-
-
-
- Coming attractions:
- Masking for selective SWI tracing.
- Multiple concurrent active traces.
- Trap processing for selected SWI's
-
- Bug reports and suggested improvements to: nicho@cix.compulink.co.uk
-
-
-