Accessing Output Ports; To Set Or Alter Output Port Status - HP 68000 Series User Manual

Debugger/simulator
Table of Contents

Advertisement

Accessing Output Ports

This section shows you how to:

To set or alter output port status

• Using the command line, enter:
Memory Outport Assign
Select the size, port address, and output destination; then, press the
< Return> key.
(explanatory text)
The Memory Outport Assign command defines the address, size, and output
destination of a simulated output port. The target program can write output
data the the simulated output port. The port address can be any valid address.
Examples
To assign address 0x408 as an I/O port (output) of size word:
Memory Outport Assign Word 0x408 Destination_Is File
"/myproj/cmdout.dat"
Write operations to the port will access file '/myproj/cmdout.dat'. You must
specify the file name in quotation marks.
To assign address 0x40C as an I/O port (output) of size byte:
Memory Outport Assign Byte 0x40C Destination_Is Stdio
Set or alter output port status.
Delete an output port.
Rewind the output file associated with an output port.
Display output port buffer values.
Chapter 3: Loading and Executing Programs
Accessing Output Ports
111

Advertisement

Table of Contents
loading

This manual is also suitable for:

B1466

Table of Contents