ibm PCjr — 3-040

Programming Considerations The modem and the mM PCjr system can communicate commands or data between each other. Any commands sent to the modem from the mM PCjr are stripped from the data stream and executed but are not transmitted to the receiving station. The data is transparent to the modem. The modem is capable of causing hardware interrupts as the result of certain conditions, and in response to queries for its status. Commands to the modem are a sequence of characters preceded by a single command character. The command character tells the modem that the following character sequence, until a carriage return, is a command.

The carriage return completes the command sequence and causes the modem to execute the commands. The command character (represented by [ee] in the following text) is programmable (with the NEW command) to any ASCn character (hex 00 thru 7F). The default for the command character is Ctrl N (ASCII hex OE). Commands can occur anywhere in the data stream if properly formatted but are not to be executed by the modem until a carriage return is received. Multiple commands are allowed if separated by commas and preceded by a single command character. Command Format The following is the command format that all commands must follow. [ee][ eommand word] [ delimiter ][arguments] [,more][ CR] where:

3-40 Internal Modem