25 Capturing Host Communication

This chapter describes how to capture the communication between the host and the emulator in a file, then replay it.

Introduction

TeemTalk provides a facility for capturing the communication between the host and the emulation to a file which you can replay. This is achieved using the Capture File and Replay File options on the Tools menu.

The default capture state is to capture received host data only, but you can capture both received data and data sent back to the host by the emulation by using the following command line options:

-debug

Capture data sent by host only.

-debug2way

Capture data sent by both host and emulation.

The default replay state is to the emulation, but you can direct the replay to the host only or to both host and emulation by using the following command line options:

-replay

Replay directed to emulation only.

-replayhost

Replay directed to host only.

-replayboth

Replay directed to both host and emulation.

Note that you can modify the speed at which the replay is performed by appending a number in the range 0 to 10 to the command line option, where 0 is fast and 10 is slow. For example: - replayhost8.

Introduction 269