Motorola MVME187 User Manual

Page of 173
Calling System Utilities from User Programs
5-9
5
Alternately, the program may have been previously created using 
the 187Bug MM command as outlined above and stored to the host 
using the Dump (DU) command. 
A communication link must exist between the host system and the 
MVME187 port 1. (Hardware configuration details are provided in 
Connecting Peripherals on page 3-20.) The file is downloaded from 
the host to MVME187 memory by the Load (LO) command. 
Read the Program from Disk
Another way to enter a program is by reading the program from 
disk, using one of the disk commands (BOBHIOP). Once the 
object code has been loaded into memory, you can set breakpoints 
if desired and run the code or trace through it. 
Calling System Utilities from User Programs
A convenient way of doing character input/output and many other 
useful operations has been provided so that you do not have to 
write these routines into the target code. You can access various 
187Bug routines via one of the MC88100 TRAP instructions, using 
vector #496. Refer to the Debugging Package for Motorola 88K RISC 
CPUs User's Manual
 for details on the various TRAP #496 utilities 
available and how to invoke them from within a user program.