mode to 132 columns.If you prefer using the printer in 13densed print mode, as it is known) all of thbest to set up your DOS disks with an Aumatically initializes and adjusts the printeturn on your system. For example, if youautomatically come up ready to print 132eight lines per inch, then you could creatREM This is the Autoexec.bat file to iREM for 132 columns per line, 8 linesMODE LPTI:132,8REM Don't forget to get the date andDATETIMEAZAs is the case with most DOS commaenter parameters after the command, modyou enter all the parameters. If, however, Isecond parameter only, leaving the first ascomma before the second parameter. For ex,density from six to eight while leaving the ~mode, you'd enter the commandMODE LPTI: ,8(the space before the comma is optional).reply with the screen messagesLPTl: not redirectedPrinter lines per inch setThe only difference between this and the replyto the fUll commandused earlier is that this one doesn't say "LPTl: + 1 set for132"; it doesn't need to since you haven' t made any change to thewidth parameter.Obviously, the comma before the second parameter is the onlyway to describe accurately to DOS which parameter it is that youwish to change. If the first parameter is to be changed but not thesecond one, then it's only necessary to enter the new first parameter.It is not necessary in this case to enter a trailing comma,since one is implied. For example, if you wish to change the numberof characters per line from 80 to 132, but you do not want tochange the number of lines per inch, you need only enterMODE LPTI:132and, predictably, DOS will return the screen messagesLPTl : not redirectedLPTI: set for i32The only error condition that can exist with this version of themode command happens when you attempt to enter a charactersper-lineparameter that is neither 80 nor 132, or if you attempt toenter a lines-per-inch parameter that is not six or eight. In suchcases, the mode command will not return an error message. Neitherwill it accept the parameter. It simply will not change anything. Infact, if DOS does not accept the illegal parameter, it emits the screenmessageLPTl not redirectedand nothing else, which indicates that nothing has changed.Color TV Mode. The second use of the mode command is as ameans of setting up the video display screen. This particular use ofmode only works with computers equipped with the IBMcolor/graphics monitor adapter; it has no effect on units equippedwith the monochrome adapter. The function of the command istwofold: to align the edge of the screen so that it can be seen and toswitch between forty and eighty characters per line on the screen.Many video monitors and television sets have a particularlyhard time in gra~ping the video signal emitted by a computer such asthe <strong>pc</strong>. One of the results is a poor horizontal hold, with the resultthat one of the two sides of the screen is somewhat obscured.Cathode ray tubes (television tubes) are curved at the edges, and thiscurvature can result in one or more characters being out of sight atI II II IBUSINESS REPLY CARDFIRST CLASS PERMIT NO. 673 NO. HOLLYWOOD, CAPOSTAGE WILL BE PAID BY ADDRESSEE<strong>softalk</strong>for the IBM Personal ComputerP. 0. Box 60North Hollywood, California 91603NO POSTAGENECESSARYIF MAILEDIN THEUNITED ST ATES22obviously these letters starlcl for riglifandTeft. Tfiis parameter is asignal to DOS to shift the entire display a fixed increment in onedirection or the other. For example, if you wished to reset the screento eighty-column mode and shift it to the right, you'd enter thefollowing:MODE 80,RThis would cause the screen to go blank and the entire field of viewto be moved over the equivalent of two character positions. If wehad left the screen in forty-column mode, it would have moved overby the equivalent of one forty-column character.If the display is still not far enough over to the right, we cansimply moye it over one more increment by enteringMODE ,RIf it is too far over we could move it back by enteringMODE ,LThe final parameter is a request for a test pattern that can beused for alignment purposes. The test pattern is simply a line ofnumbers across the top of the display. You would request the testpattern by issuing a command something likeMODE 80,R,TDOS would print the line of characters-in this case in eightycolumnmode-and then promptDo you see the leftmost O? (Y../N)If the leftmost 0 is clearly visible, press the Y key. If not, press the Nand DOS will adjust the screen and continue displaying the promptuntil you have it set just right.Of course, if you type the commandMODE 80,L,TDOS will do exactly the same thing, but it will move the display tothe left rather than the right.If you're having alignment problems with your monitor or televisionset, it's worthwhile to run through this exercise once to findout how many times you need to move the screen to get its mostacceptable position; then you can use that information to build anAutoexec.bat so that the display can be reset automatically everytime you turn on the system.For example, if you found that you needed to move the screentwo increments to the right in order to see the whole picture, youcould build an Autoexec.bat file that would set it up correctly every<strong>softalk</strong>
time. The file would be something like this:REM This is an Autoexec.bat file to set up the monitorREM Turn on BO-column mode and move to the rightMODE 80,R .REM Move once more to H1e rightMODE ,R/\ zSuch a fi le would certainly make life a lot easier and eliminate atroublesome and potentially fatiguing situation.Crosstown Mode. The third use for the mode command is inconjunction with the IBM Asynchronous Communications Adapteror its equivalent. As was explained earlier, this type of interface cardca n be used to drive many different kinds of peripheral equipment,including a serial printer. Since so many different types of equipmentcan be driven with the serial interface, this particular versionof the mode command is actually quite complex; it encompassesmany obscure variables that may not meijn much to the beginninguser.The exact syntax model for this version of the mode command isMODE CO Mn: ba'!ld[,parity[,databits[,stopbits[,PJJ]]where n is the number of the serial interface (either 1 or 2); baud is anumber that defines the speed at which characters will be transmittedand received; parity is either E for even, 0 for odd, or N for none:databits is either seven or eight and defines how characters are beingtransmitted; stopbits is either one or two and defines how charactersare terminated when being transmitted; and Pis used as an indicatorof whether a serial printer is attached or not.Each of these terms relates directly to general data comIT1unicationsand will be encountered many times when you're dealing withany type of interface-whether it be to a printer or over a telephoneline to a remote host computer. To understand each of these terms asuperficial knowledge of the methods of data communication isrequired.The issues are best visualized in the context of communicationsover a telephone line. A telephone line is a good example of a serialinterface. There is only one line between any two communicationspoints, so that data must be sent in a serial fashion.The method that has been standardized and accepted by the Bellsystem is the one whereby bits of information (either zeros or ones)are converted to specific audio frequencies. These audio frequenciesare within the same frequency spectrum and bandwidth as normalvoice data. Therefore, anywhere a voice line can go, computer datacan follow.The two problems most frequently encountered in communicatingthis way involve the differentiation between normal linenoise and information and the synchronization of signals betweenthe transmitting and receiving devices.Imagine that you're typing information into your <strong>pc</strong> and havingit transmitted across a telephone line to another computer.Obviously you don't type every character in an organized andeasily timed fashion. How then does the remote computer knowwhen you are sending information?The answer lies in the format in which the information is sentdown the line. As you may know, alphanumeric characters can berepresented by means of bit patterns, known as ASCII codes (forAmerican Standard Code for Information Interchange). ASCII isused universally with one glaring exception-IBM's larger computers.The problem of synchronization is best illustrated by way of anexample. Suppose we wanted to send the simple string "ABC"across a communications line. The ASCII codes for these charactersareA 1000001B 1000010c 1000011As you can see, each of these characters is represented by a uniquepattern of seven bits (binary digits). To communicate these characters,we could simply send out the binary string100000110000101000011which does accurately represent the three characters. However, thisdoesn't make much sense at the receiving end, since the receivingcomputer doesn't know, and can't tell, where the representation ofeach character starts and stops. To pass this information across, theconcepts of start bits and stop bits were introduced.$tart bits and stop bits are used to frame each character. Mostsystems use an arrangement whereby one start bit precedes thecharacter and one or two stop bits follow it. Assuming two stop bits,our transmission would take on this appearance:Get in the Holiday SpiritIt's that time of year again. Time for excbanging gifts and for family gatherings. Time for celebration ·and thanksgiving.Here at Softalk Publishing we like the holiday season so much we extend it year round. It doesn't matter when you buy a<strong>pc</strong>; in December or in July, a year's free subs.criptiori to Softalk tor the IBM Personal Computer awaits you.That's right, you get a whole year's free suQscription just for sending us your name, address, and <strong>pc</strong> serial number.Twelye issues packed with information aboutthe IBM Personal Computer just for the asking. We don't think you'll find abett e_'~, deal anywhere ..Gbrrection. We just-discovered a better deal. Send us the name, address, and <strong>pc</strong> serial number of a friend who isn'treceiving Sottalk tor the IBM Personal Computer and we'll send you the back issue of your choice free of charge. And we'llstart up your friend's year's free subscription at the same time. Such a better deal!All six pack issues (June through November <strong>1982</strong>) are still available, though supply is limited.Let us help you get in the holiday spirit. We know what it's like, because every day is like Christmas Day here at Softalk.Softalk for the I BM Personal Computer11160 McCormick StreetBox 60North Hollywood, CA 91603I BM Personal Computer is a trademark of International Business Machines.for the IBM Personal Computer December <strong>1982</strong>23
- Page 3 and 4: going now.Craig Stinson . . . . . .
- Page 6 and 7: STARTING FROM ZERO?lMeet(The INSTRU
- Page 8 and 9: lA person considering the purchase
- Page 10 and 11: the Spectrum card you can interface
- Page 12 and 13: 10 softolk
- Page 14 and 15: Gib Hoxie, left, explains the featu
- Page 16: The client threw Hoxie out of his c
- Page 19: warmed-up car, and drive away in co
- Page 22 and 23: SYSTEM NOTEBOOKby·AJan BoydIOver t
- Page 24 and 25: mode to 132 columns.If you prefer u
- Page 28 and 29: (start) 1000001 (stop) (stop)(start
- Page 30 and 31: codes. This-is actually a miniature
- Page 33 and 34: stead of just reading " You see rai
- Page 35 and 36: The Laws of Life••• • •
- Page 37 and 38: known multiphase oscillator is the
- Page 39 and 40: and changes for 1,103 turns. It lea
- Page 41 and 42: SIMPLICITY:THE ULTIMATE SOFTWARE SO
- Page 43 and 44: FOR EACH$YOU PUTINTAX ANNUAL TAX YO
- Page 45 and 46: enter a flush right format and then
- Page 47: enter information on the coins in h
- Page 50 and 51: Intelligent Statements, Holmes, PAK
- Page 52 and 53: International Software Marketing,Sy
- Page 55 and 56: $595 ·with 64KInstalled
- Page 57 and 58: to Logo's turtle graphics. It inclu
- Page 59 and 60: Iformats footnote calls, footnotes,
- Page 62 and 63: Ashton-Tate, Culver City, CAdBase l
- Page 64 and 65: GMS Systems, New York, NYPower-Base
- Page 66 and 67: Options-SO, Concord, MAOptions-80,
- Page 68 and 69: signed specifically for public acco
- Page 70 and 71: ment, fast assembler, general purpo
- Page 72 and 73: hidden files, and a program that te
- Page 74 and 75: dable to 256K. $499.Giltronix, Palo
- Page 76 and 77:
Cdex Trainingfor VisiCalc®Makes Vi
- Page 78 and 79:
Disk Drive Cover. Designed to prote
- Page 80 and 81:
An Index of Stocking Stuf fersHigh
- Page 83 and 84:
II systemicsby Larry ReaganThe Spar
- Page 85 and 86:
EIA RS-232. This is the standard us
- Page 87 and 88:
used to interface the filters to a
- Page 89 and 90:
Why pay h_undreds more fora four (a
- Page 91 and 92:
When Is Cloud NinePUh, Sometime Bet
- Page 93:
TRANSFORM YOUR IBM® TOTALLYGRAPHIC
- Page 96 and 97:
can backtrack up to eight pages to
- Page 98 and 99:
The Spelling Bee Is Over.Listen. We
- Page 100 and 101:
... ---··', ., · · · ···_,,
- Page 102 and 103:
If r,ou're smart, you'll buy your.
- Page 104 and 105:
IntegerRealCharBoolean·numbers wit
- Page 106 and 107:
able may hold. As a variable of typ
- Page 108:
came from. They'd probably find it
- Page 112 and 113:
mation Unlimited Software and lnfoc