Motorola MVME187 manual Calling System Utilities from User Programs, Read the Program from Disk

Models: MVME187

1 173
Download 173 pages 29 Kb
Page 119
Image 119
Read the Program from Disk

Calling System Utilities from User Programs

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 (BO, BH, IOP). 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.

5

5-9

Page 119
Image 119
Motorola MVME187 manual Calling System Utilities from User Programs, Read the Program from Disk