Manual / Guide · 1982
TRS-80 PC-2 Printer/Cassette Interface Manual
The manual for the PC-2's printer, plotter and cassette interface (26-3605), the Sharp CE-150.
Manual / Guide · 1982
The manual for the PC-2's printer, plotter and cassette interface (26-3605), the Sharp CE-150.
Radio shack TRS-80 POCKET COMPUTER Sa ee eee Beene ee EEO al Ee (el es sf: Acad INS TERMS AND CONDITIONS OF SALE AND LICENSE OF RADIO SHACK COMPUTER EQUIPMENT AND SOFTWARE PURCHASED FROM A RADIO SHACK COMPANY-OWNED COMPUTER CENTER. RETAIL STORE OR FROM A RADIO SHACK FRANCHISEE OR DEALER AT ITS AUTHORIZED LOCATION LIMITED WARRANTY CUSTOMER OBLIGATIONS A CUSTOMER assumes full responsibility that this Radio Shack computer hardware purchased (the Equipment’), and any copies of Radio Shack software included with the Equigment or licensed separately (the “Software’’) meets the specifications, capacity, capabilities, versatility, and other requirements of CUSTOMER CUSTOMER assumes full responsibilty for the condition and effectiveness of the operating environment in which the Equipment and Software are to function. and for its installation RADIO SHACK LIMITED WARRANTIES AND CONDITIONS OF SALE A For a period of ninety (90) calendar days from the date of the Radio Shack sales document received upon purchase of the Equipment. RADIO SHACK warrants to the original CUSTOMER that the Equipment and the medium upon which the Software is stored is free from manufacturing defects THIS WARRANTY IS ONLY APPLICABLE TO PURCHASES OF RADIO SHACK EQUIPMENT BY THE ORIGINAL CUSTOMER FROM. RADIO SHACK COMPANY-OWNED COMPUTER CENTERS, RETAIL STORES AND FROM RADIO SHACK FRANCHISEES AND DEALERS AT ITS AUTHORIZED LOCATION. The warranty is void if the Equioment’s case or cabinet has been opened, or if the Equipment or Sofware has been Subjected to improper or abnormal use. If a manufacturing defect is discovered during the stated warranty period, the defective Equipment must be returned to a Radio Shack Computer Center, a Radio Shack relail store participating Radio Shack franchisee or Radio Shack dealer for repair. along with a copy of the sales document or tease agreement. The original CUSTOMER'S soie and exclusive remedy in the event of a Cefect is limited to the correction of the defect by repair Feplacement, or refund of the purchase price, at RADIO SHACK'S election and scle expense. RADIO SHACK has no obligation to replace or repair expendable items. B. RADIO SHACK makes no warranty as to the design capability. capacity. or suitability for use of the Software. except as provided in this paragraph. Software is licensed on an “AS IS" basis. without warranty. The original CUSTOMER'S exclusive remedy. in the event of a Software manufacturing defect, is its repair or teplacement within thirty (30) calendar days of the date of the Radio Shack sales document received upon license of the Software. The defective Software shall be returned to a Radio Shack Computer Center, a Radio Shack retail store, participating Radio Shack franchisee or Radio Shack dealer along with the sales document C. Except as provided herein no empioyee, agent, franchisee, dealer or other Person Is authorized to give any warranties of any nature on behalf ‘of RADIO SHACK. D. Except as provided herein, RADIO SHACK MAKES NO WARRANTIES, INCLUDING WARRANTIES GF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. i Some states do not allow limitations on how long an implied warranty lasts, so the above limitation(s} may not apply to CUSTOMER LIMITATION OF LIABILITY A EXCEPT AS PROVIDED HEREIN, RADIO SHACK SHALL HAVE NO LIABILITY OR RESPONSIBILITY TO CUSTOMER OR ANY OTHER PERSON GR ENTITY WITH RESPECT TO ANY LIABILITY, LOSS OR DAMAGE CAUSED OR ALLEGEO TO BE CAUSED DIRECTLY OR INDIRECTLY BY EQUIPMENT’ OR “SOFTWARE” SOLD. LEASED, LICENSED OR FURNISHED BY RADIO SHACK, INCLUDING. BUT NOT LIMITED TO. ANY INTERRUPTION OF SERVICE, LOSS OF BUSINESS OR ANTICIPATORY PROFITS OR CONSEQUENTIAL DAMAGES RESULTING FROM THE USE OR OPERATION OF THE EQUIPMENT” OR “SOFTWARE™. IN NO EVENT SHALL RADIO SHACK BE LIABLE FOR LOSS OF PROFITS. OR ANY INDIRECT, SPECIAL. OR CONSEQUENTIAL DAMAGES ARISING OUT OF ANY BREACH OF THIS WARRANTY OR IN ANY MANNES, ARISING QUT OF OR CONNECTED WITH THE SALE, LEASE. LICENSE, USE OR ANTICIPATED USE OF THE “EQUIPMENT” OR “SOFTWARE” NOTWITHSTANDING THE ABOVE LIMITATIONS AND WARRANTIES. RADIO SHACK’S LIABILITY HEREUNDER FOR DAMAGES INCURRED BY AWOL OR OTHERS SHALL NOT EXCEED THE AMOUNT PAID BY CUSTOMER FOR THE PARTICULAR “EQUIPMENT” OR “SOFTWARE INVOLVED. oe RADIC SHACK shall not be liable for any damages caused by delay in delivering or furnishing Equipment and/or Software No action arising out of any claimed breach of this Warranty or transactions under this Warranty may be brought more than twe (2) years after the cause of action has accrued or more than four (4) years ater the date of the Radio Shack sales document for the Equipment or Software, whichever first occurs. D. — Some states do not allow the limitation or exclusion of incidental or consequential damages, so the above limitation{s) or exclusion(s) may not apply to CUSTOMER RADIO SHACK SOFTWARE LICENSE RADIO SHACK grants to CUSTOMER a non-exclusive, paid-up license to use the RADIO SHACK Software on one computer, subject to the following provisions: Except as otherwise provided in this Software License, applicable copyright laws shall apply to the Software 8. Title to the medium on which the Software is recorded (cassette and/or diskette) or stored (ROM) is transferred to CUSTOMER, but not title to the Software. CUSTOMER may use Software on one host computer and access that Software througt one or more terminals if the Software permits this function. CUSTOMER shall not use, make, manufacture, or reproduce copies of Software except for use on one computer and as is specifically provided in this Software License. Customer is expressly prohibited ‘from disassembling the Software CUSTOMER is permitted to make additional copies of the Software only for backup or archival purposes or if additional copies are required in the operation of one computer with the Software, but only to the extent the Sottware allows a backup copy to be made. However, for TRSOOS Software, CUSTOMER is permitted to make a limited number of additional copies for CUSTOMER'S own use CUSTOMER may resell or distribute unmodified copies of the Software provided CUSTOMER hes purchased one copy of the Software for each One sold or distributed. The provisions of this Software License shall also be applicable to third parties receiving copies of the Software from. CUSTOMER. G Alt copyright notices shali be retained on ail copies of the Software APPLICABILITY OF WARRANTY A The terms and conditions of this Warrenty are applicable 2s between RADIO SHACK and CUSTOMER to either a sale of the Equipment and/or Software License to CUSTOMER or to a transaction whereby RADIO SHACK selis or conveys such Equipment to a third party for lease to CUSTOMER. The limitations of liability and Warranty provisions herein shall inure to the benefit of RAD/O SHACK, the author, owner andsor licensor of the Software and any manufacturer of the Equipment sold by RADIO SHACK oe STATE LAW RIGHTS: The warranties granted herein give the original CUSTOMER specific legal rights, and the original CUSTOMER may have other rights which vary from state to state. Contents Page Introduction... EEE EE EEE EEE ene nen 2 1/Description of the Printer/Cassette Interface... 2... ee nett eens 3 2/Setting Up the Printer/Cassette Interface. 2.0.0... ce eee eee eens 9 Connection Paper Installation Pen Installation Power Supply 3/Using the Printer/Cassette Interface... 2... en ene tes 29 Cassette Recorder Operation Cassette Commands Plotter/Printer Operation Printer Commands 4/Care and Maintenance .. 1... 0... en een EE Reet ee enn 101 5/Specifications. .. 0... nee Eee EERE en eee eee 105 Appendix A/Language Reference Summary .... 0... 00 c eee ete et eee te eee ee eee 107 Appendix B/Error Codes... 6. eee een etn ete ees 111 Introduction Congratulations on your selection of the TRS-80 Pocket Computer (Model PC-2) Printer/ Cassette Interface! You'll find this Interface a useful addition to your already powerful PC-2. With your Plotter/Printer, you can print copies of your programs and data and even plot graphic displays. With your Interface, you can store and retrieve your programs and data on cassette. (Optional recorders are required. We suggest the Minisette-9, Radio Shack Catalog Number 14—812.) Special features of the Interface include: e Easy-to-read printouts on plain paper. e Graphic printing in four colors. e Convenient to use — you can display your output on the Computer’s display or Plotter/Printer (or both)! e Paper Advance Button and paper-cutting edge for easy paper advancement and separation. © Battery powered for fully portable operation — you can use your Computer and Interface anywhere! e@ External power supply to operate and recharge your Interface. e Two-Recorder Option lets you connect the Interface to two recorders — spending less time swapping cassettes. You can have one cassette for “‘reading’’ and one for ‘writing’. @ Remote Switch allows for manual or Computer control of the cassette recorders. e Print Switch gives you a ‘‘no-print’’ option, letting you display your calculations on PC-2’s display without a printout. e@ One-button power — once you turn the Computer ON, the Interface is also turned ON. e Character size specification that lets you set the size of the printing character to suit you printing needs. 1/Description of the Printer/Cassette Interface Your Interface package includes: e The Printer/Cassette Interface © Two Cassette Recorder Cables e Three rolls of printing paper e AC adapter e Four pens (black, blue, green, and red) ©) CROMOMCMEE J (2) (4) (5) (7) (8) (9) Paper Feed Button Advances paper through the platen. Holding CO) and the button down simul- taneously puts the Printer into Pen Replacement Mode (a special mode for installing and removing the pens). Holding and the button down simultaneously clears the Pen Replacement Mode and returns the unit to normal operation. Computer Connection Terminal Connects the Interface to your Computer. Printer Body of Plotter/Printer. Printer Cover Encloses paper, pens, and printing area. Printer Cover Lock — Locks the Printer Cover in place. Slide the lock to the left to remove the Printer Cover. Remote Switch With the switch set to ON, the Computer controls the start and stop of the Cassette Recorder. With the switch in the OFF position, you can operate the Cassette Recorder manually. Print Switch Sets Print condition of Printer. The switch can be set to either AUTO (information is only displayed on your Computer’s Display) or ECHO (information is displayed on the Display and printed on the paper). AC Adapter Jack Connects the AC adapter to your Interface. Cassette Recorder Jack Connects the Cassette Recorders (s) to your Interface. Note: The Interaface does not have a power switch. The Power Switch of the PC-2 turns the Interface ON and OFF. The Interface is turned OFF when disconnected from the Computer. Your PC-2 must be turned ON if you want to use any part of the Interface (including the button). i” ae TM OU naelo Pen Holder Holds four pens and is the printing “head’’ of your Plotter/Printer. Rotates to different colors. Platen Moves to help feed paper. Pens —_ Water-color pens for multi-color plotting/printing. Pen Positioning Indicator —_Identifies Pen Position #0 as the first position to the right of the Indicator. Pen Remove Lever White plastic lever releases the pens for installation, storage or replacement. Paper-In Slot for inserting the leading edge of paper with installing a paper roll. Paper Cutter Serrated edge for cutting printouts. () ® o} L Figure 3. Interface (Rear View) (1) 1/0 Channel For use with other optional peripherals. (2) Interface Cover Holders Conveniently stores each of your Interface Covers (one cover fits over PC-2’s Interface and the other fits over the |/O Channel on the Printer/Cassette Interface). 2/Setting Up the Printer/Cassette Interface Connecting the Interface to the Computer The Interface and PC-2 are designed for easy connection to each other. To connect, the Computer’s power must be OFF. If the power is ON when you connect the Interface, the Computer may “‘hang up” (all keys inoperative). If this happens, turn the Computer’s power OFF, disconnect the Computer from the Interface, turn the Computer over and with the (ON) key held down, press the ALL RESET button (on the bottom of the Computer) for approximately 15 seconds. It is extremely important that you do not force the interface and Computer together or you may damage the Interface, the Computer or both. Follow this procedure when connecting the Interface to the PC-2: 1. Turn the Computer’s power OFF. 2, Remove the Terminal Cover from the left side of the Computer and snap it into place on the bottom of the Interface. 3. Place the lower edge of the Computer downward so that the ‘Printer Guides’’ match-up with the Computer’s “Guide-Slots.” (The keyboard should be facing upward.) Figure 4. Computer-Interface Alignment 4. Lay the Computer down flat. 5. Gently slide the Computer to the left so the Interface pins are inserted into the Computer. Align the side of your Computer closely with the Interface as you slide to the left. \ \ \ a OFF ON AUTO: ECHO ge) Rado thack Mae | AEMGTE PRINT Figure 5. Connection to Interface Terminal Do not force the Computer and Printer together. !f match-up does not easily take place, carefully shift the Computer left and then right to correctly position the connecting surfaces together. To Remove the Computer, follow this procedure: (1) Turn the Computer OFF and remove the Printer Cover. (2) Remove the Computer by grasping the edge of the Computer and moving the Computer to the right. a4 A ™ DS Figure 6. Removing the PC-2 from the Interface Installing the Paper Three rolls of paper are included with your Interface. Important Note: The Printer’s paper is extremely sensitive to oil from you hands. Try to avoid touching the paper as much as possible — even light contact can cause oily discoloration which can distort the quality of printing. When loading paper, hold the paper on the sides with the side of your fingers so there is minimum contact. 12 Follow this procedure for loading the paper: 1. Be sure your Computer is connected to your Interface and is turned ON (remember, the PC-2 controls the power of the Interface). Shift the Printer Cover Lock to the left, then remove the Printer Cover. Tighten the roll of paper by holding the roll in your hand and pulling on the leading edge of the paper. Cut the end of the roll of paper evenly. Gently insert the edge into the Paper Inlet. (Any curve or crease on the leading edge of the paper may prevent proper paper feeding or cause paper jamming.) Figure 7. Inserting Paper 1412 5. To advance the paper, use the button on the Printer. By holding this button down, the paper is fed through the Printer’s platen. Figure 8. Feeding Paper 6. The Paper Holder Spindle is located in the Paper Case area (in the upper left corner of the Interface where the paper is held). Remove the Paper Holder Spindie and insert the shaft into the roll of paper. Insert the roll of paper into the Paper Case. d Figure 9. hr Inserting Roll of Paper into Paper Case 7. Place the Printer Cover back in position. Hold down the button to thread the paper through the Paper Cutter. Lock the Printer Cover by sliding the Printer Cover Lock to the right. 15 Installing and Removing the Pens Your Interface comes with four pens: black, blue, green, and red. The pens must be installed in the Pen Hoider before you can begin printing. Important Note: You must always use four pens. Using the Printer with only three (or fewer) pens may cause incorrect color changes when you are changing color (see Printer Commands, COLOR). Install the pens when you want to use the Printer and remove them after printing. Cap the pens and place them in their cases when you're not using them or the ink may dry out. Replace the pens when they dry out. Quick-Tip: If the pens begin to dry out, remove them, dip each tip lightly into a drop of water and insert the pens back into the Pen Holder. ail Da + + Pen Case Pen Pen Cap Case Cap Figure 10. Pen Assembly When installed, the pens are held in a circular Pen Holder. The Pen Holder rotates during printing to access different Pen Positions (and hence, different colors). Turn the PC-2 ON. When the Computer is turned ON (if you previously manually turned it OFF as opposed to automatic shut-OFF), the Pen Holder rotates Pen Position #0 to the printing position. From this position, the Pen Positions (#0, #1, #2, and #3) are numbered clockwise (with the “clock’’ facing you — #0 position is “12 o'clock,”” #1 position is ‘3 o’clock.” #2 position is ‘6 o'clock.” and #3 position is “9 o’clock,’’) 16 ne a ne a ee You install and remove pens by entering a special pen-changing state called the Pen Replacement Mode. To enter this mode, press CO.) and the button. To exit the mode, press and the button. Figure 11. Pen Holder Look at the Pen Holder and you'll see a four-color disk on the inside hub of the holder (next to the platen). This is the Pen Color Disk. Each quarter of the Pen Color Disk is color-coded clockwise: black, blue, green, and red. (This is also the alphabetical order of the colors.): 47 It’s very convenient to install the pens according to the Pen Color Disk; however, you can install the pens in any order you want. In this manual, we'll refer to the pen positions and pen colors according to the Pen Color Disk: black, blue, green, and red. Here’s an easy way of installing the pens and remembering the position of each color: @ Install each pen according to the color’s on the Pen Color Disk. @ Install the black pen in the black position, blue pen in the blue position, green pen in the green position, and the red pen in the red position. Now look again at the Pen Holder and you'll see a thin, metal strip. This is the Pen Position Indicator which identifies the Pen Position +0 as the first pen position to the right. If you prefer, you can install the pens according to their position from the Pen Position Indicator: © The position to the right of the Pen Position Indicator is #0. As we mentioned before, on power-up, the Pen Holder rotates Pen Position #0 to the printing position. (Note: The Pen Holder does not rotate after the Computer has automatically turned itself OF F.) @ Install the black pen in Position #0, then install the other three pens clockwise in this order: blue (#1), green (#2), and red (#3). All pens will probably not have to be changed at the same time, depending on your use. Two three-pen packs: all black (Cat. No. 26—1480) and multi-colored (red, green, and blue, Cat. No. 26—1481) are available at your Radio Shack Computer Center. These pens are specifically designed for your Printer; using any other pens may damage the Printer. 18 Follow this procedure when replacing or removing the pens: 1, Press and hold the Computer’s CO) key and then press the {f#] button. Release both and the Pen Holder will shift to the right and stop. It is now in the Pen Replacement Mode. Release (0) and the button. 2. Decide which pen you want to replace. If the pen is not on top, press the button again. The Pen Holder will move back to the left side of the printing area and will rotate counterclockwise to the next pen position, then return to the right side. Repeat the procedure until the pen you want to replace is on top. 3. To remove the pen, gently press the white plastic Pen Removal Lever (in the lower right corner of the Printing Area) towards you. This causes the pen on top to slip out. Note: Be sure to gently press the Removal Lever. If you forcefully press the lever, the pen may pop out and, because of the pen’s small size, you may have a hard time locating it. 4, Remove the pen from the Pen Holder area, holding it gently to prevent the pen from falling into the Printer. Figure 12. Pen Removal Lever 19 5, Install a new pen by inserting the pen tip into the printing hole at the top of the Pen Holder. Slide the other end of the pen until the pen snaps into place. 6. To install or remove the next pen, press the (i) button momentarily. The Pen Holder returns to the left, rotates so that the next pen comes on top and shifts to the right again. Remove the pen and replace it with a new one. 7. After the pen replacement or installation, press and the [¥ button. (Note: Be sure to press first.) This causes the Printer to leave the Pen Replacement Mode and the Pen Holder to move to the left. The Pen Holder is now ready for printing. Connecting a Cassette Recorder to the Interface There are two cables supplied with your Interface: © A two-plug black cable with one plug on each end. e@ A six-plug multi-color cable with three plugs on each end. 20 © ®® EAR REM MIC Q Black ——> | (REM) ee lark (REM)—— , Gray (EAR) Grey Red (MIC) ( | Black (REM) Figure 13. Cassette Cables and Interface Jacks 1 The six-plug cable has three plugs on each end — one black (REM), one red (MIC), one gray (EAR). There are three jacks on the Cassette Recorder: EAR, MIC, and REM. There are five jacks on the Interface: REM 1, EAR, MIC, REM 0, and ADAPTOR. REM 0 is for the first Cassette Recorder and REM 1 is for the second Cassette Recorder. If you are using one Recorder, you will use all three of these jacks. The black cable which has a plug on each end is for REMOTE jacks (one for the Interface and one for the second Cassette Recorder). If you are not familar with Cassette Recorders, the following hints may help you set up your two-recorder system: e Think of “EAR” (earphone) as output from the Cassette Recorder, like an earphone jack and gray plug. e Think of “MIC” (microphone) as input to the Cassette Recorder, like a recording microphone or speaker and the red plug as RECORD. To connect one recorder... 1. Plug one end of the six-plug cable into your Interface. 2. Plug the other end of the cable into your recorder. 3. On the Interface, insert the gray plug into EAR jack, the red plug into the MIC jack, and the black plug into the REM 0 jack. On the Cassette Recorder, the plugs’ jacks must match the Interface’s (i.e., if you inserted the red plug into the MIC jack on the Interface, you must insert the red plug into the MIC jack on the Cassette Recorder). To connect two recorders... With two recorders, you use either the EAR jack of one recorder or the MIC jack of the other recorder (depending which recorder is for reading and which is for writing). You'll use the REM jack (black plugs) with both Cassette Recorders, 1. Take one end of the six-plug cable and connect two of the plugs (one black and one red or gray) to the REM 0 jack and MIC or EAR jack of the first recorder and to the REM 0 jack and MIC or EAR jack on the Interface. 2. Take the other plug (the remaining red or gray plug) and connect to the MIC or EAR jack on the second recorder and to the MIC or EAR jack on the Interface. 3. Take the black cable (which has just one plug on each end) and connect one plug into the REM jack of the second recorder and into the REM 1 jack on the Interface. Now both recorders should be connected to one black plug and one red or gray plug (two plugs in each recorder). Four plugs should now be in the four jacks on the Interface. 9 Important Note: When using two re- corders, only one recorder can be con- nected using the MIC plug and only one recorder can be connected using the EAR plug. 24 Figure 15. Recorders Connected to Interface co) =a Dummy Plug Normally, a Dummy Plug is included with your Cassette Recorder. You can use this plug when you want to erase all or a part of your cassette. This plug works by blocking information from entering the Cassette Recorder's built-in microphone as you erase. If you do not have a built-in microphone on your cassette recorder, you don’t need to use this plug. Figure 16. Dummy Plug To use the Dummy Plug, follow this procedure: 1. Place your cassette in the Cassette Recorder and insert the Plug into the recorder’s MIC jack. 2. Rewind the tape to the position where you want to start erasing. Operate your recorder as though you are recording. As the cassette moves, it will be erased. 3. Stop the recorder where you want to stop erasing. Advance the recorder to other segments you want to erase (if any) and repeat the above procedure. 26 For details on using the Cassette Recorder once it is connected, see Using the Printer/Cassette Interface. Printer Power Supply Your Printer is powered by an internal rechargeable Nickel-Cadmium (Ni-Cd) battery pack. It may be necessary to recharge the battery with the AC adapter before you use the Printer for the first time. If you don’t use your Printer for three or more months, you'll probably need to recharge the battery. Important Note: Be sure to use the AC adapter supplied with your Printer when recharging your Interface. Any other adapter may damage your unit. To recharge the battery: 1. Turn the Computer’s power OFF. 2. Plug the adapter into a wall outlet. 3. Connect the AC adapter to the Interface. To remove the adapter: 1. Turn the Computer's power OFF. 2. Disconnect the AC adapter from the Interface. 3. Remove the adapter from the wall outlet. Important Note: To avoid damage to the Interface, be sure to always plug the adapter in the outlet before connecting the adapter to the Interface. Also, disconnect the Interface before unplugging the adapter. It will take about 15 hours for the battery to become fully charged. Note: We recommend that, whenever possible, you use the Interface with the AC adapter. The Interface will run down slowly (after about 15 hours of steady use) even with the AC adapter plugged in. Note: If you don’t use your Interface for a long time, the battery may lose power. If this happens, a 15-hour recharge will not be long enough to fully charge the battery. A slightly longer recharging is needed to make the Interface fully charged. Unless you are using the AC adapter, do not use the Interface with the battery only partially charged. For best results, fully charge the battery before each use. When the Printer is connected to the Pocket Computer and the battery is low, you will get a low-battery error (ERROR 78, 80, CHECK 6). The errors will be displayed immediately when the PC-2 is turned ON if the batteries are low. See Appendix B, Error Messages, for descriptions of these errors. The battery pack is long-life but may eventually fail to charge and need to be replaced. If you suspect a problem, take your Interface and adapter to your Radio Shack Computer Center. The battery pack is wired into the Interface and must be replaced by Radio Shack personnel. 28 3/Using the Printer/Cassette Interface Cassette Recorder Operation You can use your Cassette Recorder for two purposes: e Transferring data and programs from your cassette to your PC-2. e Transferring data and programs from your PC-2 to your cassette. Follow these steps to prepare your recorder (s) for saving data and program: 1. 2. 3. Set the Remote Switch on the Interface to OFF and put a cassette in your recorder. If the cassette is fully rewound, advance the cassette past the “leader’’ portion. (You might find “leaderless” cassettes more convenient to use. We suggest Radio Shack’s C-20 Certified Leaderless Cassettes, Cat. No. 26-301). If your cassette is new and leaderless, you can start saving programs at the beginning of your cassette is not new, find a blank portion of the cassette. Set the Cassette Recorder's. volume control according to your owner’s manual. (Note: Most Cassette Recorders have automatic control of the recording volume. In these recorders, volume control only pertains during playback.) 30 4. Set the Remote Switch on the Interface to ON. 5. Press both the RECORD and PLAY buttons on your Cassette Recorder simultaneously. You are now ready to save your program or data. It is a good idea to save each of your programs at least twice, preferably on separate cassettes. That way, if one cassette is lost or erased, you have an extra copy. When you want to load the program, you can specify the file name and your Computer searches for the filename. tf you prefer, you can omit the filename and your Computer loads the first program it finds on the cassette. If you use a filename tonger than 16 characters, the excess characters are ignored. For instance: “ARCHITEC- TUREPROGRAM" is saved as: “ARCHITECTUREPROG”’ Remote Switch and Command If you use two Cassette Recorders with your Interface, you will connect Cassette Recorder #1 to the Remote 0 jack and Cassette Recorder #2 to the Remote 1 jack, Keep the Remote Switch to the ON position whenever you want the PC-2 to control the cassette in Cassette Recorder #1 (Remote 0). If the switch is ON, the cassette will start when you save or load a program or data and stop when the operation is complete. 30 lf you want to start or stop Cassette Recorder #1 manually, you'll use the RMT contro! with the Remote Switch. This lets you access Cassette Recorder #1 (Remote 0) without removing the black plug from the REM jack on the recorder, To operate Cassette Recorder +2 (Remote 1), use one of the two Remote Commands: RMT OFF (allows manual control) or RMT ON {ailows program control). Type: RMT OFF or RMT OM (Note: These commands only affects Remote1.) RMT ON starts the RMT control. RMT OFF cancels the RMT control and lets you manually control the Cassette Recorders. RMT OFF abbreviations are: RM.OF. RMTOF. RMT ON abbreviations are: RM.O. RMTO. Through you program statements, you can access the Cassette Recorder (cassette +2) connected to the REM 1 jack by appending ‘’~-1"’ onto your program statement: INPUT #-1 This peripheral specifier works by telling PC-2 to access the peripheral device (in this case, the Cassette Recorder) connected to the REM 1 jack. There are three different procedures you can use with using “’—1”: 31 1. Saving 2. Comparing PC-2’s memory with cassette 3. Transfering program or data file from cassette To save a program or data file on cassette #2: 1. Type: RMT OFF to turn OFF the RMT control, 2. Put a cassette into Cassette Recorder #2 (connected to the REM 1 jack). 3. Type RMT ON and press to turn ON the RMT control function. 4, Press the PLAY and RECORD buttons and enter the PRO or RUN mode. 5. Fora program file (“PROGRAM” represents the filename of the program), type: CSAVE-1"FROGRGM" (ENTER) For a data file, type: PRINT#-1."PROGRAM"IA.E . . . 2 Enter either the PRO or RUN mode and type: COAUE-1"PR-1" 32 Comparing PC-2’s memory with a file on cassette #2: 1. Type: EMT OFF to turn OFF the RMT control. 2. Rewind the cassette. 3. Enter RMT ON to turn ON the RMT control. 4. Press the PLAY button and enter the PRO or RUN mode. 5. Type (“PROGRAM" represents the filename of the program): CLOSD?-1 "PROGRAM" 6. Execution ends when both contents match and PC-2's prompt is displayed. Transferring a program or data file from cassette #2: 1. Type: RMT OFF to turn OFF the RMT control. 2. Put the cassette that contains the file into Cassette Recorder #2 (REM 1). 22 3. Type: RMT OM to turn ON the RMT control. 4. Press the PLAY button and enter the PRO or RUN mode. 5. Fora program file, type (“PROGRAM” represents the filename of the program): CLOAD-1"PROGEAN" (ENTER For a data file, type: THPUT#-1, "PROGRAM"Ia. EB . . 6. After the transfer, PC-2’s prompt is displayed. Cassette Commands Table 1 lists the cassette commands that are recognized by the Interface. ee Commands Function CHAIN Loads program segment and executes CLOAD . Leads program from cassette CLOAD? Verifies cassette program with program in memory CSAVE Saves programs to cassette INPUT # Transfers data from cassette to Computer MERGE Appends two programs in memory PRINT# Transfers data from Computer to cassette RMT ON/ RMT OFF Allows manual operation of cassette #2 (Remote 1) Table 1 CHAIN Loads Program Segments and Executes CHAIN-1 “filename”, line number —J is thé optional peripheral specification and speficies REM 1. 35 filename is the name of. your program and. must be 16 alphanumeric characters. or F less; optional, if omitted, the first program is loaded. line number .is.a five character or less expression from 1-65279 decimal and specifies the beginning line. . for program execution; optional, if omitted, program execution starts at the. lowest line number. Abbreviations: CHA. CHAI. A CHAIN statement lets you run a program that is too large to fit into memory all at one time. By dividing the program into segments and saving each segment to cassette, you can use the CHAIN statement to load each segment and immediately execute the program (without having to enter RUN). The main advantages of CHAINing segments of programs together is: e CHAIN permits consecutive execution of related programs automatically without needing to keep more than one of them actually in the PC-2’s memory at a given time. ¢ CHAIN saves you time because it automatically loads segments and run the program without you having to type: RUN © All the variable from the program (the one before the CHAIN command) are preserved. Special Notes about CHAIN: e@ The CHAIN instruction can only be used within a program. CHAIN cannot be used manually like CSAVE, CLOAD, and MERGE. e If a filename you specify is not on the cassette, PC-2 continues to search for the absent filename even after the cassette has come to an end. © Remember to save each sequential program segment with a sequentially numbered filename (i.e. , PROGRAM1, PROGRAM 2, PROGRAM3, etc.). 36 To use CHAIN: 1. As you write a large program, decide where you want to segment the program and save the respective segments on cassette under their respective filenames. Each segment (except for the last) has to have a CHAIN statement as the last program line. 2. Rewind the Cassette Recorder to PLAY. 3. When you are ready to run the program, enter the CHAIN statement and filename into a program line. The CHAIN statement then automatically loads and executes the each consecutive segment until all the segments are executed. Example Let’s say we have written a large program for your PC-2 which you have divided into three segments, each of which fits into PC-2’s memory. You have saved the three program segments (SALE1, SALES2, and SALES3) on cassette and the program segments SALES1 and SALES2 have CHAIN statements at the place in the program segment where the next segment is to be loaded. When each CHAIN statement is encountered, the file you have specified is located on cassette and read into the PC-2. The segment is automatically RUN beginning at the lowest line number or the Jine number specified in the CHAIN statement. All variables from the program before the CHAIN statement are saved for the program being CHAINed in memory. RQ7 “SALES 1” 10: PROGRAM LINE 500: IF A=B CHAIN “SALES 2” Segment I (SALES 1) Program lines 10 . through 990 1000 — “SALES 2” 1010: PROGRAM LINE Program lines 1020 Segment I 1990 (SALES 2) 2000: CHAIN “SALES3’, 3000 “SALES 3” 2010: PROGRAM LINE 3000: PROGRAM LINE Program lines 2010 through 3990 Segment III (SALES 3) 4000: END When you run the program, your computer encounters the CHAIN statement, calls the next program segment into memory and executes it. In this manner, all of the segments are eventually run. CLOAD? Compares Cassette Program with Resident Program nn CLOAD?-1 “filename”. — ; —I is the peripheral specification and specifies REM 1. filename is the name of your Program and must be 16 alphanumeric charactérs or less; filename is optional; if omitted, the first filename encountered is used. Abbreviations: CLO.? CLOA.? Important Note: CLOAD? is for verifying a saved program file only and cannot verify a saved data file. CLOAD? checks whether the program you have saved on cassette is the same as the program in the Computer's memory. PC-2 displays the filename it finds when reading the cassette. If the program is correctly saved, PC-2’s prompt is displayed following verifications, If there is an error, an error message will be displayed (ERROR 43 is common). ERROR 43 means the program on cassette is different from the program in your Computer’s memory. If you get an error, try rewinding the cassette, adjusting the volume setting, checking all connections and trying again. Special Notes about CLOAD?: e Use CLOAD? from either the RUN, PRO, or RESERVE modes. @ When there is nothing in memory and the CLOAD? statement is used, ERROR 43 will occur. e If you specify a filename and it is not on the cassette, PC-2 will continue to search for the absent filename even after the cassette has come to an end. 40 Examples CLOAD? PROG" Searches for program ‘‘PROG” on Cassette Recorder #1. When the program is found, the filename is displayed on PC-2’s screen and PC-2 compares this program with what is in memory. CLOAD Loads Program from Cassette CLOAD-1 “filename” —7 is the peripheral specification and specifies REM 1. filename is the name of your program and must be 16 alphanumeric characters or tess. filename is optional; if omitted, the first file encountered is loaded. Abbreviations: CLO. CLOD. You can use CLOAD in any of three different modes —- RUN, PRO, or RESERVE. Special Notes about CLOAD: e@ Your PC-2 cannot decide whether a certain filename refers to a regular program file (RUN or PRO) or a reserve program file. Therefore, an improper mode selection (PRO mode for a reserve program instead of RESERVE mode) leads to an improper transfer: reserve files to the Computer’s main memory or regular cassette files to AD the reserve memory. Each time you load a file, be sure you are not in the RESERVE mode unless you are loading a reserve file. When CLOAD is used in the RESERVE mode, the file is loaded as defined key data. If a file you want to load is not on the cassette, PC-2 will continue to search for the missing file even after the cassette has come to its physical end. (In this case, cancel the instruction by pressing .) If an error is encountered during the transfer of programs, only the program memory is cleared. If there is an error, an error message will be displayed. Follow these steps when loading a program from cassette: 1. 2. Set the Remote Switch on the Interface to OFF. Rewind the cassette to the place where you program is located. Stop rewinding. Set the Remote Switch to ON. Press the PLAY button on your recorder. (Check to make sure you are not in the RESERVE mode unless you are loading a reserve file.) Type: CLOAT" Fi ferame" BUSY is displayed on the PC-2 and as soon as the file is found, the name is displayed on the screen. The program is then loaded into your Computer’s memory. Here is an example for a file named “PROG”. 42 DEG PRO pig . When the file is loaded, PC-2’s prompt appears on the screen. You can now run the program (Type: RUN ). Even though the program is in your Computer’s memory, it is still on your cassette, so you can CLOAD the program over and over again. You can use CLOAD in the RUN, PRO, or RESERVE modes. Use the RESERVE mode when you are loading reserve programs. Example CLOAD"FROFIT" Searches for program “PROFIT”. When the program is found, it is loaded into memory. CLOAD-1"FROF IT" Searches for program ‘‘PROFIT’’ on Remote 1 (cassette #2). When the program is found, it is loaded into memory. An CSAVE Save Programs to Cassette CSAVE-I “filename : . «2 js the peripheral specification and specifies REM 1, — filename is the name of your program and must be 16 alphanumeric characters or fess. filename is optional; if omitted, the program is saved without a filename. : : Abbreviations: CS. CSA. CSAV. CSAVE transfers programs from your Computer’s m