Here are some hints to using the command console.
The console is a Scheme interpreter as implemented by the Kawa Scheme system.
In general, console commands can be run by enclosing the command in round braces.
Values are specified in decimal. Hexadecimal value can be specified by enclosing the value in double quotes.
This command will read the option register.
Commands must be typed in after the last #NiceMon:x# prompt. Most of the time the cursor will be put there automatically but sometimes you have to scroll to the end of the buffer.
NiceMon will automatically run script files that can be customized for various targets and host configurations. Here is a sequence of events illustrating when the special scripts are run.
NiceMon is started
default.scm is run
This script is part of the NiceMon distribution. It is automatically run every time NiceMon is started.
user-default.scm is run if it exists
Users can create this script if they need commands to execute every time NiceMon is started. NiceMon will look for this file in the NiceMon home directory.
an object file is opened for debugging
default-pre.scm is run
This script is part of the NiceMon distribution. It is automatically run before any object file is opened for debugging.
user-default-pre.scm is run if it exists
Users can create this script if they need commands to be executed before any object file is opened for debugging. NiceMon will look for this file in the NiceMon home directory.
<object file name>-pre.scm is run if it exists
Users can create scripts to be run before an object file is opened. This script must be located in the same directory as the object file. For example: c:\test\tutorial.cof-pre.scm would be run before c:\test\tutorial.cof is opened for debugging.
the object file is programmed for debugging
default-post.scm is run
This script is part of the NiceMon distribution. It is automatically run after an object file is opend for debugging.
user-default-post.scm is run if it exists
Users can create this script if they need commands to be executed after any object file is opened for debugging. NiceMon will look for this file in the NiceMon home directory.
<object file name>-post.scm is run if it exists
Users can create scripts to be run after an object file is opened for debugging. This script must be located in the same directory as the object file. For example: c:\test\tutorial.cof-post.scm would be run after c:\test\tutorial.cof is opened for debugging.