beautypg.com

Texas Instruments TMS370 User Manual

Page 92

background image

Using Keystroke Capture Files

D-2

Using Keystroke Capture Files

Example D–1. Keystroke File Example.key

C$DARW

choose device

$DARW

move cursor down to 370C756 device

$DARW
$DARW
$DARW
$DARW
$F5

select this device

$ESC

go back to top menu

d$F3

go to display window, select address 4000h

40000h$CR

f4000h$CR

fill memory starting at address 4000h

4000h$CR

length of fill 4000h bytes

0ffh$CR

fill value 0FFh

1\demo\a.out$CR

load object file ‘\demo\a.out’

$CR
$SRECORD

stop replaying keystroke file

To replay this keystroke file, invoke the programmer with a /k option followed
immediately by the filename.

prgrm370 /kexample.key

From the code above, nonprintable characters are recorded as text names
preceded with $. Table D–1 lists the valid nonprintable characters.

Table D–1. Valid Nonprintable Characters

Text Name

Actual Keystroke

$BS

back space

$CR

return

$DARW

down arrow

$DEL

delete

$DOL

$

$ESC

escape

$F0

F10

$F1

F1

$F2

F2

$F3

F3

$F4

F4

$F5

F5

$F6

F6

$F7

F7

$F8

F8

$F9

F9