Re: IMP4MDS.LBR Ilbert Butler 04/04/88 This library contains in crunched form: IMP4MDS.DOC You are reading it. I2MDA-55.ASM Current Morrow MD computer overlay for IMP245 IMPMD3R1.COM IMP for Rev.1 Morrow MD2s & MD3s, ROM Rev. 1.x IMPMD3R2.COM IMP for Rev.2 Morrow MD2s & MD3s, ROM Rev. 2.x-3.x IMPMDHDA.COM IMP for Morrow hard disk CP/M 3.0 computers, using Auxiliary (JPC) Serial Port (switchable) NO ONE (!) SHOULD UNCRUNCH AND ATTEMPT TO RUN ANY (!) IMP PROGRAM IN THIS LIBRARY WITHOUT READING AND FOLLOWING THESE INSTRUCTIONS! ================================================================= There are THREE VERSIONS of IMP245 in this library. All are set for 1200 baud. Your attempt to run THE WRONG VERSION FOR YOUR SYSTEM could re- sult, not only in failure of the program to work, due to failure to in- stall it properly for your system, but also: RUNNING AN IMP PROGRAM WITHOUT INSTRUCTIONS COULD SERIOUSLY DAMAGE SOME SYSTEMS Morrow hard disks may become trashed by software intended only for floppy systems. While this is virtually impossible, use a little caution in determining you selected the appropriate version from the above list. Morrow hard disks and floppy computers use different serial controllers and different commands to address them. ======================================================================== The three following programs are ALMOST READY TO RUN, BUT NOT QUITE! You must first run SETUP.COM (SETBAUD on Rev.1 systems) and verify which of three common null modem cables/adapters you have, and then INSTALL with IMPATCH.COM (or reassemble) for 1) modem type, 2) maximum modem speed and 3) cable/null adapter type. There are THREE ESSENTIAL SETTINGS TO MAKE BEFORE YOU SHOULD RUN THEM! IMPMDHDA.COM IMP for Morrow hard disk using AUXiliary port. You can reset within the program to use the Printer/Modem port. IMPMD3R1.COM IMP for Morrow floppy disk computers with Rev. 1 boards & ROM 1.x, incl. Rev. 1 MD2s & MD3s. IMPMD3R2.COM IMP for Morrow floppy disk computers with Rev. 2 boards & ROM 2.x or 3.x (mainly MD3s). CHANGES TO DEFAULT SETTINGS Defaults are: 8 data bits, 1 stop bit, no parity (to change these you MUST reassemble) IF ANY OF THESE 1) Hayes-compatible modem (not ProModem or Racal) 3 SETTINGS DO 2) 1200 baud highest speed NOT MATCH, YOU 3) NODTR equate is off--meaning you must have MUST CHANGE WITH a correct null adapter permitting you to IMPATCH OR REAS- send a DTR signal from computer pin 6 to SEMBLE. YOU CAN'T modem pin 20, which signal IMP turns off to CHANGE WHILE RUN- hang up the phone--change NODTR to on, f NING THE PROGRAM if you don't have the correct cable/adapter. (optional to intercharacter delay 4 ms change these) end of line delay 400 ms ABOUT SETUP.COM (or SETBAUD.COM) For IMP to work, you must run SETUP or SETBAUD, and set the serial port you will use to connect the modem to the same baud rate as your highest modem speed. You must also set that port to `Hardware Handshake on Pin 20'. Please remember you must not only set these settings for immediate use, BUT ALSO save them to any disk from which you will be running IMP and reboot from that disk before running IMP. ABOUT THE LIMITATIONS OF THE IMP `SET' COMMAND & NEEDING IMPATCH What's this about running IMPATCH? You thought you could set your modem speed from within IMP? The answer is, "Yes in some respects, but a re- sounding No in others." The SET command within IMP actually sets the speed of communication without a modem, for hard cable transfers between computers in the same location. It can also be used to lower speed below the modem's highest portential. However, the highest speed your modem can run at is a separate setting, because it is a combination of make, model, and initialization instructions, all in one setting. So, if your version is set for a Hayes 1200, you cannot run an Avatex, Hayes, or other 2400 baud modem, because the program-to-modem initialization in- structions are different. 0103h 05 MSPEED; DB 5 ; 5 for 1200 baud 6 for 2400 baud 0104 00 HS2400: DB NO ; No=00, Yes=FF for highest speed 0105 FF HS1200: DB YES ; No=00, Yes=FF for highest speed 0106 00 RACAL: DB NO ; Yes for Racal-Vadic result code 0107 00 PROMODM: DB NO ; Yes for Prometheus 1200b modems You can change any of those in a few seconds with EDFILE, PATCH18, SID, etc. Or you can edit the overlay and then reassemble. The other method is to run IMPATCH, a program not by Irv Hoff, the author of IMP and not approved, tested or monitored by him. Please don't report a bug in IMP, based on failure of IMPATCH to work the same as reassembly. TEST BEFORE REPORTING BUGS: ONLY IMPMDHDA has been thoroughly tested & debugged (using ZSID). Re- liable test reports from those using IMPMD3R1 & IMPMD3R2 will be wel- comed. However, this is not a tutorial for computer users, who have never tried out a public domain modem program on their own before. This is an invitation to `veteran' computer users to report anomalies, diffi- culties, etc. Please do not report a bug, without first observing the following MINIMUM TEST PROCEDURES: 1. Load IMP with caplocks on, the modem on ready for use, with ALL dipswitches forcing lines turned OFF, and the correct null adapter. DTR indicator light on the mo- dem should be ON both before and after IMP loads. Re- member that, if you change dipswitches with the modem turned on, you may have to turn it off and back on to get it to read its own settings. Or enter terminal mode with capslock on and type ATZ. When the mo- dem resonds `Ok', it has also read its settings. 2. DSC command in COMMAND mode should briefly turn DTR off and SD send light on for a fraction of a second, then reverse the process AND send a message that line has been disconnected. 3. ESC-N in TERMINAL mode should do the same thing AND exit from TERMINAL to COMMAND mode. Back in TERMINAL mode, ESC-Q should turn send light on briefly, WITHOUT turning off DTR, without disconnecting or exiting TERMINAL mode, AND(!) ESC-N should work as before, es- pecially AFTER ESC-Q has been run. 4. Back in COMMAND mode, BYE should act like DSC, PLUS exiting the program to the system prompt, and DTR light, although briefly off, upon exit should be back ON (return to normal with no program control). THE THREE CORRECT MORROW NULL MODEM CABLES/ADAPTERS: Of course for this test to work at all, you need either a port correctly reconfigured for straight-through connection to a modem, or a correct null adapter. In this regard, please be advised: A. If you rejumper, the jumper diagrams in the manual may be a mirror image (or the view from the bottom of the board, looking through it with X-ray vision), and NOT A VISUAL REPRESENTATION of the jumpering. To check this, check both pin numbers and Row A & Row B pin locations of your board vs. the jumpering diagrams. B. There are only three correct null adapters for Morrow serial ports with factory default settings. All others are a hazard, especially the one with only pins 2 & 3 reversed and all other 23 pins straight through. The ones sold in stores as null adapters are usually for PCs and similarly ported computers (Atari, Amiga, Tandy laptops, etc.) Even if they work, they may be a test of your MD serial port's ability to withstand short circuits (connecting 2 outputs). The ONLY three correct & completely safe adapters are: (Pins not shown are not connected. In both diagrams, com- puter pins are on left, modem pins on right.) MITE manual Morrow Q&A Minimum Type =========== =========== ============== 1 ----- 1 <-optional-> 1 ----- 1 <-optional-> 1 ------ 1 2 ----- 3 2 ----- 3 2 ------ 3 3 ----- 2 3 ----- 2 3 ------ 2 4 ----- 5 4 ----- 5 7 ------ 7 5 ----- 4 5 ----- 4 6 ---- 20 6 ---- 20 (This type does not 20 ----- 8 20 ----- 6 connect DTR, so you 7 ----- 7 7 ----- 7 need to set NODTR: to YES at 011Eh, by using set NODTR: NO set NODTR: NO IMPATCH.COM, SID or by just reassembling. ok all programs all but MITE may need input signal (Both of these work with NODTR set to `No'.) on MD pin 4 = CTS in.) - end -