HP H8/3003 User Manual page 36

Emulator terminal interface
Table of Contents

Advertisement

Note
2-16 Getting Started
2. Log in to your host system and start up an editor such as "vi".
You should now enter the source code for the sample program
shown at the beginning of the chapter. When finished, save
the program to filename "sampprog.src".
If you need help learning how to log in to your HP-UX host system or
use other features of the system, such as editors, refer to the HP-UX
Concepts and Tutorials guides and your HP-UX system administrator.
3. Assemble and link your code.
4. Convert your absolute file generated above into HP format
with the following command. This is needed to load the file
into the emulator.
$ h83cnvhp -x sampprog
An HP format absolute file sampprog.X will be generated.
Now it's time to transfer your code into the emulator. Do the following:
1. Disable the transparent mode so that your terminal will talk
directly to the emulator. Type:
$ <ESC>* xp -d
The "<ESC>*" sequence temporarily toggles the transparent
mode so that the emulator will accept commands; "xp -d" then
fully disables the transparent mode.
2. Load code into the emulator by typing:
R> load -hbo
transfer -rtb sampprog.X<ESC>* (NOTE: DO NOT
TYPE CARRIAGE RETURN!)
The system will respond:
##
R>
load -hbo tells the emulator to load code expected in HP
binary file format and to expect the data from the other port
(the one connected to the host). It then puts you in

Advertisement

Table of Contents
loading

Table of Contents