Hi
Manling,
there
is a variable called START in the YAMON environment. The contents of
which is executed at YAMON start-up. So if you can fit your 'edit' commands
in the space provided you're good to go. See page 22 of the YAMON user
manual (http://www.mips.com/content/Documentation/MIPSDocumentation/Software/doclibrary).
But this is getting off topic now...
Chris
-----Original Message-----
From: Ren, Manling [mailto:Manling.Ren@gbr.xerox.com]
Sent: Thursday, February 12, 2004 2:45 PM
To: linux-mips@linux-mips.org
Subject: RE: questions about making a script file for YAMON command
Dear the technical support team,I am running YAMON on pb1100 board in Linux. At the YAMON prompt, I need to change some registers by using the command "edit -32 0x########" several times. I wonder if I can put all these "edit" commands into a script file then run this file without typing any more commands? How can I achieve this if it is possible. It seems that the "load" command in YAMON is only supported srec file. Could you give me some clues please. Thanks a lot.Regards,Manling____________________________
Manling Ren JWelwyn OPDU Software Architecture Team
OPDU
Xerox Limited Technical Centre
DP2
Bessemer Road
Welwyn Garden City AL7 1HE
Hertfordshire
UK
% +44 (0)1707 35 2704
( 8 668 2704 (xerox intranet)
4 +44 (0)1707 35 3947
* Manling.Ren@gbr.xerox.com
_________________________________