Chapter 5 IBM Print Mode Demonstration Programs You can use IBM 5152 Mode, with IBM character/graphic sets (CG 1 and 2) and the special features available such as boldfacing and under- lining, with a computer with a parallel port (such as the Commodore Amiga or an IBM computer) or a serial port computer (like the Commo- dore 128 or 64). To use IBM mode, you must reset DIP switch 1.1 to ON (see Chapter 1 on Setting the DIP Switches). You can also set the port you'll use to hook up the printer (parallel or serial bus) by setting DIP switch 1. 3. This is also explained in Chapter 1.
To use the IBM mode with a Commodore serial bus, a standard set- ting for the DIP switches is to set switches 1-1, 1-3 and 1-8 to ON, setting the other five switches to OFF. Where Commodore print mode uses secondary addresses in the BASIC language OPEN statement, IBM mode utilizes ESCape codes. These are issued by using the character codes for ESCape and the key or key sequence for what you want the printer to do. Since the MPS 1000 allows computers with both parallel and serial hook-ups to use IBM mode, this section includes two different BASIC language versions of each of the demonsuation programs. One version is in Commodore BASIC, like the programs in Commodore mode.
The second version of these programs is in Microsoft BASIC (or MBASIC), for other computers with that version of BASIC built in. Check your computer manual for the appropriate version. You don't need to know anything about BASIC to type in and run these programs. Just check your BASIC manual to see how to load BASIC in your computer and how to run a program. As you run the programs (or even as you read the explanations and look at the printed examples), you learn how the MPS 1000 responds to the messages your 59