Home

TMQ Vol VII.i - tim

image

Contents

1. Inside TMQ 32 Inside TMQ olume VILi THE MISOSYS QUARTERLY Winter 1992 93 Volume VILi changed the code for the EXIT SVC Return is to PFM010 where the program stack is switched in again the original code for the EXIT SVC restored and any error code from the COPY command and the IX register are restored before return to the caller Upon return the value in HL is checked for an error code and if none a jump is made to SCTO10 to get the next file to copy In case of any error or end of job exit is via the code at EXIT Here any error code in HL is preserved and the original high memory pointer restored If SMALARCH was invoked with the verify yes parameter both the WRITE SVC vector and the D flag also restored to their original values Note that if the system is already in verify on mode SMALARCH will not change it The program s verify yes parameter will turn verify on but the verify no parameter or default does not turn verify off In other words SMALARCH uses the status of verify upon entry as its default Finally the error code in HL is restored the system stack is switched back in for the last time and return to LS DOS is made via the EXIT SVC The positioning of SMALARCH CMD in RAM is such that 4K have been pre served for high memory routines by the ORG address I would think hope that PUSH 4K should be adequate for virtually any sve system configuratio
2. Once these pins have been set up set the Drive Select pins to what ever drive posi tion the drive is in Simply 0 1 2 3 no other pins need to be set One final note the drive select does work slightly differ ent on the Models II and IV If these Volume VILi drives are external to the computer drive 2 would have to be configured on the drive as drive position 0 and drive 3 configured as drive position 1 After setting your drives up you should now have the 720K storage available to your machine To set up your drives on LDOS and LS DOS type SYSTEM DRIVE d CYL 80 lt ENTER gt If you are adding drives externally under LSDOS as drive 2 or 3 you need to enable it them with a command of the form i SYSTEM DRIVE 2 ENABLE After this has been set you can then make it part of your CONFIGURATION by typing SYSTEM SYSGEN lt ENTER gt SYSGEN lt ENTER gt LDOS LSDOS Then the final part is to format your disk by typing FORMAT d SIDES 2 lt ENTER gt This will format the disk both sides after you have answered the other questions in the format routine Using a TEAC FD 55GFR Courtesy Vince Seifert TheTeacFD 5S5GFR 5 25inch 1 2Mdrive can be used as a 720k drive Put jumpers on the pairs of posts marked LG and HL they re at right angles to each other about 2 cm forward of the termination resistor SIP Also make sure there are jumpers on the FG posts over by the power connector
3. RATFOR M4 RATFOR reduces your programming time and effort dramatically over that required when FORTRAN is used because RATFOR code is fully structured facilitating modification and debugging and because program flow is apparent from the Overall appear ance of the program comments are sim pler and more versatile than in FORTRAN simplifying seif documentation This allows changes withoutthe subsequent debugging tolerated when modi fying FORTRAN RATFOR compiles source code to an object of FORTRAN use your existing FORTRAN compiler to convert this to executable Sort ascending or descending skip records that match a deleted recordvalue Save a tempiateofthe specifications to disk to automate the sort This allows you toset up a sort Operation that is transparent to even a novice user DSM is intended for use with user developed applications soft ware Please note that DSM creates an index file as opposed to actually re ordering the records in the data file RATFORis free field blanks ara significant as delimiters numeri Quizzes and Answers cal statement labeis are mostly unnecessary all 80 columns are available for statements provides user defined macros and QuizMaster Structured BASIC RATFOR provides powerful loop constructs l eee RATFOR is an excellent language for general purpose use but it The BASIC Answer Is vastly superior to FORTRAN when working with alarge number of modules without documentation a
4. or positions 2 15 may also use 7 and _ BRINGUP tickler fiio schedules up to 12 items per day by time New print module Remember those appointments A sorted symbol table listing is available during the assembly A complete CROSS REFERENCE listing is performed by the XREF CALendar gives you a month at a glance covers 4000 years utility Flags days with BRINGUP items Line edit text in memory and use a command syntax identical to BASIC with block move copy with string change search Invoke A 3x5 CARD filer for a free form scratch pad of 40 columns by DOS commands within the editor 12 rows Or use the new CARDX with formscapibilities It s great for keeping a small data base Ifyou are writing system software support software applications big or small EDAS will provide the power to make your job easier faster and more worthwhile WY PHRASE is a KSM from disk for lots of automation WA telephone list and autoDIALER for Hayes modems CALCulator gives you 4 functions at yourfingertips RPNCALC gives 7 functions in bin oct dec and hex Z80 RELocatable Assembler PSORT puts your PRO WAM data files in sort order EXPOR and IMPORT functions allow you to move data across windows MRAS between applications and programs There s even an online HELP facility An advanced Z80 assembly package for the programmer who wants a powerful and flexible development system It includes a macro assemble
5. plan On large computing systems extensive backup plans are used to ensure the safety of user s files Files need to be protected not only from hardware failures and cracker s but from the user s themselves It s easy to delete a file accidentally or purge several unnecessary files that be come necessary two or three weeks later I ll use the backup system in place at the State University of New York at Buffalo which attend as an example This 25 000 student university has computing systems used foradministration research andother important work on several platforms in cluding an IBM 3090 mainframe UNISYS Sperry 1100 90 mainframe a cluster of Digital VAX mini s anda large UNIX network based on SUN worksta tions and file servers Under the backup plan all new and modified files are backed up daily This set of backups is kept for 32 days All files are backed up weekly and kept for 4 months Once a month backups of all files are again made and this set of tapes kept for 8 months Once a semester all files are backed up and retained a year It is certainly not necessary to take such extreme measures on a Model 4 you may not even use your computer every day but I ll outline a plan that should give equal protection First if you have changed several files or even made a lot of changes to one a database for example make a backup of new and modified files at the end of the work session To do this easi
6. A single byte is used as type indicator allowing for up to 256 types of load modules The actual number of types in use is much less than this 01 08 OA OC OE 10 and 1F leaving enough room for extensions to the format Why notintroducea few new load module blocks to contain graphics data instead of memory load data An example the Object Code load mod ule block type 01 consists of a byte 01 indicating the type a single byte indicat ing the number of data bytes in the block and a two byte load address followed by the actual bytes to be loaded Let s use the same structure for a new Load Module type 21H and use the 2 bytes in the load address as the values for the X and Y address where the load should start The data bytes in the load module should be the bytes along arow likealineina BLK or HR file Remember a single row ofa screen image can contain 1024 pixels but no more than 128 bytes and will always fit in a load module Because each block contains information about length and load address also parts of a screen can be stored in this format the changing parts in _ an animation We can even improve on this introduce a 22H load module that is constructed in the same way but do not store the raw data bytes for the image in data part of the module store the image data bytes in the compressed RLE format that is used in CHR files While we are working we can also add a 23H type block which is the same a
7. 2 3 trade in any other database product and you can purchase LB or LB 86 for 49 50 plus S amp H How s that for a deal It doesn t matter for what system or oper ating environment your trade in was de signed for This offer does not extend to products re sold by MISOSYS or prod ucts on sale In this issue Last issue I said that Volume seven would start our focus on theC language I ll defer that an issue as many other articles were contributed or internally developed which I felt would have greater priority to TMQ readers So look for the C coverage to begin next issue I did receive a big article covering an introduction to FORTH from Peter Knaggs however I need to do some work on it before publication in TMQ I am still keeping open my offer for someone who wants to get involved with learning FORTH and writing about it in a series of articles for either MS DOS or TRS 80 MISOSYS will provide you with a free copy of either HartFORTH for the Model Y II or Model 4 or even HartFORTH 86 From time to time I am told that there is not enough on BASIC in TMQ Well you ll find an amortization program in BASIC within this issue Also an algo rithm for drawing lines with PC line drawing characters is illustrated ina BA SIC program For the assembly language buffs Frank Slinkman provides another example of his expertise with a disk quantity optimized archival program for hard drive users Along the theme of b
8. Once the driver receives a CHR 17 it ceases further setting of bit 7 for each character subsequently sent But since the hardware is still reverse video active any reversed characters still on the screen are left in reverse video Now when you want to stop displaying characters in reverse you send CHR 17 However since the previous characters in reverse still appear on the screen resetting bit 3 of OPREG will display those characters as their 8 bit component Now what were ASCH characters in re verse will automatically appear as spe cial or alternate characters That s not what you want So CHR 17 does not reset the hardware it only turns off the driver s bit 8 setting routine so subsequent Letters to MISOSYS Volume VI i THE MISOSYS QUARTERLY Winter 92 93 Volume VILi and the second one was too long to fit on a single line until I left off the second scr17 Afterreadingyourwrite upofPRO NTO PROWAM I can see why you are not familiar with the Tandy programs of SuperScripsit or Deskmate Now if I switched to PROWAM instead of using Deskmate What would I need to go along with the plain Jane PROWAM toduplicate Tandys Deskmate I have SU4 and Doubleduty Does PROWAM2 include MisterEd Is the Text Editor useful as a simple word processor as is Deskmate Would it ac cept ASCII files without modification Deskmate only requires the filename to have the extension DOC for it to be listed on
9. To illustrate further consider an example where there are 3 files in the list with the sizes 10 5 and 3 grans respectively anda target of 18 grans The calling routine would push a count of 3 a start of 0 and the target of 18 onto the stack and then call CALC_FIT The first iteration of CALC_FIT would make total equal to 10 the size of the first file in the list and then call itself with a count of 2 a start of 1 anda target of 8 The second iteration would assign 5 the size of the 2nd file on the list to total and then call itself with a count of 1 a start of 2 and a target of 3 The third level of recursion would return a value of 3 the size of the LAST file on e list in HL This 3 would be added to the total in the second level of recursion which would then return the value 8 in HL to the highest level of recursion This 8 would be added to the first level s total of 10 and the value 18 would be returned to the calling routine in HL Now consider what would happen if a are ne s RR r 5 a tt III KL ee Inside TMQ 28 Inside TMQ Volume VILi THE MISOSYS QUARTERLY Winter 1992 93 Volume VILi in the above example the target is 9 instead of 18 In the first level the total of 10 is larger than the target of 9 so the routine does not call itself but rather restores ACCUM to zero and starts
10. i e by adding 128 to the value along with a bit change in a CPU port to activate reverse video hardware Since the eighth bit is used to distribute reverse video on achar acter basis this then restrictsreverse video to the lower 128 characters graphics and special characters cannot be used simulta neously with reverse video The LB Data Manager view screen as does the entire presentationofLB s screens uses reverse video for highlighting Re verse video can also be used by an LB user to highlight the view screen when it is created or modified Since box and line drawing characters have character values above 127D they would be unusable on a TRS 80 In the quest to make both ver sions equivalent my supposition is that LSI either LSI did not consider the use of line drawing characters or decided it could not implement their use Inside TMQ 15 Inside TMQ Volume VILi THE MISOSYS QUARTERLY Winter 1992 93 Volume VILi The LB view screen is created by a user by means of a drawing technique using cur sor movement keys and character entry Fields may be placed on the screen any eee where the choice is entirely at the discre tion of the user The screen image is saved in a data file using two Character arrays The screen array is for storing the actual screen characters note that a string of periods is actually stored in the screen array for each position of a field The eighth bit of the screen array
11. the algorithm because itprefers to use the largest files first created two floppies of 75 75 35 35 13 233 one floppy of 75 60 50 35 13 233 and two floppies of 60 60 50 50 13 233 It succeeded in other words in fitting exactly five disk s worth of data on ex actly five disks Essentially BEST_FIT is a brute force approach to the problem The recursive nature of the algorithm Inside TMQ 23 Inside TMQ Volume VILi THE MISOSYS QUARTERLY Winter 1992 93 Volume VILi creates in effect up to one FOR NEXT loop for each quantity in thelist Thus if you have 15 files to copy there could be as many as 15 nested FOR NEXT loops created in the program The following BASIC pseudo code is a ROUGH representation of how this works TOTAL 0 BEST 0 FOR XO 0 TO 14 TOTAL TOTAL QUANTITY X0 IF BEST lt TOTAL AND TOTAL lt GOAL THEN BEST TOTAL IF TOTAL lt GOAL THEN FOR X1 XO 1 TO 15 TOTAL TOTAL QUANTITY X1 IF BEST lt TOTAL AND TOTAL lt GOAL THEN BEST TOTAL IF TOTAL lt GOAL THEN FOR X2 X1 1 TO 15 TOTAL TOTAL QUANTITY X2 IF BEST lt TOTAL AND TOTAL lt GOAL THEN BEST TOTAL IF TOTAL lt GOAL THEN FOR X3 etc IF TOTAL GOAL GOTO JOBDONE TOTAL TOTAL QUANTITY X3 NEXT X3 IF TOTAL GOAL GOTO JOBDONE TOTAL TOTAL QUANTITY X2 NEXT X2 IF TOTAL GOAL GOTO JOBDONE TOTAL TOTAL
12. 4E00H to 51FFH only IK Thus DOS overlays in release 6 have more memory space available to code function ality in the overlays If you have access to a Programmer s Manual you will note that the DOS in cludes a service call named DODIR This is available under both LDOS and LS DOS It s function is to perform a mini directory either to the display or a user buffer That s what Superscripsit is using to display the directory Finally on the subject of CAT issue Liii nce EEE EEE EEE mein Letters to MISOSYS 12 Letters to MISOSYS Volume VILi PUTs to DO won t have bit 8 set The only way to ensure that no characters remain on the screen which were dis played in reverse is via a CLEAR SCREEN i e HOME 28 followed by Erase to end of display E2EOD 31 It works that way by design LS DOS 6 3 1 on 6000HD Fm DY I m curious about the Model 2 12 16 version of LS DOS 6 3 1 Will it work on a 6000HD And what about the Hard Drive Is it usable under 6 3 1 via your RSHARD drivers or some other way How Model 4 compatible is it Fm MISOSYS Inc Yes and No Yes The LS DOS 6 3 1 which is for the Model I willrunon the 6000HD have one right nextto me A driveris available for the II 12 16 6000 HD but it is TRSHD2 DCT and TRSFORM2 CMD The seems to not work on some Model 12 computers how ever the problem has never been isolated Converting a Database to Clipper Fm RD The task that I ha
13. 5 each of 300 sectors 50 grans 5 each of 360 sectors 60 grans and 5 each of 450 sectors 75 grans All of these were to be archived to 360K DSDD floppies which hold 233 grans of data after the require ments of DIR SYS and BOOT SYS The human brain would typically select five sets of 75 60 50 35 13 233 each to exactly fit the data on five diskettes The original SMALARCH merely stepped through the sorted list and picked the largest file which would fit on the disk Using the above file sizes this would result in the first disk having 75 75 75 225 granules used and 8 granules wasted The second disk would have had 75 75 60 13 223 grans used and 10 grans wasted etc spreading five disk s worth of data over six disks Obviously amoresophisticated approach was required Enter the BEST_FIT algo rithm I originally wrote BEST_FIT rather differently than it appears here Origi nally it was part of an order filling system for a manufacturer who wanted to fill distributor orders as efficiently as pos sible without breaking boxes of the items to be shipped Thus ithad to pick the smallest combination which was equal to or greater than the quantity desired by the customer Obviously this new version of BEST_FIT since it mies to fill available space must pick the largest combination which is equal to or less than the requested total quantity Using the set of test files described above
14. CompuServe Forum as long as the forum remains avail able It is expected that the index covering TMQ Volumes I through VI will be avail able by late January 1993 Points to Ponder DEE SBT Corp a software consulting firm has coined a new term which should add headaches to work place businesses as well as home based businesses using com puters I m referring to the futz factor Futzing relates to the wasted time spent by computer users playing or tinkering with theircomputers According to SBT futzing includes striving for perfection playing with fonts re doing projects and most likely getting into computer games on business time But as we waste more time on computers the hardware continues to add features For instance Sejin America and Home Row announced a new 101 key PC key board which incorporates Home Row s J Mouse This non traditional mouse is fab ricated with resistive pressure sensors lo cated beneath the J key hence it s name By depressing the key and pushing it in any of the four directions software converts the pressure changes to mouse movements Early versions of the J Mouse are already being used on Everex and Leading Edge notebook computers Turning away from computers here s something to cure the never find a park ing spot parking blues Mazda came up with a prototype one passenger vehicle that folds into a suitcase the suitcase is essentially the body of the
15. QUANTITY X1 NEXT X1 IF TOTAL GOAL GOTO JOBDONE TOTAL TOTAL QUANTITY X0 NEXT XO As can be seen from the above if no combination of quantities in the list adds up exactly to the goal the search can be quite extensive and therefore extremely time consuming something like five or ten minutesto gothrougha list of 40 files Normally the only time this will occur in SMALARCH is for the last disk when the total size of all files is less than the goal Inside TMQ 24 Inside TMQ Volume VILi THE MISOSYS QUARTERLY Winter 1992 93 Volume VILi To avoid such endless searches this special case is handled very quickly by code in BEST_FIT To see how this concept is implemented let s go to the program listing starting at the label BEST_FIT Because all references to the variable arrays in the program are base zero the number of the last array element in use willalways be one less than the number of elements For example if there are 100 files to copy array elements 0 through 99 will be in use For convenience later on the variable LAST which refers to the last array element in use is set to one less than COUNT which is the number of not yet copied files in the sorted list Whenever the algorithm finds a better BEST solution to the problem the files selected are recorded in an array of one byte flags which are related by position to the elements in the main ARRAY of files That is the
16. With the inclusion of the Suppress Blank Lines feature of the Print parameters you can eliminate the rows which have noth ing printed on them This can only be useful for one across labels however Also on mailing labels make sure you set your print parameters for 6 line forms and set the Rec parameter in the defining of the screen That s to ensure thatall six lines of a typical 6 line mailing label will be used for each record you do not want your printed image riding up the labels Dk ee ae ee Closeouts After evaluating the past few years sales of MISOSYS TRS 80 software products the time has come to cease the manufac ture of selected program packages This issue includesa list of products which will no longer be available from MISOSYS reflects those products under clearance at prices reduced approximately 80 from normal Available quantities ofsome prod ucts may be limited Note that no warran ties returns or support will be offered on these items Pee ee Hardware Clearance Over the years MISOSYS has accumu lated TRS 80 hardware and related equip ment in excess of current needs The following items are now classified as sur plus and are available for sale to the first takers shipping charges are additional Tandy 2000 e w color monitor floor stand 150 TRS 80 Model II Video needs tweak ing 50 TRS 80 Model III working 35 TRS 80 Model IH video bad 20 e Model 4 128K non g
17. and on the RY posts two of three posts in aright triangle near the termination resis tor SIP the other possible pair of the three is marked DC and on the appropriate DO D3 drive select between the power con nector and the termination resistor SIP Inside TMQ 4 Inside TMQ TRS 80 Software and Hardware from MISOSYS Window Application Popup Z80 Assembler PRO WAM EDAS This desktop manager gives keystroke access to 4 memory resident pop up applications and disk access of others A Func tion Key lets you invoke DOS library commands PRO WAM tums your TRS 80 into a powerful machine because it comes with many useful and powerful time savers and desk organizers Here s some of what you get This powerful combined disk based line editor and Z80 macro assembler assembles from one or more nested source disk files or memory buffer features nested conditionals with ten pseudo ops nested 7 level MACROs with parameters both positional and by keyword cross reference listings and a separate full screen text editor v An ADDRESS file data base prints cards and mailing labels Throw away that black book and your Rolodex file The expression evaluator supports left to right evaluation of add sub mul div mod shift logical AND OR XOR NOT binary ops EQ GE GT LE LT SHL SHR unary HIGH LOW Labels may be HEAD pipes formatted address data into your letters up to 15 characters long start with A Z
18. be possible to do something Ideas Fm MISOSYS Inc Latest version of LDOS for the Model Iis 5 3 1 that was a relatively recent upgrade You cannot run the double density driver in low memory as there is not enough space available Why not dig intoCOPYART to fix it to honor HIGH 10 Be ee a OPREG bit 3 Confusion Fm MISOSYS Inc There appears to be some confusion concerning the software handling of reverse video in the Model 4 DOS The TRS 80 Model 4 is not capable of reverse video of the 256 character Set only the lower 128 characters can be displayed in reverse The Model 4 uses character bit 8 to indicate a character should bedisplayed in reverse video Once reverse video is activated in hardware any character stored in the video RAM which has bit 7 set values 128 255 is displayed in reverse Characters with val ues of 0 127 are displayed in normal video Bit 3 of the OPREG 78H desig nates hardware reverse video Therefore when you activate reverse video with CHR 16 the video driver enables the hardware by setting bit 3 and turns on the driver s bit 8 setting routine Any character sent to DO from then on will have bit 8 set by the driver even if itisa character already with a value above 127 the hardware will display it as an ASCII character in reverse video since the hard ware is enabled The DOS manual docu ments CHR 17 as Set high bit routine off That sexactly what it does
19. be very useful in making my ownarchives of hard disk files andhopeand trust TMQreaders will find it equally useful AN Drive 7 ACRV3C0O1 40 Cyl DDEN Free 0 00K 360 00K Date 24 Aug 92 Filespec MOD Attr Prot LRL Recs EOF File Size Ext Mod Date Time KINSKI17 GIF FULL 256 274 202 69 00K 2 20 Jan 92 23 02 INQUIRY GIF FULL 256 121 143 31 50K 1 23 Jan 92 11 28 BANDB GIF FULL 256 105 78 27 00K 1 22 Jan 92 15 20 ELVIS2 GIF l FULL 256 101 152 25 50K 1 4 Feb 92 15 14 GOTHIC17 GIF FULL 256 102 235 25 50K 1 4 Feb 92 14 59 KINSKI GIF FULL 256 96 219 24 00K 1 22 Jan 92 16 44 DOGNCAT GIF FULL 256 87 186 22 50K 1 23 Jan 92 11 04 AUGUST GIF FULL 256 81 7 21 00K 1 20 Feb 90 18 30 DEBHARRY GIF FULL 256 73 210 19 50K 1 22 Jan 92 12 12 BRINKLEY GIF FULL 256 66 60 16 50K 1 22 Jan 92 16 22 CAPITOL GIF FULL 256 62 47 16 50K 1 25 Jan 92 21 53 JUNE GIF FULL 256 64 236 16 50K 1 23 Jan 92 12 21 COKE GIF FULL 256 55 101 15 00K 1 21 Jan 92 14 09 JANUARY GIF FULL 256 60 240 15 00K 1 23 Jan 92 12 06 AUDREY GIF FULL 256 13 196 4 50K 1 22 May 90 17 06 ey ey ce ee ppg weh SS fe ge YY SD ees SP ee aE m a ee oe Se ee ey ey ee ee Oe eee ee mb ES Ey die eS eS SS YS SY SY ee SS ES cee a gt a GENE a AP a CE Sas GEHEN GE aaa Np ae eS es SY SS ee a 2 oy Inside TMQ 34 Inside TMQ r Volume VILi THE MISOSYS QUARTERLY Winter 1992 93 Volume VILi Inside TMQ 35 Inside TMQ olume VILi THE MISOSYS QUARTERLY Wint
20. but that doesn t give me an m on the screen At three score years and ten my old brain isn t what it used to be can you help me out Fm MISOSYS Inc The inter national versions of LS DOS specifically the French Belgium 6 3 1F and Deutsch 6 3 1D versions require the use of a TRS 80 equipped with the re o m 2 mn G eee sur Bosse Be A spective keyboard The international DOS versions are not conversant in the foreign language each merely addresses the spe cific keyboard and video The printer driver is also specific Everything else about the DOS except for the day month year sequence of date entry is identical to the domestic variety DOS In your case you cannot enter the letter M because your keyboard does nothave thatkey Neither can you enter the follow ing characters 4 and The sketch shows a keyboard matrix for the French Belgium keyboard The area in adotted box reflects the keys which are only in place on the international key boards The Deutsch keyboard would have those keys installed with slightly different keycaps In your case M is one of those keys Note also that if you compare the keycaps with the English keyboard you will note that there are differences from the regular key positions as well I have placed the English alphabetic keys which are different from the international key boards just outside of the keyca
21. cell is used to designate that cell position is to be displayed in reverse video if the bit is set The attribute array contains field num bers in any array cell where the corre sponding screen position is a field LB supports a maximum of 64 fields num bered 0 63 To differentiate field 0 from a non field position each field number has a mask value of 128 added to it This scheme uses bits 0 6 to store a field num ber with the high order bit bit 7 set to indicate a field On the surface it would appear that the view screen storage arrays provided no further room for adding any other at tribute or of expanding the displayable character set to include line drawing char acters for the PC That was the first chal lenge to overcome I did not want to alter the screen array which would require a conversion procedure to upgrade existing screen files and an inability to be down ward compatible In solving the problem I realized that even though the attribute array used all eight bits they were used only when a field cell was specified Since line draw ing has to be restricted from passing through a field displayed on the screen fields and line drawing were mutually exclusive functions If limited line draw ing bit uses to bits 0 6 and keep bit 7 RESET then the attribute array could share its use with both field specifications and line drawing specifications Also since the TRS 80 could not simultaneously dis play gra
22. difference between what we need and what we ve got and the values for start and number adjusted to de scribe where to start the search and how many elements tosearch Then CALC_FIT calls itself to perform this search The new iteration has a new total the size of the first file for this search and a new target as described above If the total is too small then CALC_FIT calls itself again with new values for target startand number Thus the program will loop from the label Inside TMQ 27 Inside TMQ Volume VILi THE MISOSYS QUARTERLY Winter 1992 93 Volume VILi CALC_FIT to the CALL CALC_FIT in struction until a sum greater than or equal to the target is accumulated In each of these iterations the total of all sizes held in ACCUM is compared to BEST and BEST and the BST_FLG array updated each time a better fit is found Once a total equal to or greater than target is found the program will loop from the first POP DE instruction after CALL CALC_FIT to the first RET instruction executed by the code as many times as CALC_FIT calleditself 1 e if CALC_FIT calls itself ten times itmustreturn to itself ten times Finally when either an exact solution has been found i e ACCUM GOAL or all possibilities have been exhausted re turn is made to the calling routine with the solution value in the HL register and the component parts of the solution identified in the BST_FLG array ee
23. four across Label formats also include formatting for a Rolodex card and a 3 by 5 index card Label formats automatically select the needed fields from your database definition For printing associate any of the ten index files and you control exactly what records get printed even a subset of indexed records can be selected for printing to give you a means of recovering from that printer jam halfway through your 30 page printout You can even force a new page when the key field of an index file changes value Up to ten different printout definition formats can be maintained for each database Reports may be sent easily to a printer the console display screen or to a disk file useful for subsequent printing or downstream data export to other programs Report formatting allows for multiple across mailing labels multiple copies of the same record or even form printing one record per page for sales books You can easily generate mail merge filesof address or other data for your word processor Oryou can use LB s built in form letter capability Help is on the way The main menu even provides a shell to DOS so you can tempo rarily exit LB to perform other DOS commands LB provides extensive on line help available from almost every sub command A200 page User Manual documents every facet of LB s operation MISOSYS Inc PO Box 239 Sterling VA 20167 0239 703 450 4181 or orders to 800 MISOSYS TRSCROSS Pronoun
24. include when the JCLiscompiled by the DO command DO compiles the file before running it If I created DOFILE JCL in the same JCL file as the include it would not be available at compile time So why use include why notuse dodofile jcl The answer is that I want control to pass back to PARBACKA JCL after DOFILE JCL is executed The only way to do that is to use finclude Also notice that I remove DOFILE JCL before the include Re member that the include is used in the compilation phase By the time the RE MOVE is executed DOFILE JCL has long since been inserted into PARBACKA JCL If youdon town ParmDir I would recom mend getting it You may not use it a lot but when you need it you ll be glad you have it Just the other day I wasconverting about 10 disks from Multidos to LDOS Copying the files left garbagein the LDOS directory date fields Instead of typing ee date on for 150 orso files I typed parmdir 7 dofile jcl a reset x date on once for each disk fol lowed by do dofile This helped do what Computers are supposed to do make life easier I ve also included CHECKDIR JCL and CHEKDIRA JCL which check every partition s and DiskDISK s direc tory for errors using MISOS YS Toolbox THE MISOSYS QUARTERLY Winter 1992 93 Toolbelt utilities z CHECKDIR produces the file checkdir log which contains any errors found As a parting suggestion I would hi
25. never thought about the method used to handle wasted toner on my laser printer until one day when I was having considerable diffi culty keeping it clean PC cartridges are relatively expensive Inside TMQ 38 Inside TMQ Volume VL THE MISOSYS QUARTERLY Winter 1992 93 Volume VILi Quill s price is 129 88 These are sup posed to last about 7000 copies a toner bottle lasts forabout3000 copies always thought that the 7000 limit was based on the usability of the photoconductive drum However it turns out that this is not the case The drum can last anywhere from 0 to 10 000 or more copies depending on how many imperfections you want to live with minute scratches on the surface can cause dot blemishes to appear on the image transferred to the paper The other dependency is impacted by the method used to accumulate wasted toner With 130 for PC cartridge replacement there is a tendency to want to use aPC cartridge past the 7000 point especially when using the machine to print out program listings I was sitting one day at the printer trying to determine why it was dirtying up con tinuously after just one page of printing when it hit me the printer must somehow accumulate the wasted toner in the PC cartridge itself and the chamber used to bottle the waste was filled up there could simply be no other mechanism because the print engine was too simple a device Since I have saved every PC cartridge I
26. next toit on one side and the OUT is the next pin to it on the other side Just make up a cable using ground and one of the adjacent pins going to a mini jack and another cable using the other adjacent pin going to it s mini jack Set the volume control to about moderate loud from the speaker annoyingly loud Plug the input cable into the output of the radio call up TAPE100 and watch for the symbols Reverse the cables to the com puters and the plugs in the amplifier for transfer in the other direction That s all there is to it and it works every time and transfers reliably I tried to get Mark Reed to modify his program Load100 CMD to work both di rections but he has trouble with his CASS port and begged off I suspect his problem is with the tape system not with the CASS port Every time I have tried to use tape I have eventually had trouble The direct cable amplifier cable method works super If we could get a program for the Model IH that would work both ways in LDOS and also one in TRSDOS then we would be able to use the M100 to transfer anything to anything in the TRS30 realm Besides allowing students and research ers to have a super low budget tool for notes and full word processing The inex pensive Model 100 does great for portable work but the Model III or Model 4 does much better managing files on disk and exchanging files with others by disk The Model Is are very cheap now and still
27. often do it every couple days or even once every week It all depends onhow many files are created updated on your system Just re member more backups are better than less I usually do full backups about every six months This will also vary from system to system Generally I would do them as soon as a new system is configured and running after installing and debugging a major upgrade operating system major change in the system set up etc and when all the minor modifications found on the daily backups have added up to major ones since the last full backup For full backups I use PowerSoft s BACKREST available from MISOSYS This program creates an image of a hard drive partition on multiple floppies Other similar utilities are available take your pick I first run my MOD3PART JCL to enable my LDOS partition then run BACKREST on each of my 5 partitions BACKREST informs meof the number of disks I need before starting the backup so if I need more I abort the program and format them I usually format one more than BACKREST calculates it needs as it is occasionally off by one disk One problem with BACKREST is that it does not reset the modification directory flags so even though all files have been backed up the directories indicate other wise To correct this I wrote RES MOD JCLandRES MODA JCL RESMOD JCL execute with do resmod executes ParmDir to create DOFILE JCL which clears mod flags on all Di
28. pairs of components a top vertical a bottom vertical a left horizontal and a right horizontal I could thus create a table of component values which would then 18 represent equivalent characters Value se lection was arbitrary I chose to use binary values of 8 4 2 and 1 to represent the top vertical TV bottom vertical BV left horizontal LH andrighthorizontal RH components respectively For instance a plain horizontal line has both an LH and RH component a top left corner has both an RH and BV component and a left facing T junction has three components TV BV and LH With the line drawing characters converted to a table of sub component values it is quite easy to per form a simple lookup of the character value to a given code The next piece needed to put together the line drawing algorithm was a method to Create a code value as the cursor was moved about the screen Careful thought produced the following idea Thecursoris always moved by means of an ARROW key which denoted the direction of move ment Thus if the direction of movement is UP the current character cell should add atop verticalcomponent Similarly if the direction of movement is RIGHT the cell should add a right horizontal compo nent It is easy to see then that moving DOWN adds abottom vertical component and moving LEFT adds a left horizontal component But what should these com ponents be added to The current cell value No it
29. purchased never know when someone would start recycling them I proceeded to examine one of my used cartridges Aclose inspection revealed an easy method to disassemble the cartridge Once the drum was removed from the cartridge it revealed a compartment which was fill of toner My problem was the cartridge I had been using had its waste toner compart ment filled up thus the new waste toner had no place to go but spill over onto the paper dirtying up the image The machine provides no warning when this happens you re supposed to replace the PC after 7000 copies All I had to do was clean out the waste tonercompartment and I would then have an almost good as new Car tridge The following procedure can be used to perform the job I have cleaned two cartridges using this procedure which have provided me an economical way to extend the life of a cartridge Pay close attention to the use of the plastic bag Cleaning a NEC PC Cartridge l 8 Place the removed drum on a soft Obtain a large plastic bag one in which you can place the PC car tridge and a receptacle to receive the waste toner I use an empty tonercartridge to receive the waste Roll up your sleeves and remove any jewelry you want to minimize the chance of getting toner on you Open up the empty toner cartridge or other receptacle you will use to receive the waste toner and place it in the bag Looking at the top side of the PC there is a plastic p
30. s because very few manufacturers are build ing any more MFM drives the ones typically used on the older machines I attended a presentation by Seagate Tech nology recently and was amazed as to their projections on the shift in drive size The Blurb 2 The Blurb Volume VILi THE MISOSYS QUARTERLY Winter 1992 93 Volume VILi Right now their shipments of 3 5 hard drives exceed the shipmentof 5 25 drives And 2 5 drives will overtake the 3 5 ones in a few years Seagate has also discontinued many of the older drives The only MFM drives still in production at Seagate are the ST225 20MB the ST251 40MB and ST4096 80MB All 3 5 MFM drives are discon tinued Even the SCSI 1 and early IDE drives are out of production Kalok dis continued production of their 3 5 20MB drive quite some time ago I used to use those in my MHDT34 hard drive package But it s more sensible these days to make larger capacity drives Of course the Seagate presentation was important to me for two items 1 I gota look at the new ST351A X IDE drive which has a combination 8 bit 16 bit jumper selectable interface I grabbed onto one of those recently and replaced the old Kalok in the family s 1000TL 2 with the snazzy 351A X Not only is there now twice the storage capacity but the 351 is considerably faster and quieter than the Kalok 320 I m nowselling351A X drives see announcement later on The second thing I fo
31. s size in sectors is checked If itis too large to fiton the floppy orit s an empty file i e one with no records it is skipped Five is then added to the number of sec tors and the sum is divided by 6 the number of sectors per floppy granule This yields the number of floppy grans required to hold the file This value is written in Isb msb order to the first two bytes of the next unused array element Then the file name and file ext are copied from the directory record to the array element and the next HIT entry checked until all 256 have been checked Finally a count is made of the number of files to be copied with the result placed in the word COUNT in the shell sort subroutine Now that we have dispensed with the need for the HIT table and the initial informational messages the stack is switched to STACK the program stack to accommodate the large stack require ments of CALC_FIT as well as cope with Inside TMQ 31 Inside TMQ Volume VILi THE MISOSYS QUARTERLY Winter 1992 93 olume VILi the effects of using the CMNDI SVC to invoke the LS DOS COPY command At DSKDONE the array is sorted and a check made to see if there are any more files to be copied If so COUNT is up dated and then at PROMPT the user is prompted to insert a diskette in the drive specified in the d parameter The diskette is then checked and the amount of its free space in granules is calculated and stored
32. the menu I have many thousands of words stored in ASCII Deskmate files Would it allow transfer of ASCII files from one disk to another from within the word processor program Would it allow importing an ASCI file to the file under work from another file on that disk or on another active disk Will it allow a speci fied paragraph to be exported to another file on the same or a different disk and have it automatically appended to that file Will I have to have 128K on my Model 4 to run it one of my 4 s does the others don t Easy enough to fix How to obtain PRCTL How much As on p 35 VI iv Same for CTL255 And on other subjects Why can t LDOS 5 3 doa CAT It does a DIR in alphabeti cal form and it does a four column DIR un alpha when asked for DIR under SuperScripsit Mad3 so the routine must be there somewhere perhaps only in the SS It sometimes makes for easier print outs to be taped to the disks The DIR 0 P Printout is longer than the CAT 0 Prt Fm MISOSYS Inc The format I use to publish patches in TMQ is as a FIX file This means that you should type the lines into a file save it under the name speci fied and apply it to the program as speci fied You really only need to type in the D and F lines however if you care to preserve the file for future reference it is a good idea to type in the comment lines as well or obtain the corresponding DISK NOTES to save you the typin
33. to enable easy porting of LB data to other systems Competitive Trade up policy Send in an original Table of Contents page from any existing database program and get LB Version 2 for half price That s only 49 50 S amp H Ordering Instructions Specify MS DOS and media size or TRS 80 4 version LB is priced at 99 5 S amp H US 6 Canada 7 Europe 9 Asia Pacific Rim and Australia Report generation Report generation incorporates a great degree of flexibility Your report presentation can be totally customized through print defi nition formats which you define on the screen as easily as you define the add update view screens You can truncate field data strip trailing spaces ortab toacolumn You control exactly where you want each field to appear on your report LB provides for a report header complete with database statistics database name date time and page numbers A report footer provides subtotaling totaling and averaging for calculated dollar floating point and numeric fields print number of records printed per page and per report 7 Many report formats can be automatically created by LB s define print autogen module You specify your printer type and character size from a pop up list box Select one of four canned report formats narrow or wide carriage Table reports a Form report or an address mailing label using one of six different sizes of labels including labels printed two three and
34. turns out You need to examine the adjacentcells for Components closest to the cell in question As an example let s consider moving UP A cell value is built then by adding 2 LH code if the cell immediately left has an RH component plus a 1 RH code if the cell immediately right has an LH compo nent plus a4 BY code if the cell imme diately below has a TV component plus an 8 TV code if the cell immediately above has a BV component If the cell immediately left for instance has no RH component then you know thereis no line coming from the left As it turns out there is also no problem with checking for and including a compo nent value from the adjacent cell in the direction of movement This is because Inside TMQ Volume VILi thecomponentvaluewillalwaysbeadded because the direction of movement re quires the corresponding componentvalue However considering that adjacent cell allows us to consider all four adjacent cells as a common function prior to any function needed to be executed for a spe cific direction I chose to use the screen borders as an enclosing surface thus if the cursor is currently positioned at the border the cursor cannot be moved into the border to wrap around to the opposite side of the screen Neither does the imaginary cell on the other side of the border add any com ponent Another question to consider is the simul taneous display of line drawing and ASCII characte
35. unusable but theonly way sucha formatter can lock it out is to either allocate it in the GAT or construct a file entry allocating it You should be safe And kudos Fm AM I wanted to drop you a line but have been very busy and finally have gotten a break here at the shop to compli ment you and thank you for producing and writing such an excellent piece of Letters to MISOSYS Volume VH i THE MISOSYS QUARTERLY Winter 92 93 Volume VH i software I m referring to HDPACK I hadn t realized how flakey a hard drive can get after using it even for a week I knew reading and writing to the hard media will fragment a file after several access s and now I can really appreciate on a weekly basis to optimize itand know all will be smooth on a regular basis Fantastic and a job well done I used DISKOPT by D Goben and since then have stuck it in the back of the disk box I ve run into inconsistencies with it and seems a clash every now and then would occur I didn t like it after I found out that it caused some files to grow I noticeda 19 5K HR file would turn out to be 24K when I finished optimizing I don t know what happens but it must me re sizing the granules or something At any rate I have one comment On your HDPACK also I am using LS DOS 6 3 1 and havecreatedaJCL file to optimize my hard drive it s very simple HDPACK 0 HDPACK HDPACK 2 HDPACK 3 One thin
36. users Once a diskDISK file is installed into a logical drive slot the diskDISK canbe used just like any other physical drive diskDISK provides for easy swapping of any currently active diskDISK file With diskDISK you can easily group related files for ease of maintenance DiskDISK files can also be set up as images of physical drives to allow mirror image backups DiskDISK drives allocate in granule sizes smaliar than your hard disk system Five inch diskDISK images allocate just like floppy drives Also there are special diskDISK types that allocate inone or two sector granules for maximum storage efficiency 44 Our new 2 6 0 release also works with expanded memory known to the DOS such as our XLR8er board A BANK parameter lets DoubleDuty use any pair of adjacent memory banks With ex panded memory and DoubleDuty run ScripsitProalongwithother programs If you thought you needed another computer think again With DoubleDuty you can now have two for the price of one DOS Manual Hard Disk De fragger HDPACK When your hard drive files become Iragmented with excessive directory extents access speed degrades Your program will finish in iess thanthe optimum time Now with our HDPACK utility youcanrestorethat ZIP to your computer HDPACK will automati cally anid intelligently re pack the fragmented files on your drive which will improve the performance oi file access time HDPACK provides a visual display of its
37. 01 40 watt supply Provides 5V 2 5A 12V 2 0A and 12V 0 1A Size is 6 25 x4 x1 75 mounting holes are 3 125 x4 75 Astec AC12310 68 watt supply Provides 5V 7 3A 12V 2 5A and 12V 0 1A Size is 7 69 x4 1 25 x2 mounting holes are 3 75 x7 25 Direct replace ment for Tandy Model 4 power supply XLR8er d Model 4 in III mode LDOS5 3 XLR8er Interface Kit This is based on our Hardware Interface Kit but is for the XLR8er board operating under LDOS 5 3 The package Includes XLR2RAM XMEMDISK BANKER VIDX and SETX XLR2RAM adds a bank handler for the extra 64K of memory an 192 255 46 data base program AFR Auto File Reporter is obviously the module that prints out your reports and AFU Auto File Utility recovers space and keeps the files integrity intact AFM is a free form entry system which means that you can enter your datain any way you want You are not limited to a particular screen format In fact each record can have Its own individual display format Really Aunique feature is the ability to define the same field repeatedly within a record AFM s search routines will find every occurrence of a field within a record no matter how many times it is repeated An AFM record can be upto 4096 bytes long including fieldname information but each AFM record takes up only as much space as it needs If the record must be expanded then more space is taken up on the disk AFU will l
38. 10th flag relates to the 10th elementof ARRAY etc Obviously these must be initialized to zero FALSE upon entry Next the sum of all files in the list is accumulated If this sum is less than the goal which is the free space on the target disk it makes no sense to make a long search for a sum which can never be found Also if the sum is exactly equal to the goal there is no need to make a search Thus in these special cases the BST_FLG flags for allremaining files will be set and the sum of all files returned to the calling routine in the HL register In the only other case is that the sum of all file sizes is greater than will fit on a floppy which means a selection ofasetof the remaining files must be made which is done by CALC_FIT Now that we know we ll be invoking CALC_FIT and since the BST_FLG ar ray is filled from the contents of the TMP_FLG array whenever a better value for the BEST solution is found all TMP_FLGs are now initialized to zero Inside TMQ 25 Inside TMQ Volume VILi THE MISOSYS QUARTERLY Winter 1992 93 Volume VILi Inside TMQ FALSE CALC_FIT uses two kinds of variables which in C parlance are called global and local The ARRAY of file sizes and names the array of pointers PTRO ACCUM and BEST are examples of global variables They can be ac cessed by code anywhere in the program including CALC_FIT The local variables on the other ha
39. 2 disk drives and upper ower case BASIC Compiler BASIC Sort Utility BSORT Here s a high speed sort for almost any number of one or two dimensional BASIC arrays string integer single and double precision When invoked from your BASIC program BSORT wili perform the indicated sort and execution will continue with the next statement in your program EnhComp This is an enhanced BASIC compiler released in 1986 and reviewed in the March 1987 issue of 80 Microcomputing and October 1987 issue of COMPUTER SHOPPER This compiler has lots of great features it handies the bulk of Model ill Microsoft BASIC and supports additional commands and functions Stan dard is fioating point with both singie and double precision functions random file access X mode for reclens to 32767 turtle graphics pixel graphics keyed array sort multi lined func tions user commands IF THEN ELSE REPEAT UNTIL printer control sequential file positioning line labels and more Multiple key arrays may be specified the sorting on each key can be done in either ascendingor descending order Tag arrays that do not affect the sort but merely follow along may also be specified BSORT can also create an integer index array without affecting the actual orderof the elements in the sorted array For string arrays midstring parameters allow sorting based on a portion or midstring of the key array elements BS
40. ASCII format Very easy to use and really gets the effect you want Allows completely definable report generating from your PowarMail data 47 A Major Enhancement for SCRIPSIT 4 MI and I PowerSCRIPT This modification for Radio Shack s SCRIPSIT program turns it into a POWERHOUSEI Our program merges with your copy of SCRIPSIT to create a new programi PowarScript allows you to add printer control codes directly in the body of your text Now itis easy to addunderiining bold face the different sizes of print etc Initially set up for the EPSON type dot matrix printers it is contigureabie to just about any printer during set up If you have more thanone printer type then just setup acopy of PowerScript foreach printer you have PowerScript adds the ability to see an alphabetized directory without exiting the program seeing how much frag space you have and others It works onthe Modail Ill or 4 versions of SCRIPSIT It will even make a Modell version of SCRIPSIT work on a Model lit or 4 in the Ill mode Lastly PowerScripi removes the limited copy feature of SCRIPSIT so that you may make as many copies as youneedor copy itto your hard disk without hassie animated TRS 80 screen graphics PowerDraw PowarDRAW allows you to create graphics mixed with text if dasired and save them to disk It allows you to create up to 33 trames of animation and play them likea movia It also allows you to save the g
41. CII orrun a separate conversion program first before transferring TRSCROSS reads your tokenized BASIC program or SuperSCRIPSIT files directly off your TRS 80 disk and performs the conversion all in ONE pass while being transferred directly to your PC or compatible com puter Automatically converts most BASIC syntax and lines that need special attention can be listed to a printer Does not convert PEEKs POKEs graphics machine language calls orsub TRSCROSS will even FORMAT a TRS 80 disk right on your PC Handy for those who use both machines Former TRS 80 users who no longer have their TRS 80 but still have diskettes with valuable data this is exactly what you ve been waiting for TRSCROSS will READ FROM and COPY to the following TRS 80 double density formats TRSDOS 1 2 1 3 TRSDOS 6 2 LDOS 5 3 DOSPLUS NEWDOS 80 amp MultiDOS DOS formats listed above flagged with signify that earlier versions of these DOS s are readable as well but one or more sectors may be skipped due to a format problem in that version of the DOS Disks that were formatted with SUPER UTILITY or SUW4 4P do not have this problem TRSDOS 6 02 01 or higher shouldnot have this problem Disks formatted in any 5 25 80 track format or single density are not supported 3 5 720K disks are readable in a 720K 3 5 MSDOS disk drive TRSCROSS Requires PC or compatible computer 128K and a normal 360KB 40 track PC or 1 2MB 80 track A
42. D 15 00 5 00 D 10 00 D 10 00 B 10 00 29 95 99 00 D 30 00 B 25 00 A 15 00 15 00 15 00 15 00 99 00 D 29 95 D 10 00 D 10 005 D 15 00 29 95 B 89 95 B 10 00 10 00 TRS 80 Game Programs Items on Closeout Cornsoft Group Game Disk Bouncezoids Crazy Painter Frogger Scarfman Space Castle M3 M 55 GCA Kim Watt s Hits M3 Lair of the Dragon M3 M4 Lance Miklus Hits M3 Leo Cristopherson s M3 The Gobbiing Box M3 M4 P 55 GKW M 55 021 P 55 GLM P 55 GLC M 55 020 MSDOS Game Programs Lair of the Dragon M 86 021 Hardware indicates Closeout Power Supply 40WT Astec AC8151 Power Supply 68WT Astec AA12310 Floppy Disk Controller M3 M4 Doubie Density Controller DDC Mi RS232 Serial Card M3 M4 RS232 Serial Card Kit M3 M4 TeleTrends TT512P modem M4P Floppy drives 5 25 360K 1 2 ht Floppy drives 3 5 720K 1 2 ht Floppy Drive Case 2 1 2 ht drives MSCSI HD 20Meg M3 M4 MSCSI HD 40Meg M3 M4 MSCSI Hard Drive joystick port option H PS A40 H PS A68 H MM FDC H MM DDC H MM SPC H MM SPK H 4P 512 H FD 360 H FD 720 H FD 2SV H HD 020 H HD 040 H HD JSO MSCS Hard Drive hardware clock option H HD RTC Aerocomp HD 20 Meg M3 M4 Aerocomp HD 40 Meg Ma M4 Hard drive Seagate ST225 20M Hard drive Seagate ST251 1 40M Hard drive Seagate ST 351AX IDE Cable dual floppy extender Cable 4Ft floppy 1 34EDC each end Ca
43. N combines the functions of JCL and KSM Allows programs such as Profile 3 HD to be totally automated V UNKILL recovers filas accidentally KILLed or PURGEd Model III Filters FILTERS This combines 23 fitters and utilities from FILTER Disks 1 and 2 with assembly source code at a clearance price v XLATE translation for I O devices v LISTBAS print formatting for BASIC programs WV STRIP removes high order bit off all characters V STRIPCNT replaces output gt 127 or lt 32 with a symbol v MONITOR displays control chars in string form xx v TITLE prints a title after form feed UPPER cor verts lower case character to upper case v LOWER converts upper case character to lower case V SLASH translates Zero to zero backspace slash V TRAP discards any user defined character V LINEFEED adds or removes a linefeed after return v PAGEPAWS pauses after formfead for lt ENTER gt key V CALC performs hex dec bin conversion hex add or sub WV REMOVE removes occurrences of a byte from a disk file Vv COMMI tests for modem carrier v DICTATE toggles cassette on off from the keyboard v DOSPEED regulates output device speed from keyboard KSMPLUS features key re definition on the fly w LCOUNT adds a line number before each line of output V MARGIN sends a 2 char control before margin spaces v MAXLATE translates one character to a group of chars SLOSTEP for drives that require additional settling time v VIDSAV saves the curren
44. ORT goes far beyond CMD O in capabilities and performance A supervisor program automates the edit compile test phases inherent when using compilers this makes using EnhComp almost as easy to use as your BASIC interpreter You also get CED a line editor with string search change partial load save renumber copy and move Enhcomp has a built in Z80 assembler You can easily create hybrid programs of BASIC statements and in line assembly code which completely eliminate contorted string packing and DATA statement high memory module techniques for your BASIC pro gram to access a machine code module Z80 MODE accesses BASIC s variables Disk Sort Utility Disk Sort Merge DSM A high speed disk virtual sorting utility that eliminates the burden of sorting from your applications software develop ment project DSM will create and maintain index files foryou Since the sort is disk virtual your only limitation is the amount of available disk space not available memory You ll have to edit existing BASIC programs but the power and completeness of EnhComp make that an easy task Requires our BASIC Reference Manual Sorts almost any type of field in a random access file integer Single and double precision and strings Files can have 65 535 records with an LAL up to 1024 Specify up to 24 select fields 12 for DSM51 Relations EQ LT etc may be applied to your criteria operators AND OR may be used RATFOR Compiler
45. QA AD CHGWAL F Look at what is in this issue ct IBM PC Line Drawing by Roy Soltoff i AMORT1 Amortization Table by Andrew M Kunz Yet ANother HiRes Graphics Format by Hans de Wolf w Reusing NEC Laser Cartridges by Roy Soltoff t BACKUP Basics by Scott Toenniessen t New price list for TMQ subscribers Volume VIL i 10 7 Winter92 93 PRICE LIST for TMQ Subscribers effective Jan 1 1993 Product Nomenciature AFM Auto File Manager data base BackRest for hard drives BASIC S Compiler System BSORT BSORT4 CP M MM Hard Disk Drivers CON80Z PRO CON80Z diskDISK LS diskDISK DoubleDuty DSM51 DSM4 DSMBLR PRO DUCE EDAS PRO CREATE EnhComp PRO EnhComp Diskette Filters Combined I amp Il GO Maintenance GO System Enhancement GO Utility Hardware Interface Kit HartFORTH PRO HartFORTH LDOS 5 3 1 Modi Upgrade kit LDOS 5 3 1 Mod3 Upgrade Kit LS DOS 6 3 1 Upgrade Kit M4 LS DOS 6 3 1 Upgrade kit M2 12 16 LED LS LED LS Host Term LS UTILITY MC PRO MC Mister ED MRAS PRO MRAS PowerDot Epson or Tandy PowerDraw PowerDriver Plus Epson PowerMail Plus PowerMail Plus TextMerge PowerScript PRO WAM PRO WAM Toolkit QuizMaster RATFOR M4 Super UtilityPlus Supreme HD Driver PowerSoft RS TBA LS TBA THE SOURCE 3 Volume Set Tooibox Tooibelt UNREL T80 UTILITY I DISK NOTES from TMQ per issue HDPACK Disk De fragger LB Data Manager M4 Ver 2 2 LDOS LSDOS Refe
46. Ron Malo aformeremployee ofProsoft passed away this past August Ron was a key member of the early PC community as well as the radio controlled model air plane community Those of you familiar with Prosoft s Alwrite word processor should well remember Ron A The Blurb The Blurb Volume VILi Letters to MISOSYS A THE MISOSYS QUARTERLY Winter 92 93 a ey LB 2 3 0 EDIT FIND Bug The following information was sent di rectly to LB 2 3 0 users In case I missed someone here s the scoop Itappears that there was a bug introduced at the recompilation of the LB8 module when version 2 3 0 was created This bug renders the EDIT FIND command inop erative when a FIND is performed on a database without an index file attached or if one with a single key field is attached This bug was located and supposedly cor rected on the LB OV8 file dated Novem ber 19 1992 Unfortunately after testing a hand patched module a patch was ap plied to the master disk The patch had the last F line mis typed as a D line Unfortunately the PATCH command not only does not apply the corresponding D line it does not flag this as anerror As a result the FIND command with the patch applied would most likely crash LB If you have a TRS 80 Model 4 version of LB with a file date earlier than 11 19 92 for the LB OV8 file disk 1 then please apply the following patch entitled LB8230A FIX the patch as
47. SYS Floppy Disk Repair Utilities SUPER UTILITY PLUS Reads repairs and works with all the popular TRS 80 operating systems Models ill 41 if you use a TRS 80 with disk drives then this is a must have program that you will wonder how you did without for so long Super Utility is completely menu driven with the most common defaults built night in it is configurable for all the popular TRS 80 operating systems and will even allow you to set onedrive for one system and another drive for a different operating system and copy files easily between the two Even between Model and Ill or 4 regardless of density track number number of sides or system used Super Utility removes or decodes passwords reformats a disk without erasing the data fixes problems backs up most pro tected disks etc Super Utility has over 65 functlons and features Does not work on hard disks Our ToolBox or ToolBelt has similar features for hard drive use as weil as floppy SU does not support Newdos 80 double sided disks Super Utility Plus 4 4P 4D The Modaj 4 vorsion of Super Utility has all the features of the Model i ili version but uses the larger amount of memory for quicker operations plus utilizes the three function keys It boots right up in a Model 4P without having to first load the MODELA II ROM file Hard Disk Check Repair amp Modify LDOS ToolBox lf you own a hard disk and use LDOS this is the perfect insurance p
48. T drive Double sided operation is fully supported If you have more than one disk drive fixed drive or RAM disk operation will be much smoother TANDY 1000 requires more than 128KB memory DMA TANDY 2000 is not supported at this time due to a difference in disk controller and floppy drives Special data files like PROFILE would need to be converted to ASCH on a TRS 80 first before they would be of use on a PC or compatible Ifyouuse both types of computers oryou plan toretire your TRS 80 this is for you TRSCROSS will allow access to your TRS 80 diskettes for years to come Copy your TRS 80 word processor data files as well as your Visicalc data files over to MS DOS and continue using them with your new application Only 89 95 Plus 4 S amp H U S or 5 Canada or 6 Foreign Virginia Residents must add appropriate sales tax Super Utility for MS DOS A powerful file recovery and disk media utility for floppies internal fixed and many FE external fixed and cartridge storage devices For IBM PC XT AT and many other PC compatibles including COMPAQ AT amp T and TANDY 1000 1200 2000 and 3000 MS DOS users your wait is over for a GREAT new disk utilityl Accidental deletions and disk directory problems can happen to anyone at anytime a power spike fingerprint speck of dust hardware problem or simply typing DEL in the wrong sub directory can destroy critical data in a m
49. TRS 80 hard drives and modern smart drives those with imbedded controllers main tain their own lists internally In fact another bit in the Format Unit command tells the controller to use only the original manufacture s list internal list What the Interface Manual failed to disclose was the requirement to set that bit if the sector size was being changed Even if the list was void the bit had to be set That s so the controller would be able to re Calculate the new sector numbers cor responding to the existing list What was happening in my driver was the controller generating a Continuous error the first time it accessed what it thought was a bad sector Now that the problem was solved I went back to my prototype SCSI driver made the change tosetthe FMT DATA bitin the format command and it performed flaw lessly Now there sjusta little cleaning up to do with the error handling and the SCSI driver is complete The end result is that my SCSI driver can be used with my T80 to SCSI host adaptor and any Seagate SCSI drive This elimi nates the need for a separate hard disk controller Putting a hard drive internal is now less of a problem With modem hard drives using less power than the old floppy drives converting a floppy slot to a hard drive use will be easier no separate controller to worry about for power con sumption heat generation cabling and mounting I ll soon be popping that ST157N into a 4P Th
50. a blank screen accumulates only an RH component But no character has that kind of appearance the proper character is a horizontal line So acode of 1 as does a code of 2 is translated to a character value of 205 just as a code of 3 which has both an LH and RH component Table II presents the code to character translation Table II Code to Character lt ir e TV 0 0 0 0 0 0 0 0 1 1 1 1 1 1 1 1 eR m OO KH KR KR OOOO ty OOe KH OOK H OO me KH COCO OC Oe Ore Ore Ore OK Oe OH OC Table HI shows the character to code translation Table IH Character to Code 1110 1100 0110 1010 1001 0101 1011 0111 1101 0011 1111 185 186 187 188 200 201 202 203 204 205 206 Since this algorithm was developed spe cifically for the PC line drawing charac Volume VILi ters I chose to illustrate its use in an MS DOS program The line draw program is written using Microsoft Quick BASIC Of all the Microsoft MS DOS BASICs none provides a way toread extended key codes through the INKEY function thus a program somewhat compatible across TRS 80 and MS DOS is an impossibility to program MS DOS BASIC supposedly allows you to sense trap any key code through use of the ON KEY GOSUB statement The linedraw program uses that facility On the other hand Icouldnot get it to work correctly using user KEY values 15 20 The program illustrates the algorithm using lt F2 gt to toggle b
51. acking up hard drives Scott Toenniessen provides techniques for using known tools in the hard drive backup process Odds and ends fill out the issue TMQ Schedule The MISOSYS Quarterly is mailed ap proximately every three months Note that your mailing label usually has the expiration date of your subscription For instance those with 92 11 complete their subscription with this issue The renewal fee to continue with another four issues is covered on page 1 MISOSYS Forum I sponsor a forum on CompuServe You can reach some experts on TRS 80 and MS DOS subjects by dialing in then GO PCS49 or GOLDOS This is probably the oldest forum still surviving from the MicroNet days If you want to see it continue how about popping on forachat or a question The forum contains many programs to download as well as lively discussions which thread through the message sys tem You can direct a message to me at 70140 310 Post a message in private if you don t want it broadcast I handle support via that facility You can also submit an order either by a message nn Er EEE yer SSS The Blurb 5 The Blurb Volume VILi THE MISOSYS QUARTERLY Winter 1992 93 Volume VILi saved as PRIVATE or via EMAIL eee po ae nk MSDOS users can even request an order Or a a ame Masa MS DOS Products Power Supplies ZlPed file for nearly instantservice manu als to be shipped separately D EEE SE MISOSYS is a re
52. acters to be input as two hexadecimal digits makes possible the direct editing of graphics Action Game The Gobbling Box This fast paced action arcade type game runs on the TRS 80 Model III and 4 4P 4D The game generates a variety of special sound effects and music which complement the action on the screen The arrow keys or Alpha Products joy stick control the movements of the GOBBLER in this game You want your GOBBLER to eat as many dots as possible while trying to avoid the ZONKERS who won t stop chasing your GOBBLER until one of them eats it or until the GOBBLER eats all dots on the GameBox The GOBBLER s reward is a new Box there s 3 inall The GOBBLER can tame the ZONKERS fora short while by eating one of the ENERGIZERS on the board Then it s the GOBBLER s tum to chase catch and eat the ZONKERS The game has two skill levels the pace is fast the sound is great the action is continuous You can t beat this bargain of a game Even Stacey plays it Adventure type Game Lair of the Dragon It you thought the TRS 80 was dead think again Our Lair of the Dragon MegAdventure is unlike virtually any other interactive fiction adventure that you have ever played for it will more than just paint its pictures upon the canvas of your Imagination it will slap the sweat right onto your forehead ti you truly believe that discovery is one of the finest points in life if you would like to test your ability to thin
53. ake a move Then Leo invented how to make the TRS 80 produce sound and added it to NIM He then followed Android Nim with the other games even getting Radio Shack to sell Dancing Demons which is a real scream The disk includes the famous games ANDROID NIM BEEWARY DUEL ING DROIDS DANCING DEMONS SNAKE EGGS and ANI MATED LIFE All games feature full sound effects and some of them are even in3 part harmony You and your family will justlove this disk Dancing Demon even features saving your song and dance routines to disk and four of them are included The possibilities are endless and it is always entertaining Agreat way to show off what your computer can do and always fun TRS 80 Mod I amp IT GAMES KIM WATT GAME DISK Contains Space Colony Symon Capture Horse Race Slots These are some games that Advenmre Intemational pub lished back in the early 70 s Originally these were sold on three separate diskettes or tapes but we have combined them all on one disk for you collectors TRS 80 Mod I amp II GAMES Lance Micklus Greatest Games This 3 disk set is a great collection as it features space games Space Trek adventure games Dog Star Adventure gambling The GO CMD program collection provides additional utility for games The Mean Craps Machine which also includes a Craps your computer operation FASTBACK and FASTREAD for hard tutorial booklet on disk board games Mean Check
54. an illegal value Finally the optional UPDATE and VERIFY parameters are checked by the PARAM SVC If the VERIFY YES parameter is used then the WRITE SVC vector in the SVC vector table is replaced with the VER vector and the verify bitin the D flag set to tell the system about this change Because SMALARCH will not copy SYS files and there area minimum of two SYS files per directory and a maximum of 256 file slots per directory the maxi mum possible number of files to be copied is 256 2 254 Therefore SMALARCH sets up 254 array elements each initial ized with NULLs a value which signals Inside TMQ 30 Inside TMQ Volume VILi THE MISOSYS QUARTERLY Winter 1992 93 Volume VILi end of data to the program Therefore the next two small sections of code fill the array data area with bytes of 00H and create 254 pointers one to each array element Each 13 byte array element contains the following data size in floppy grans 2 bytes Isb msb file name 8 characters right padded with blanks file extension 3 characters right padded with blanks Next the Hash Index Table HIT of the source drive is read Each non zero entry in this table is associated with a file so each is checked in turn and the directory entry for each existing file is read The file type is then checked and only visible non protected normal and PaDS files are accepted When a file passes these tests it
55. anel with achan nel cut into it on the top front just over the drum Four plastic fingers two per side keep it engaged Slightly depress the left two fingers there s rectangular holes on the side to reach the fingers and pull up on the panel Do the same for the right side The panel can now be removed A Philips screw is located on the left side of the drum Remove the screw and save it Using a thin blade screwdriver letter opener or pocket knife pry loose the drum hub end and plastic cover they re a one piece assembly From this point on always hold the PC such that the side with the drum is facing up the drum must be at the highest point Otherwise toner will come cascading out of the assembly from the used toner compartment Also avoid touch ing or bumping the reflective sur face of the drum Disengage the drum from the side where the hub was just removed Pull up and out at an angle until it clears the retainer the right side will follow surface A sheet of bubble wrap saved for this purpose is fine Immediately below where the drum was located is the reservoir for holding the waste toner This toner is what needs to be removed Place the PC assembly in the large plastic bag with the opened toner cartridge Carefully pour the toner from the PC into the empty receptacle This will be a messy operation as the waste toner will not pour in a con trollable flow The plastic bagkeeps th
56. anew search with count 2 start 1 and target 9 This time through total becomes 5 so the routine calls itself with count 1 start 2 and goal 4 The second level of recursion returns 3 which the first level adds to its total of 5 Because the accumu lated 8 is not equal to the goal of 9 anew search is started at the 3rd file which returns 3 All possibilities are now exhausted so return is made to the caller which loads BEST into the HL register and returns to its caller with the second and third BST_FLG flags set and 8 in HL In this way BEST_FIT tells the caller the closest it could come to the goal of 9 was 5 3 8 and the 10 gran file will have to be written to another disk One final example 5 files with sizes of 16 11 8 7 and 3 grans and a goal of 18 In the first level count 5 start 0 and target 18 The first total is 16 so the routine calls itself with count 4 start 1 and target 2 Since subsequent levels of recursion cannot find a value lt 2 zero is returned to the top level and a new search started with count 4 start 1 and target 18 The first total becomes 11 so the routine calls itself with count 3 start 2 and target 7 In this level total becomes 8 too large so ACCUM reverts to 11 and the next file size is checked Total now becomes 7 which is equal to target so is returned to the top level of recursion where the 7 is add
57. aptec 4010 HDC 45 WD1002S SHD 45 Drive power Y cable 5 pr EXT drive cable set 5 t i e Note freight charges are additional ei Prices subjecttochange withoutnotice MISOSYS Inc Contents Printed Matter PO Box 239 IN Sterling VA 20167 0239 mr U S A Address Correction Requested Forwarding and return postage guaranteed Attention Postmaster BULK RATE U S POSTAGE PAID Sterling VA PERMIT NO 74
58. as being developed to LSI specifications by an out of house development team Unfortunately the team fumbled the ball and could not pro duce even a portion of the specs LSI scaled back the specifications to a flat file database manager and brought the efforts in house My supposition is that the term Little Brother stemmed from the junior sized version of the larger effort They also ported the package under development to the TRS 80 Model 4 en vironment Since the design goal was to achieve identical operating characteris tics across both MS DOS and TRS 80 environments certain compromises had to be made ThePC video environmentallows charac ter attributes such as reverse video and _ blinking to be distributed on a character by character basis throughout the entire video screen The PC uses two eight bit memory cells for each video display char acter position one stores the character value while the other stores the attributes The TRS 80 Model 4 video hardware uses a single eight bit memory cell per charac ter position to store only a character value Also it does not inherently support blink ing video where used that must be achieved through continuous software updating of the screen by displaying blank strings alternately with the characters to be blinking Reverse video is availableon a character by character basis however reverse video is designated by activating the eighth bit of a character value
59. ate 75 TRS 80 4P working 75 MAX 80 75 e Amdek Video 300 Monitor 40 BMC Monitor for MAX or M1 25 3 5 Meg Radio Shack HD 75 10 Meg Radio Shack HD 100 e 12 Meg Secondary bad drive 50 DW II Daisywheel 50 Printer III no printhead 25 e Radio Shack Modem II 15 Lobo dual floppy drive box with two 80T1 drives 25 e CTR 41 Cassette new in box 5 e CTR 80 Cassette new in box 5 I was recently cleaning out the warehouse and came across a box of LSI 1 binders These are the beige colored D ring bind ers which were used with some LSI prod ucts years ago First come first served at three for 10 5S amp H continental U S only Note some imperfect I also found tucked away in the back room a large box of old MISOSYS im printed 0 75 dark blue three ring binders and a handful of 1 MISOSYS binders Both are imprinted with our old Alexan dria address The 1 binders are bundled three to a box and the 0 75 are four toa box 10 per box 5S amp H And for the nostalgia buffs I found a box of old Galactic Software Inventory Man ager User manuals still in the Yellow three ring binders There s probably about 8 10 binders Again I can pack three toa box If you want a quantity of these binders let me know I can find a larger box to pack age them and save on shipping charges Beg ee ace Passages I close this Blurb with a sad note Chuck Tesler recently informed me that
60. ater allow you to recover unusad space within an AFM database file The size of an AFM database file can expand to accommodate a full fifteen megabytes AFMallows you toset printer parameters through a FORMS command very similar to the FORMS command of many popular disk operating systems This allows you to control your report formats Totally independent of FORMS is a COLUMN parameter which is used for defining column widths on display Thus youhave complete controiover the formatting of your data for printing and display Sorting within AFM is automatic Once the sort field has been defined avery record entered with that sort field will automatically be placed in the correct position relative to the other records inthe file However you can list the contents of ANY field in sorted order at any time In addition searching can be performed on the major key fields through the use of powertul relational operators including AND OR GREATER THAN LESS THAN EQUAL NOT EQUAL atc AFM has a second module included called AFR Auto File Reporter It is one of the MOST poweriul report generators ever made available for the TRS 80 computer Fully relational reports can be generated by applying any set of parameters do your data base AFM also contains a BCD MATH Package which will allow you to have a running total on numeric fields in reports if desired using operators Accuracy is assured by using BCD math instead of floating point and outpu
61. ax We accept MasterCard and VISA Checks must be drawnona US bank COD s are cash money order or certified check add 4 for COD SAAD Sea TR TR RI Ra ANS Ra RES Volume VILi THE MISOSYS QUARTERLY Winter 92 93 Volume VILi blica Table of Contents The Blurb Letters to MISOSYS TMQ Appearance esssssssssosssssesss 2 LB 2 3 0 EDIT FIND Bug 8 Points to Ponder ssessosesssssesossss 2 LB Printer c0des u 8 Trade in Policy sssscsssscscseees 5 PRO EnhComp Use eccsscsesees 9 In this issue scescdvsssisscctvstezsevadenss 5 HDPACK Queries 0 sccceseeeee 9 TMQ Schedule uuenaeesseccnecnees 5 LDOS Version ccsccceccscsecnse 10 MISOSYS Forum scsscscssreseese 5 OPREG bit 3 Confusion 10 DISK NOTES 7 1 ssscssssscesees 6 LS DOS 6 3 1 on 6000HD 11 DOS Manuals sssscsscesssossseees 6 Converting a Database to Clipperil MS DOS Products ccccssssesseees 6 PRO WAM Use ccsssessesesees 11 Seagate ST351A X IDE Drive 6 International Keyboards 13 Power Supplies ccscccsssssssssoneees 6 Model 100 Transfer s0008 13 Address Change csssssccseessees 6 FAX Number 6 Inside TMQ LB Printing Hint 1 ccsssccssones 7 IBM PC Line Drawing 15 AMORT I 20 Yet Another HiRes Graphics Format 22 SMALARCH CMD Small File Archiver 23 Reusing NEC Laser Cartridges 38 BACKUP Basic
62. be interpreted as alogical line end Translates M to HL extended instructions LDX B D H and PSW are changedto BC DE HL and AF changes lt DB DS DWISET gt to lt DEFB DEFS DEFW DEFL gt Z80 Disassembler DSMBLR This disassembler provides extensive capabilities such as direct disassembly from CMD disk files automatic partitioning of outout disk files data screening for non code regions and full label generation It even generates the ORGs and END statement the compiete ball ofwax Youwillfind that the use ofthis disassembler even by a beginning assembly language programmer will be paying handsome rewards with the ease of its use and clarity of the documentation It s a professional tool for your use The labeling disassembler produces an assembler source from in memory code or directly from a CMD type disk file Labels are generated for 16 bit references a reference is any relative instruction target address or a 16 bit target for load call jump add or subtract instructions The disassembler allows you to build a screening data filetelling what segments of the program are to be interpreted as data regions You enter the addresses of the segments after analyz ing the target program s disassembly CRT output is in screen sized pages PRINTER output is paged with column headings page numbers and titles for print outs that look identical toan assembler listing Output to DISK produces afile su
63. ble 4Ft M3 M4 printer Cable 4Ft Radio Shack hard drive Cable 4Ft MISOSYS hard drive Cable 26 1069 internal floppy Cabie 26 1069A 26 1080 internal floppy Cable 26 1080 A internal floppy Standby Power System 200VA HD Controller Adaptec 4010A HD Controller Xebec S1421A HD Controller WD1002S SHD T80 to SCS host adaptor ZOFAX 96 24 Fax Modem PC XT AT infochip Systems Expanz PC DJ10 Tape Backup PC DJ20 Tape Backup PC ABi1 Tape Adaptor PC KE10 External tape adaptor case PC Tadiran TL 5296 AT 6V lithium battery The Fine Print H MM 020 H MM 040 R HD 020 R HD 040 R HD 140 H FD 2EX H FD C04 H RC PM4 H HD CT4 H HD C04 H FD 2NG H FD 2GA H FD 24P R PS 200 H HD CA4 H HD CX2 H HD CW2 H HD MHA R Z1 FAX R IC EXP R TD D10 R TD D20 R TD A11 R TD K10 R PB TL6 20 00 9 95 10 00 15 00 _ 10 00 10 00 10 00 40 00 50 00 35 00 40 00 40 00 45 00 49 95 75 00 85 00 30 00 395 00 495 00 20 00 20 00 350 00 450 00 200 00 300 00 195 00 10 00 12 50 20 00 20 00 20 00 20 00 20 00 20 00 199 00 265 00 45 00 110 00 19 95 BNOMMMMOOOO r VVYVTNTDOMUNUAMNUNOO 1 G G1 Freightcodes A 3 50 B 4 00 C 4 50 D 5 00 E 5 50 F 6 00 G 7 00 H 12 00 varies All unmarked are 3 00 each Canada Mexico add 1 per order Foreign use US rates times 3 for air shipment Virginia residents add 4 5 sales t
64. book is softbound 8 ground application receives CPU time The third partition can be 1 2 by 11 The complete set totals over eleven hundred pages of used to execute DOS library commands cleanly commented elegant source code Volume 1 The Sys tem covers SYSO to SYS5 and SYS9 to SYS13 Volume 2 The Libraries covers all of the library commands making up SYS6 SYS7 and SYS8 Volume 3 The Utilities covers all utilities drivers and filters Hard Disk Driver RSHARD Finally for your Radio Shack hard disk drive is this hard disk driver package from MISOSYS at a reasonabie price You get support for both LDOS 5 3 and LS DOS 6 3 RSHARDx driver partitions by both head and or cylinder supports two amp headed drives up to 1024 cylinders RSFORMx formatter adds both low level and high level formatting to your drive s partitions HDCHECK checks the perlorman ce of your drive ARCHIVEx lets youbackupsomeoraliofthe files on your hard drive to multiple floppies BIG files and small files RESTOREx iets you selectively restore some or all archived files to your hard drive All ten modules come fully documented and are ready to install into your LDOS 5 3 or LS DOS 6 3 system or both Hard Disk sub partitions diskDISK Do you have ahard disk Ifso you need diskDISK ThediskDISK utility allows the creation of logical disk partitions as files on a physical disk drive This is indispensable for hard disk
65. ced TRISS CHOSS TRSCROSS runs on your PC or compatible yet reads your TRS 80 diskettes Copy files in either direction The FASTEST and EASIEST file transfer and conversion program for moving files off the TRS 80 and over to MS DOS or PC DOS or back TRSCROSS Copyright 1986 1987 by MISOSYS Inc All rights reserved 1 Copy from TRS 80 diskette 2 Copy to TRS 80 diskette 3 Format TRS 80 diskette 4 Purge TRS 80 diskette Feutines _ 5 Display directory PC or TRS 80 6 Exit Shown above is the Main Menu displayed when running TRSCROSS on your PC or compatible TRSCROSS is as easy to use as it looks to be The program is very straight forward well thought out and simple to operate TRSCROSS has several help features built into the program to keep operation as easy as possible Just pop your TRS 80 disk into your PC and copy the files right to your PC data disk or hard disk It couldn t be any faster or easier All steps are detailed in the instruction manual Advanced features for those that desire to use them include executing menu options right from DOS or from a batch file or macro This can really speed up transfers when similar operations are performed frequently TRSCROSS allows you to TAG all files to be moved in ONE pass TRSCROSS converts TRS 80 BASIC programs and SuperSCRIPSIT files in ONE PASS while COPYing to MS DOS No need to save your programs or files in AS
66. d in part on the size of the medium neces sary to store one bit of information and the ability ofthe read write head to target an area of matching size If for instance it took one square centimeter of area to record one bit then a read write head with afieldareaoftwocm wouldbe incapable of resolving single bits Tape recorders increased their storage density as tape mediums improved finer particulate for the magnetic coating and magnetic heads improved to reduce the distance between the tape and the head allowing forsmaller magnetic fields Optical recording with lasers takes the same approach Recollect that the major ity of lasers produce red light Red at the low end of the visible spectrum has the longest wavelength of visible light 610 750 nm Itis the actual length of the wave itself or width if you prefer which con trols the area of medium being discerned By using a laser light with a much smaller wavelength the bit density can be in creased Blue has a wavelength of 450 500 nm Thus the average areal density of blue is one half that of red The problem was that blue lasers were very difficult to fabricate with sufficient intensity of light to be useful Thus the advance had techno logical merit Another advance though not a techno logical marvel is the inclusion of a small CCD video camera as part of a pen based electronic notebook being shown by Fujitsu Not only does the unit have the capab
67. de TMQ 99 Inside TMQ Volume VILi THE MISOSYS QUARTERLY Winter 1992 93 Volume VILi If your Model 4 is a floppy only system you only have to keep backups to guard against the inevitable loss of data But when you graduate to a hard drive Murphy s Law requires you to start keep ing archives of your files To this end MISOSYS Inc supplies the programs ARCHIVE and RESTORE with their hard drive systems ARCHIVE makes it possible to store on floppies copies of hard disk files which are too large to store on floppy via normal means It s a bit slow but it does the job and does it well But itis not efficient when dealing with files small enough to fit on your floppies It adds and extra sector to each file and the speed is such that F BACKUP would be much faster How ever F BACKUP does not store the files very efficiently Whenever the next file to be copied will not fit on the target floppy you are prompted to insert another disk even if the free space is only one granule less than the file size This usually results ina great deal of wasted floppy disk space The accompanying listing SMALARCH ASM is one solution to this problem It makes use of the LS DOS COPY com mand so is reasonably fast and it makes nearly optimum use of floppy disk space To do this it functions as follows 1 It analyzes the target disk and deter mines its capacity 2 Itanalyzes the files on
68. de tragging operation which in minutes can restore a ten megabyte directory of files to a mininum number of extents HDPACK can even work on floppy diskettes too PUTS ZIP IN YOUR DRIVE Mod 4 features for Mod III Hardware Interface Kit This will allow you access to your Model 4 hardware featureswhile using LDOS 5 3 Here s what you get e KI4 keyboard driver uses lt CTRL gt key lt CAPS gt key and function keys eSET2RAM switches to Model lil RAM mode BANK provides bank switch ing capability EXMEM handler allows for easy programming of memory bank I O eMemDISK provides a one or two bank RAM disk eBANKER manages bank utilization All four modules come fully documented and are ready to install into your LDOS 5 3 system using a Model 4 computer A128K machine is required for MemDISK DCT and the memory management facility cm SE APY Oe SE E E TE IOS ETE TRS 80 Software and Hardware from MISOSYS Model IH Utilities Utility Disk 1 14 utilities useful to novice and experienced LDOS users Vv COMP is a file and or byte for byte comparison utility V DCT allows you to view or modify the Drive Code Tabie v DIRCHECK checks the directory on a diskette and corrects most recoverable directory errors v MAP displays or prints the allocation granules or cyilnders and sectors of a file on a diskette V RAMTEST is a self relocating RAM memory test v READ40 allows access to a 40T disk in an 80T drive Vv TYPEI
69. e gt M4 Besides the tape would get dents on it from the parked capstan and cause drop outs So I tried to use a little pocket radio as an amplifier to allow direct M100 gt M4 transfer It chugsalongatabout 1500 BAUD if the manual can be trusted That is a lot better than the MODEM speed of 300 Itis very quick to set up and it works superreliable and it works just as well M4 gt M100 Naturally it won t work for the4P Letters to MISOSYS Letters to MISOSYS Volume VILi THE MISOSYS QUARTERLY Winter 92 93 Volume VILi For anyone interested few though there may be the equipment is simple for any one handy with a soldering iron Just take a little battery powered pocket radio and add a mini jack to the input of the audio section Find the volume control Ignore the two leads to the power switch See which of the other three leads goes to ground It willbe the one on the bottom end of the potentiometer Open the other end and insert the jack If it is done correctly the radio should still work as a radio and also work as a little utility amplifier Test it using a cheap crystal type microphone orcrystal type earphone Now make up two cables using mini plugs and DIN plugs for input and output Label them IN and OUT according to the TECH manuals Watch those DIN plugs the numbering is not smooth Enough to say the ground is the one opposite the locating tab and the IN is the pin
70. e tween draw mode and erase mode and lt F10 gt to terminate The program first dimensions an array used to store the screen character andtwo additional arrays for the conversion tables A multi line function ABTVAL is de fined which is used to obtain the sub component if any of an adjacent cell The conversion tables are then filled with the values read from DATA statements The LOCATE statement positions the cursor to the northwest cornerand turns on the cursor The program allows for both drawing and erasing the line functions which are toggled with an lt F2 gt key de pression drawmode is initially turned on Note by the way that LOCATE uses screen position values which are 1 based i e col 1 2 80 whereas the program uses a zero based value for its ROW and COL variables the cursor re positioning Statement makes the adjustment by add ing one to the row and col values The video array is next initialized to SPACE characters to match the clearing of the actual screen The ON KEY 2 statement sets up BASIC s trapping of lt F2 gt for toggling draw erase modes The ON KEY 10 traps the lt F10 gt key for use as an exit from the linedraw program The KEY n statements activate trapping of the cursor movement keys A drawback of this key utilization is Inside TMQ 19 Inside TMQ Volume VILi THE MISOSYS QUARTERLY Winter 1992 93 Volume VILi that QB traps only thecursorcharacte
71. e VILi The references for the next recursive it eration of CALC_FIT will access its five local variables the same way but these five will be different from the five used by the previous level of recursion and each will be six levels of stack 12 bytes lower in RAM than the corresponding variable used by the calling level Each successive recursive call will generate a new set of five variables and one RETum address When a level of recursion returns to a higher level the value found is returned to the caller in the HL register and the stack pointer increased by 12 through aseries of POPs so it once again references the local variables of the current level The CALC_FIT listing is commented with the original C source statements and is well enoughcommented in general that it would be redundant for me to go through the listing step by step in this article The only area that needs explanation is the logic behind the C statement if total lt target total calc_fit target total start 1 number 1 the implementation of which begins at the label CFT030 At this point total holds the value of array start grans the size of the file at the top of the current portion of the list being searched If total is too small then it must be in creased which is done by adding the size of some file further down the list To do this anew search is initiated starting with the next array element with the target being the
72. e command file CMD or a core image file CIM MLINK supports the following spacial fink items 0 3 5 7 9 11 13 15 l v DED edits disk sectors FED edits file records and MED edits memory pages even alternate banks All use a similar display screen and strikingly similar commands to enable you to edit anything Get comfortable with one and you will know how to use all three of these editors MLIB maintains both relocatable REL andindexed relocatable IRL module libraries You can add delete extract or replace a VED lets you edit the video screen with CARD type editing module and get module maps You get cut amp paste with this you can easily useit as the alipboar facility found on more expensive systems SAID is an advanced fuil screen text editor It can be used to generate your assembler source code C ianguage source code or edit any type of ASCII file Mode 4 128K operation provides v TED is just like the editor you get with LS DOS 6 3 but ours multiple editing buffers works from PRO WAM while you are using other pro gramsl It s friendly fast and great for writing notes when you are right in the middle of a program you can t interrupt EA a ga I TS VE EEE ES GE 42 8080 to Z80 Translator CON80Z Asourcetranslatortohelpyouconvert your intel 8080 files to Zilog 280 files Converts CR LF sequences toa single CR By using the CR c parameter in the command line the character c will
73. e cre ates such files if the X parameter is speci fied on the command line In order to distinguish these files from CHR and SHR formats I introduced the XHR ex tension for eXtended High Resolution Who wants to write a program that can read and display or print this new format Load Module Graphics Although the XHR format does its job storing 32k pictures efficiently I did not like it very much it adds yet another graphics format to the already existing chaos This made me think I would like to have a graphics format that combines the strong points of all other TRS 80 graphic formats the easy loading and writing of HR files the efficient storage of the CHR format a maximum image size 1024 by 255 pixels like XHR and support for image cropping like in the BLK files I came up with the following solution to this problem Load Module Graphics At this moment Load Module Graphic files are just an idea but maybe the TRS 80 programmers out there could makeit real ity Let me explain LMG files are constructed along the de sign of the LDOS Load Module file for mats like used for CMD files the SYS library files and PaDS data sets If there is any accepted system standard for TRS 80 file formats this is it All these files are constructed from Load Module blocks packages of 256 bytes or less each pre ceded with a type indicator and bytecounter more information can be found in the Pro Cess CMDFile manual
74. e messy toner which you spill from getting onto everything Toner is tough to clean up I don t recom mend re using this waste toner as it may have some clumps in it Nev ertheless it s your choice Afterall of the toner has beenevacu ated from the PC you need toclean up the cartridge You can vacuum any remaining toner misting on the surfaces You can also wipe the assembly with a damp cloth but I found that vacuuming is still re quired after wiping At this point you should clean the drum I use ordinary rubbing alco hol on a soft cloth for this By positioning the drum vertically at the edge of a table and holding it at the top you can rotate the drum while cleaning it with the cloth Once clean handle carefully by the edges of the drum Re insert the drum into the car tridge The end with the shaft goes towards the right as you look at the housing facing the handle Place that end in first by tilting the drum then inserting the left end to the inner side of the cartridge Note the spring clip on the left side of the cartridge housing the clip goes into the inside left of the drum continued on page 37 Inside TMQ 39 Inside TMQ Volume VILi THE MISOSYS QUARTERLY Winter 1992 93 Volume VLi So you ve just installed that new MISOSYS 40 megabyte hard drive You ve got all your applications loaded up and running everything s set right Wrong You forgot the backup
75. e only drawback is that now the ST157N has been discontin ued That was a 3 5 drive The smallest capacity 3 5 SCSI drive Seagate now makes is a 248 MB SCSI 2 drive still should work They do have an 84 MB ST296N 5 25 drive So Ill be looking around for compatible drives If you re still looking to add a hard drive internally talk to me Floppy drives haven t been taking a back seat to capacity inroads Iomega Corp makers of the Bernoulli Box have intro duced a variant on the Floptical drive licensed from Insite Peripherals Inc This 20 megabyte floppy drive has a 65 ms average seek rate about the same as the venerable Seagate ST 225 hard drive Iomega s Io20S 3 5 drive is read write compatible with 1 44 MB and 720K flop pies Improvements in the standard 3 5 floppy drive are coming from Epson Their SMD 1100 drives run on 3 3 volts the next standard for computer powering of laptops and notebooks Epson also announced an SMD 800 series of dual 3 5 5 25 floppy drives which incorporate both mechanisms into the same 5 25 half height housing the same electrical mechanism is used for both devices A similar drive the FD505 is available from Teac Other hardware advances include Dallas Semiconductor s EcoRAM This itemisa 256 bit read write serial memory device in a 3 pin transistor package Address data and control lines are all multiplexed on a single pin A varient on this device is their DS2400 Silic
76. ed an upgrade to the next version which would work with MS DOS 5 ADOS can tinclude everything lest it put independent add on vendors out of busi ness Some things get bundled witha DOS and applications that a user does not want I am referring to computer viruses These buggers have gotten quite pervasive over the past year or two as the ranks of com puter crackers have swelled and the ex tent of possible damage has increased To date most of the cures have been either The Blurb 4 The Blurb Volume VILi THE MISOSYS QUARTERLY Winter 1992 93 Volume VILi preventative i e don t use any software disk except from areliable source or post operative by using one of the many anti virus programs which have come on the market Ithas even been alleged that many viruses already exist which are designed to infect the next version of MS DOS 6 0 Now comes a hardware solution to the problem Since viruses are primarily passed unbeknownst to the user by attach ing themselves to executable programs thence to the DOS having a means of protecting against fraudulent disk writing toregions of the disk containing programs could very well guard against virus infection According to Robert McCarroll of West ern Digital there existsabout 1000 known computer viruses and they are growing in numbers to the tune of 50 per month That s what prompted WD to develop the WD7855LP LV system controller chip which w
77. ed to 11 to get 18 Because 18 goal the routine returns to the caller Note that in this case there is another solution 8 7 3 18 but the algorithm found 11 7 18 first so that s what it Gale Inside TMQ 29 Inside TMQ Volume VILi THE MISOSYS QUARTERLY Winter 1992 93 olume VILi EHEN one ser Bee Settled on In general it s better to use up eee larger files first anyway because they re harder to fit than smaller files O K Now that we know how the data is processed let s go to the label BEGIN to learn how the program obtains the data and then disposes of it First the pointer to the remainder of the command line everything after SMALARCH plus the following space in HL is pushed Then so the state of the system can be restored at the end the value of the current state of the D flag is stored and the vectors for the EXIT WRITE and VER SVC s are retrieved from the SVC vector table and stored various places in the program code The same is done with the high memory pointer Now the high memory pointer is saved in case of an error exit Next the command line pointer is re stored and the command line parsed The code looks for the required s param eter and aborts either ifit does not exist or if the specified source drive number is out of legal range Next the required d parameter is sought with an abort if itis not present or contains
78. ee Sn 2 gt N Saat DJ 10 Jumbo 120 199 575 amp Hm DJ20 Jumbo 250 265 57s amp H ABII Adaptor 45 3S amp H m AUDI TER ESS Ses STERNEN x SIE N N o x ER SR RR gt s Ss SER er KED External Kit 110 5S amp H a o o I 5 we DC2000 cartridge 20 SEI NN o SP DC2120cartridge 25 Mivauivkescevemeew STIER SNS WSS SS SET AESESER SR N ISSN ns N SV N AS N NN IR S NARSANI SEN te WER SI SS NSS SEEN SS se KIN SIRSEN NR SEN SI SS amp TINTEN a N te i More Bytes Jumbo 250 ER with 250 Megabytes of storage at Jumbo 250 and Jumbo 120 499 SRP 265 at MISOSYS you Both work with IBM PC XT AT em save a Ge spending less 386 486 PS 2 and compatibles umbo 5 we is Agni per and the price includes software that formance while using all a2 emai will let you backup nights and a re herring for format weekends with an unattended gt scheduler Network compatibil Less Bucks Jumbo 120 goat hr At 399 SRP 199 at MISOSYS offering an easy to use menu system Jumbo 120 continues to provide another first from Colorado Memory Jumbo performance for peanuts Systems While both drives use the With 120 Megabytes and QIC standard floppy controller a variety compatibility Jumbo 120 is the of optional jurnperless controller backup of choice when less storage cards offer easy to instal
79. er 1992 93 Volume VILi NEC Cartridge continued from page 39 15 Properly align the previously removed hub into the left hand side of the drum You may need to pull back on the spring clip using a thin tool such as a popsickle stick to fully engage the hub 16 Re insert the previously removed screw into the hub 17 Insert the drum cover plate into the top of the assembly Insert the right hand side first Position so that the extra Cutout on either side of the channel is positioned towards the handle Note that the plastic fingers on the right are harder to correctly position You now have arefurbished PC cartridge to use in your machine Depending on the condition of the photoconductive drum your old cartridge may be good for another 3000 copies at least as far as the capacity of the waste toner receptacle Inside TMQ 37 Inside TMQ Volume VILi THE MISOSYS QUARTERLY Winter 1992 93 Volume VL Long standing readers of The MISOSYS Quarterly will recollect that I use a NEC LC 890 Laser printer actually an LED printer I have commented on this in the past as the printer is used in production of TMQ as well as to produce manuals for MISOSYS products The printer has held up well over the years with justa few problems However when problems occur they appear to be expensive to fix The predominate ex pense is labor as the local NEC autho rized repair center has charges of about 60 per
80. ers Machine disk large file archive restore PRO CESS manipulates command as wail as some dam useful programs that you might use for real files COMP compares two files or disks FED2 zaps disk or file purposes Also has some educational games for the kids sectors on a full screen basis IFC to interactively copy move u KSMPLUS improves on the DOS allows key re definition on rename delete and invoke files ZCAT catalogs 6 3 disks the fly defines strings for the function keys READA0 allows access to a 40T disk in an BOT drive TYPEIN combines the functions of JCL and KSM Allows programs such as Profile 4 to be totally automated 45 TRS 80 Software and Hardware from MISOSYS Model III or 4 RS 232 Serial Card Model I II Data Base Manager Mod 4P internal 1200 bps modem TT512P Modem MISOSYS has the TeleTrends 300 1200 baud Hayes compat ble modem which slips right into the Model 4P s internal modem siot This has a full AT command set capability For now you Model 4P folks can upgrade to a real Hayes compatible modem operating at 1200 baud It s just what you needed for your 4P Hard Disk Drives and Parts MISOSYS MSCSI Hard Drives Genuine MISOSYS MSCSI hard drive kit packages plug Into Mode 4 4P 4D and Model lil computers The 11 x 10 x 4 75 LWH beige drive case has space for a half or full height drive 115V 230V 30 watt power supply and fan hard disk controller HDC host adap
81. esponse based upon speed and accuracy QM comes with five subject files of up to 100 questions each derived from grades 6 9 textbooks U S Informa tion Geography Math General trivia as well as Fantasy and Science Fiction trivia QM randomizes both the order of the questions and the order of the answers to prevent memorization The question sequence is never the same Extended play provides a sudden death mode feature for the skillful user QM includes ail the programs neces sary to establish and maintain your own series of multiple choice questions on any subject Five support programs are provided to create extend edit print and maintain the question amp answer files All features are easy to use and easy to operate TRS 80 Software and Hardware from MISOSYS Text Editor LED A full screen text editor for almost any type of ASCII file including ASCII program source code for BASIC programs TBA source as well as JCL and KSM files The command menu may be displayed while editing text This display includes all command keys the filename the cursor column the character hex valua and the available memory Cursor positioning uses the arrow keys lt CLEAR gt key combina tions move the cursor to the top bottom left or right Has the following modes overtype insert insert line and delete Block mode aliows the manipulation of large text areas Search and Search Replace are also provided Hex mode allows char
82. f as the only way to achieve reliable floppy disk operation on the Model I Requires the Radio Shack Expansion Interface and software driver Use our LDOS for top notch up to date DOS performance RS232 Serial Card or Kit Auto File Manager AFM MISOSYS acquired the remaining stock of genuine Aerocomp AFM is a language that you can program your database in The serial cards foryour Model Ill or 4 Replace your broken serial card package consists of three integrated modules that can be called with this brand new work alike replacement or get a kit to install from within each other AFM Auto File Manager is the actual a serial port in the computer without an existing one Model III 4 Floppy Disk Controller Floppy Disk Controller FDC MISOSYS acquired the remaining stock of genuine Aerocomp floppy disk controler boards 100 compatible with the original Replace your broken FDC card witha brand new one Complete kits with plated steel mounting towars and all necessary cables are available to convert a cassette machine into a disk powerhouse Floppy Drives and Parts 5 25 360K 1 2 height 3 5 720K in 5 25 frame 2SV5 drive case amp P S Single drive cable Dual floppy extender cable Our Mode 2S V5 dual vertical external floppy disk drive case will hold two 5 25 half height disk drives needed for one or two drives needed for two drives Computer Power Supplies Astec AC8151
83. g For instance that patch should have been typed in and saved under the name SCR17 FIX Then it would be applied by the command printed on patch line 4 I think you missed the point of all the information I printed in the previous issue concerning PRO WAM DESKMATE and PRO WAM are two completely dif ferent types of packages DESKMATE attempts to be an operating environment witheasily invoked applications i e word processor spreadsheet communications etc This is somewhat similar to the T MAKER product which was sold for many years and still should be available by T Maker Company now T Research I be lieve The problem with DESKMATE is that there is not sufficient memory in the TRS 80 toimplement fully functional ap plications PRO WAM on the other hand is similar to Borland s SIDEKICK which is a memory resident pop up windowing ap plication program None of the applica tions in SIDEKICK norin PRO WAM pretend to be fully functional applica tions Their claim to fame is their ability to be available for use when you are running another application This gives your computer the task switching capa bility I thought that message was quite clear Therefore it makes no sense whatsoever to compare the applications in PRO WAM or the package as an entirety with the DESKMATE application However that aside I can make some comments to increase your awareness of PRO WAM s applications Mis
84. g I noticedis now thatI ve cleared partition 1 for a blank dummy drive with no files on it when the JCL file gets to the empty partition HDPACK hangs up the system and I have to re boot Is this the JCL doing this or HDPACK Do you have a fix it if so Please drop me a line if you can Roy Thank You and havea nice Christmas out east there IIl be watching for your next new piece of software Fm MISOSYS Inc Well it turns out that the problem yourefer toisdueto HDPACK trying to clean up after the last file was restructured Of course with an empty directory there is no last file HDPACK doesn t test for that The HDPACK3 FIX will correct for that event Letters to MISOSYS RDPACK3 FIX 12 15 92 Patch to HDPACK Corrects hang on at tempt to pack a disk with no files Apply via PATCH HDPACK HDPACK3 D06 C9 33 F06 C9 32 D08 C3 AD 2C F08 C3 D6 26 D08 D9 2A 5A 27 7C B5 C8 C3 D6 26 F08 D9 24 24 24 24 24 24 24 24 24 Eop EEE ESSEN LDOS Version Fm MB What is the latest version of LDOS for a Model I I m currently on 5 1 4 F ve seen references to 5 3 but that also seems to be mainly for a Model II By the way isitatall possible to load the RDUBL driver in LOW memory some where My word processor ignores the memory flagandgrabsitall COPYART so Ihave been running it with SD all these years It almost worked with TRSDOS 2 7 8 with just a bit of general unreliability so it must
85. ghly recommend getting a 720K floppy drive for your system if for nothing more than backing up your hard drive MISOSYS has 720K 3 5 drives If you want 5 25 720K drives I have included instructions for configuring Teac 1 2 megabyte drives to work as 720K drives Configuring the Teac FD55GFV From TRSLink Online Magazine by Gerry Stuteville This configuration takes the TEAC FDSS5GFV 1 2 Meg AT floppy disk drive and sets it to work with the Western Digital Controller used in the TRS 80 Series of computers It sets the drive as 80 track double side double density unit to give 720 K of storage The jumpers on the board have to be set up in the following manner in order to work with our control lers The first jumper has to be installed on the main logic board in Position LG this Jumper is behind the drive select row pins When I bought these drives this jumper was not provided with the drive to jumper this you can either get a 01 space short ing block and place across the pins or solder a piece of wire across The second jumper that has to be set is in a cluster of four pins set up in a T formation behind the LG jumper on the main board These jumpers are labeled as SPEED and have roman numeral markings You want to jumper the pair of pins marked as roman numeral one T Another way to identify the pins that need to be jumpered is that the pins are the vertical portion of the T shaped formation
86. he sophisticated Ratcliff Obershalp pattern recognition algorithm for automatically finding duplicate or near duplicate records Duplicates can then be either manually deleted or automatically purged using the provided LBMANAGE utility program Automatic operation For automating your processing needs LB can be run in an automatic mode without operator intervention Frequently used procedures can be saved by LB s built in macro recorder for future use Entire job streams may be produced so that LB operations may be intermixed with literally any DOS function that can be batch processed These named procedures are easily invoked via a pop up list box Maintenance utilities To make it easy for you to grow your database as your dataneeds grow we provide three utility programs for managing your database LBREDEF allows you to constructanew database with an altered data structure and populate it with data from your existing database This facility is great for adding new fields or deleting fields no longer needed Or you can use LBREDEF to redefine the field type of an existing field and convert the existing data Another utility LBMANAGE allows you to duplicate your database structure copy or move records from one to another or automatically purge un needed records Athird utility LBCONV converts to LB from pfsFILE4 Profile4 DIF dBASE II dBASE III and fixed record It also converts to DIF dBASE and tab or comma delimited files
87. he disk version by itself for 29 98 plus 3 S amp H if purchased separately If ordering the EnhComp disk please note which version Model I II or Model 4 The Blurb system why not get in touch with us for a quote Call write or FAX I still have some Tadiran TL 5296 6V lithium batteries usable in most AT class machines Don t wait for your battery to fail and lose your configuration data A spare s shelf life will probably out last your machine Seagate ST351A X IDE Drive One of the hot new drives on the market for low end systems is Seagate s new 42 Megabyte ST351A X drive This 28ms IDE drive featuresa MTBFof 150K hours What I found very useful is the 351A X is jumper selectable for either 8 bit i e Tandy 1000TL 2 or true 16 bit bus sys tems I replaced the Kaylok 320L and WDXT GEN controller in my 1000TL 2 with this new 351A X and the machine s response is now fantastic Besides a souped up performance the new Seagate drive is absolutely quiet I can t hear the thing So if you are looking to pop ina40M IDE drive in your new low end PC consider this new Seagate On hand now at only 195 7S amp H domestic U S 6 25 x4 x1 75 mounting holes are 3 125 x4 75 The Astec AC12310 68 watt supply provides 5V 7 3A 12V 2 5A and 12V 0 1A It ssizeis 7 69 x4 125 x2 mounting holes are 3 75 x7 25 This supply is a direct re placement for the Tandy Model 4 power supply Tandy s was based
88. he samples in the manual to work using S but I always have to key in line numbers When I tried the example on page 254 I get 0 compilation errors but nothing happens When I try the sample on page 86 there are no compila tion errors but the computer hangs up I am probably overlooking some small detail but would appreciate any help you Can give me inthis matter Fm MISOSYS Inc To begin with Enhcomp programs do not have to havea BASIC line number on every line see page 34 Only lines which are the target of GOTO s or GOSUB s etc require either a number or a label If you are starting a program from scratch then the easiest way is to invoke the S CMD super visor It automatically loads the CED editor From there either CED invoked from S or directly from DOS you can simply type T forinput Enhcomp won t automatically insert BASIC line numbers because most lines will not need that number lt BREAK gt will cease the input mode That is essentially the same as interpreter BASIC s AUTO command The sample program on page 86 will absolutely lock up your computer since you are using the Model 4 version and that program is noted to be for Model I or II not the 4 The program as written pokes machine language code into memory code which is Model I M specific What you see on page 254 is not a complete program but simply a user command a program fragment so to speak It s sortof like a defined function i
89. hour Therefore when the ma chine produces a dirty image it can be significantly less expensive to learn not only how to clean it but why it gets dirty This article will discuss two issues con cerning the LC 890 The first issue will be two reasons why a dirty image can result The second is a means whereby you can recondition your own Photo Conductor PC cartridge To begin with other machines are known to use the same print engine and as such this material applies as well Based on the label of a toner cartridge I purchased from Quill the NEC engine is used on the AES L5 Datasouth Pagewriter 8 Interface Systems Laser 8 Kaypro Page Printer I NEC LC850 860 890 Nixdorf Siemens PT10 and Telenorma Model IS Y 70 All of these machines use a toner cartridge separate from the PC drum cartridge I havealways been impressed with the print quality when the machine is clean and properly working One problem of a dirty image appears as incomplete coverage of toner especially on large black areas solid graphics or a large type size The incomplete coverage may be on one side of the paper If clean ing of the components as discussed in the User Manual do not clear up the problem it is off to the shop for an expensive cleaning Or is it After one such trip I discussed the issue with the shop techni clan It turns out that the LC 890 et al is plagued with a problem of toner clumping depending on the frequency
90. ility of capturing handwritten input it can also capture video images directly Still black and white images are instantly captured and stored on its 2 5 hard drive Now a look at the result of software bun dling In the past users of LDOS and or LS DOS have asked for the inclusion of all sorts of applications within the DOS Recognize that the DOS already includes a keystroke multiplier minimal text edi tor and a Communications program In the MS DOS world the same kinds of requests have been made in fact users have complained that the DOS was a poor product because it did not contain func tions such as Superkey keystroke multi plication a shell processor and a com pression utility When DR DOS came out it was lauded for including file compression which MS DOS 5 did not subsequently include DOS 5 does include a shell and DOSKEY a keystroke multiplier Well now that MS DOS 6 is to include bundled data com pression the stock of Stac Electronics a leading supplier ofcompression software dropped 75 in value Compression software companies are not the only ones who took a hit When MS DOS 5 was released with a shell facility how many users of SoftLogic Solutions SoftwareCarousel gave up on it I know mine is sitting on the shelf never to be upgraded again Even though its switch ing performance was faster since it used RAM in contrast to MS DOS 5 s disk only task switcher Carousel would have requir
91. in the word labeled If there is no free space the user is prompted to insert another disk Other wise BEST_FIT is called to select which files to copy Now the BST_FLG array is stepped through in order If a flag is set then the associated file s size is set to zero to mark it as used Since the files are sorted by file size in descending order and the valueofCOUNT updated after each sort a size of zero will cause the array element to be sorted out of the active portion of the array the next time the list is sorted This will in effect remove the used files from the list Next the file name and file extension are copied in FILENAME EXT format to a por ion of the COMANDS string and the source and target drive numbers added to the end of the string in s d CR format The file is then counted in the COPYCTR byte pointed to by IX and the PERFORM subroutine called to issue a system COPY command At PERFORM the IX register is pre served and SWAPCOD is called to re place the code pointed to by the EXIT SVC vector to a JP to PFM010 Then the program stack pointer is saved and the system stack pointer switched in The____ OPY commandcontainedin COMAND is now issued via invocation of the CMNDI SVC gt a Normally this SVC does not return butin this case it does because the program has a ana a a ee vee 5 Mhata a e a a n e a n n a n n n e OH see REELLE LLLE CE
92. ipsit It fully supports the various Epson and Epson compatible printers to the limits of their capabilities Model Ill or 4 is supported in the same package Easy to install Mailing List Fixed Database PowerMail Plus This program was because all the othar mailing list data base systems couldn t keep track of ali the types of data most folks wanted to keep track of You needed speed you needed hard drive support and you needed a crash prooi data structure PowerMail was top rated 5 stars in several publications and has never been topped Works on floppies or hard disk under all popular TRS 80 operating systems Allows importing of data from several other once popular mailing systems to avoid re typing Written in machine language by the author of Super Utility this program is FAST and sorts up to 10 levels very quickly if you keep track of names and addresses along with associated data for any situation this is the one to use Many churches organizations and businesses use PowarMail for all thedifferent kinds of lists they need to pull from Each record has 24 user definable flags to allow total customization for your exact needs Form Letter Module Text Merge Create customized form ietters and Labels with PowarMAIL I This optional module for PowerMail allows you to create cus tomized form letters or custom labels lists etc with PowerMail Plus and any word processor that saves text in
93. istinct foreground background color arrangement to increase the distinction of it s data viewing Using a database password provides the capability of selectively protecting fields from being displayed or printed without entry of the correctdatabase password or they can be protected from being altered This is quite useful in a work group environment Fields may be selectively established to require a data entry before a record being added or edited is saved You can enable a special index file to keep track of records being added This can be subsequently used for example for a special mailing to newly added customers Flexible editing includes global search and replace with wild card character match and source string substitu tion Search and replace can be performed on all records or on records referenced in an unsorted or sorted index file Record selection and sorting Youcan maintain up to ten different index files to keep your data organized per your multiple specifications Records may be selected for reference in an index file by search criteria using six different field comparisons EQ NE GT GE LT and LE You can select on up to eight different fields with AND and OR connectives Index files can be left unsorted or you can sort in ascending or descending order By associating a sorted index file any record can be found within seconds even in a very large database LB even includes a special Dup command which uses t
94. itable for MRAS EDAS configurable for others and is automatically seg mented into manageable file sizes You will even be prompted to change the output file diskette when the disk becomes full REL Disassembler UNREL Here s one of those rare utilities designed for the programmer UNREL will decode a relocatable object module which has been assembled by either Microsoft s M80 or MISOSYS MRAS as semblers The output is an assembler source file compatible with MRAS and M80 UNREL assumes anything ina code segment is code and anything in a data segment is data It supports special link items 0 3 5 7 9 11 13 15 We bundle in SPLITLIB which can be used to split a library into separate modules We also include DECODREL for displaying the bit stream of a REL file This can be used to more fully understand the actual bit stream UNREL should be the perfect professional assembier s tool for your bag of tricks a TRS 80 Software and Hardware from MISOSYS Communications Terminal LS Host Term This communications package gives you the toois needed to get communications chores done quickly and effectively ADDS25 is set up to look like a Radio Shack DT 1 emu lating an ADDS 25 terminal Full cursor positioning reverse video and blinking fields ara supported TERM6 allows one Model 4 4P to be used as a remote terminal to another running HOST portion of LS Host Term HOST lats your 4 4P operate remotely w
95. ith password access for log in from another 4 4P using ADDS25 All video effects are properly transferred to the remote system We include a version of XMODEM for file transfer between systems using the MODEM protocol as well as a utility that converts to from binary and HEX ASCII binary repre sentation to from INTEL Hex format and checksum files Full C Compiler MC if you are looking for a full C compiler look no further if you are looking for a well stocked UNIX System V standard library look no further MC reviewed in the January 1987 issue of MICROCOMPUTING is acomplete C compiler which adheres to the standards established by Kernighan and Ritchie The library of functions is extensive and System V compatible The compiler generates Z80 relocatable macro assembler code M890 or our MRAS The iibraries are files of relocatable object modules MC is a full featured compiler for the discriminating programmer MC supports command line YO redirection for compiled pro grams wild card file specifications parsing for UNIX exten sionsinfilespecifications overlay support requires MRAS a full pre processor lots of options and is designed for the program mer wishing the ultimate in C compilers The package Is suppiled with the compiler pre processor an optimizer assembler macro files C libraries aJob Control Language file theheader files and a 400 page user manual MC requires the use of either M 80 or MRAS
96. its trail This is not unlike many ofthe block graphics programs TRS 80 users have seen in the past except that WORD s line drawing used the PC line drawing characters Figure I displays a facsimile of these dual line PC characters along with their values in decimal I was always fascinated how WORD always displayed the correct joining character when the cursor was moved through an existing line which created a cross junc ture or when the cursor was moved at rightangles perpendicular to a line which created a T intersection When I first sat down to consider a technique it was quite a puzzle Inside TMQ i s 186 u i ia a al 202 205 188 My first attack was to explore the charac ter values themselves in hexadecimal octal and binary For instance an exami nation of the Z80 operation codes in octal will reveal a great deal about their under lying operation as groups of codes But that didn t provide any insight in the case of line drawing characters I next attempted to study the codes from a state diagram Such a diagram reflects the change in state of a component to a given output caused by specific inputs But the state changes were utterly complex I naturally assumed there had to be an easier way I then stumbled onto the idea of decom posing each line draw character into sub components A close inspection of every character in Table I will reveal that each character is composed of at most four
97. k logically to the fullest extent of your ability if you would like to take on the largest adventure ever written inthe genre of interactive fiction and if you have the guts to face that which would make any other mortal eif cringe in fear then Lair of the Dragon is your cup of poison for reward is a hard eamed commodity here not given easily to the timid and the faint hearted If you are an old hand at adventuring then be pre pared for a worthy opponent MegAdventure rips the door to adventure right off its hinges TRSDOS 6 Source books DoubleDuty doubles your Model 4 THE SOURCE 3 Volume Set DoubleDuty This will be the last time that these books will be made available DoubleDuty published previously by Radio Shack cat 26 2231 for a giveaway price THE SOURCE contains a vast wealth of is now available from MISOSYS DoubleDuty divides your 128K information forthe assembly language programmer THE SOURCE jor greater TRS 80 Model 4 computer s memory Into three com is not only informative but also an excellent learning tool plete and independent partitions Two partitions each operate as if thay were there own 64K Model 4 This lets you run two These books contain the complete commented assembler programs concurrently switching between either at the flick of a source code for TRSDOS 6 2 excliiding hard disk support the function key It doesnt support multitasking so only the fore Microsoft BASIC and the HELP utility Each
98. l perfor is needed mance enhancements IBM PS 2 Xenix Unix are trademarks of their respective companies 386 is a trademark of Intel Corp JIR ill I ll Illu I connected to your TRS 80 Model III your computer will sail through data access MISOSYS has been shipping complete drive kit packages since September 1989 which plug into Model 4 4P 4D and Model III computers let us build one up for you Our host adaptor which interfaces the 50 pin expansion port of the TRS 80 host to the 50 pin SCSI port of the HDC sports a hardware real time clock option using a DS1287 clock module With its internal battery lifetime in excess of 10 years never enter date and time again It even adjusts for daylight saving time Another option available is a joystick port and Kraft MAZEMASTER joystick with a port interface identical to the old Alpha ee Joystick thus any software which operated from that joystick will operate from is one Software supporting the S1421 and 4010A controllers includes a low level formatter an installation utility and driver a high level formatter a sub disk partitioning utility utilities to archive restore the hard disk files onto from floppy diskettes a utility to park the drive s read write head a utility to set or read the hardware clock a keyboard filter which allows the optional joystick to generate five keycodes and a utility to change the joystick filter s generated keystroke values afte
99. listed here is correct If your LB OV8 is dated 11 19 92 then please apply LB8230B FIX LB8230A FIX Patch to LB OV8 of release 2 3 0 Patch corrects bug in unsorted find command Apply via PATCH LB OV8 LB8230A DIE 03 CD F7 70 FLE 03 22 CA 70 D46 58 Data not found F46 58 Search data not D46 67 00 22 CA 70 22 D4 70 C9 F46 67 20 66 6F 75 6E 64 20 00 Eop LB8230B FIX Patch to Volume VILi LB OV8 of release 2 3 0 Patch corrects bug in LB230A FIX Apply via PATCH LB OV8 LB8230B D46 67 00 22 CA 70 22 D4 70 C9 F46 67 20 66 6F 75 6E 64 20 00 Hop If you have an MS DOS version of LB86 V2 3 0 the LB EXE module was cor rected on the file dated 11 19 92 Bee ee LB Printer codes Fm MISOSYS Inc Release 2 3 of LB added an automatic print definition report generator This print autogen module ref erences a PRINTER DEFINITION file of printer codes to automatically construct a report definition fornarrow and wide table reports form reports and 11 address label reports plus Rolodex and 3x5 card The file uses the following control codes codes to place printerin cpi s 10 12 14 15 and 17 where appli cable codes to enable disable bold where applicable codes to enable disable under line where applicable codes to enable disable italic where applicable The following codes have been submitted by our users since the release of the PRINTER DEF file Fm David Hue
100. lity as well as requiring a screen conversion utility to upgrade from a pre vious version I chose to keep the upward and downward compatibility Besides since the view screen background consists simply of static strings the additional time required for array processing is un noticeable compared to the time to open read and process the view screen file With that first challenge out of the way I moved to the second challenge what algorithm could be developed to use in forming line connections The PC supports what could be called two sets of line drawing characters including junctions where lines intersect one set is made up of single lines the other is made up of dual lines There also exists a set of joining characters whichestablish the junc tion points where single lines meet dual lines In the implementation of line draw ing in LB Ichose to support only the dual line line drawing characters This of Inside TMQ Inside TMQ Volume VILi THE MISOSYS QUARTERLY Winter 1992 93 Volume VILi Figure I r 205 186 Du Lu 204 205 203 Tr 71 EG 205 187 6 186 206 205 185 186 course made the job easier But it took some time to discover an simple algo rithm which would calculate the proper 205 joining character where an intersection occurred Microsoft WORDprovides alinedrawing mode in which you can simply move the cursor around the screen and a line would be drawn in
101. lsmann The following ASCII codes are for an Epson L 1000 Action Printer Letters to MISOSYS Letters to MISOSYS Volume VILi 10 cpi 27 80 12 cpi 27 77 15 cpi 27 103 17 cpi 15 actually does about 60 of size of print already in Will give 17 cpi if in 10 cpi to start with Will not work with 15 cpi Emphasized select 27 69 Emphasized cancel 27 70 Double strike select 27 71 Double strike cancel 27 72 Underline toggle 27 45 Italic select 27 52 Italic cancel 27 53 Initialize printer 27 64 Fm Jim Potsch Roy codes for a DWP 220 printer Decimal 12 pitch 10 cpi select 27 14 10 pitch 12 cpi select 27 15 Start underline 14 End inderline 15 Reverse Line feed 27 10 proportional select 27 17 bold on 27 31 bold off 27 32 start CR only 27 21 end CR only 27 22 E PRO EnhComp Use Fm CCG Dear Sir I am having a prob lem in using the subject compiler I would like toknow how toconvert what Ido with the BASIC Compiler I now use to be able to use the subject Compiler For example I now key in BASIC then NEW then AUTO and I am able to then type in my program How do I achieve the results using the subject Compiler If I type in BC I get the message missing parameters When I type in S I have to key in the line numbers Also when I Key in lt break gt nothing happens Letters to MISOSYS THE MISOSYS QUARTERLY Winter 92 93 I can get some of t
102. ly I have written JCL files which use the standard LS DOS LDOS backup utility along with MISOSYS ParmDir utility in the GO SYS package I have included these files here as an example of how to create your own they will most likely have to be modified for your configura tion To execute the backup with my JCLs type dopartback PARTBACK JCL first uses MISOSYS DOCONFIG CMD to config ure my basic system set up It then ex ecutes the file MOD3PART JCL which enables my Model 1 3 LDOS partition My 720K floppy drive is then enabled as the destination disk ParmDir is used to create DOFILE JCL and then the PARBACKA JCL file is executed PARBACKA JCL backs up all modified files on each hard drive partition Backup will ask for a new disk if the current one runs out of room the first PATCH in the JCL modifies BACKUP so that it won t abort if it needs a new destination disk Normally BACKUP doesn t allow a des tination disk change if it was executed from aJCL The second patch reverses the first After the partitions are backed up DOFILE JCL created earlier is executed DOFILE will backup modified and new files found in every DiskDISK file on the system Note thatPARBACKA JCL turns on job logging Now we have a running list of backed up files Neat When the JCL is done mark the disks as modified backups with the date and put them away Do this as often as you feel is sufficient If backing up daily seems like too
103. m that fills the gaps that PC users have most need of and have asked us for It s aimed at the beginner the office user hobbiests students of the PC and programmers alike So why not be certain about the safety of your data and your peace of mind when you can have Super Utility disk insurance right on hand at an unusually low price Make your new computing life easier more fun and knowledgeable all at the same time Super Utility is easy to use unprotected and great insurance against disaster ifand when it strikes MISOSYS Special Only 29 95 P O Box 239 ae Sterling VA 21067 0239 z Phone 703 450 4181 Phone Orders Only 800 MISOSYS 800 647 6797 Add 5 S amp H in U S Add 6 S amp H in Canada amp Mexico Add 9 S amp H ali others Virginia residents add 4 5 Sales Tax VISA and MasterCard accepted Checks not drawn on an American bank are not accepted Requirements IBM PC or compatible running PC MS DOS 2 x 3 x min 128K memory one disk drive PC DOS may be required for use IBM PC XT and AT are registered trademarks of international Business Machines Corp MS is a registered trademark of Microsoft Now you have a choice when selecting a backup system from 5 Colorado Memory Systems the company that sets the standard for value in data storage More Bytes Less Bucks i s a K irordable MISOSYS pricing x FR SEN SEES TONE aeren t a ns Seat ANA im vo RR i S
104. me good press over their new Video Informa tion System VIS multimedia player The system includes a 25 MHz 386SX CPU 2 MB memory CDROM SVGA graphics Stereo audio and an infrared remote con trol There s no keyboard as of yet as this thing hooks up to your TV set The VIS includes Tandy s newly designed RAMDAC and VGAcolor blending chips which make graphics look like broadcast video Now for a look at the horizon in memory storage how s 50 gigabytes in a 5 cm cube sound All that and 10 ns access time to any location in the cube Those figures are the promise of research by Robert Birge of the Syracuse University Center for Molecular Electronics in photoreactive protein harvested from bacterium halobacterium halobium to be exact Peter Rentzepis of the University of Cali fornia at Irvine is also researching the use oforganic moleculesinthree dimensional memory His goal is 100 000 gigabytes in a peanut sized transparent cube Does this sound like Superman s crystal pal ace Both of these systems employ laser based optical reading and writing Speaking of lasers in a previous issue of TMQ I mentioned a new blue laser devel oped by Sony which was claimed to even tually triple the capacity of CD based systems One user asked me to comment onthat The increase inoptical capacity is in a way no different than that which has occurred in the field of magnetics The capacity of a recording medium is base
105. n However if it is not i e the MEMORY ommand shows a himem pointer of x ef03 or lower you need to change the 2 Tt 2 a ORG statement reducing it by an even CALL ee IT SVG multiple of 100H to accommodate your himem needs TE SMALARCH could be rewritten to auto matically relocate itself to high memory but including that code in this article would have greatly lengthened and com icated the listing making it harder to Inside TMQ 33 Inside TMQ Volume VILi THE MISOSYS QUARTERLY Winter 1992 93 Volume VILi understand the actual functions taking place To see how SMALARCH organizes the files on archive floppies take the disks in order from first to last and execute a DIR d o n command A typical o n direc tory appears below Note the files appear in descending order by size Look at the two 25 5K 17 gran files EL VIS2 GIF and GOTHIC17 GIF They are not the same size in sectors and bytes but they are the same size in grans This is why they were written in alphabeti cal order The same is true of the three 11 gran files BRINKLEY GIF CAPITOL GIF AND JUNE GIF and the two 10 gran files COKE GIF and JANUARY GIF The last file AUDREY GIF was obviously at the top of the list of 3 gran files and was selected because it was the first file encountered which exactly filled the remaining 4 5K of free spaceon the floppy I have found SMALARCH to
106. n interpreter BA SIC If you wrote a BASIC program which consisted of nothing but a DEFFN it wouldn t do anything either Look at the short program on page 255 it should work So should the one on page 163 if you make sure that you either have a drive 4 or change the OPEN to refer ence a valid drive Incidentally your reference to your exist ST Volume VII i ing BASIC appears to be referencing the BASIC InterpreterprovidedwiththeDOS notacompiler Thereisamajor difference in the two Interpreters need to look at each source statement each time a state ment is reached and convert the logic to interface with machine language func tions Compilers do thatonce andconvert the source program to machine language re HDPACK Queries EEE EEE Fm JFS Since I use my HDDE utility to create extra directories formy 40MB drive DIRCHECK of course reports many granules allocated but not used Thisis due to the fact that the GAT must record all space used on all directories Will this prevent HDPACK from working properly or will it just avoid using the granules DIRCHECK thinks are improp erly allocated as I would think it should Fm MISOSYS Inc Any granule show ing up in the GAT as allocated but unused by adirectory entry will be locked in place and both unused and unmoved Your pre sentation with HDDE would appear no different than any other bad granule locked out by a hard drive formatter as
107. nce Manuals SYSTEM command supports removable and reus able BLINK ALIVE and UPDATE memory modules Double density BOOT support for Model I with embedded SOLE and FORMAT SYSTEM Supports mirror image backup too Reworked FDUBL driver eliminates PDUBLand RDUBLand takes less memory Twonew reference manuals are available from MISOSYS First we enhanced resident driver eliminates TWOSIDE have the the 349 page LDOS amp LS DOS Reference Manual catalog number M 40 060 This single manual fully documents Bong Model Ill version auto detects Model 4 for installation LDOS 5 3 1 and LS DOS 6 3 1 in a convenient 8 5 by 5 5 form of KI4 keyboard driver supports CAPS CTRL and If youuseone or the other or even both DOS versions you may want function keys to bring yourself up to date with a single manual Gone are the many pages of update documentation Price is 30 plus 5 S amp H SPOOL command offers Pause Resume and Clear parameters OFF attempts toreclaim memory used We also publish the LDOS amp LS DOS BASIC Reference Manual This 344 page book catalog M 40 061 covers the inter preter BASIC which is bundled with LDOS 5 3 1 even the ROM BASIC portion the interpreter BASIC which is bundled with LS DOS 6 3 1 and both Model I III mode and Model 4 mode EnhComp compiler BASIC One convenient 8 5 by 5 5 manual covers all four BASIC implementations for 25 plus 3 50 S amp H Since this new manual co
108. nctions for ALL applications PAUSE Hit Enter DO INITS EXIT Fm RJS Thanks for the patches to Superscripsit which you published in Volume VI iv page 9 They worked fine after a little experimenting I forgot that patches needed parentheses around them Letters to MISOSYS 11 Letters to MISOSYS Volume VILi THE MISOSYS QUARTERLY Winter 92 93 Volume VILi of The MISOSYS Quarterly published a short article on extracting the DIR library module from LDOS SYS6 SYS module patching it for A N and naming the resulting file CAT CMD It salso asimple matter for a modest programmer to code a CAT for LDOS which uses the DODIR service call In fact based on my discus sion of the Superscripsit patch to SCR17 CTL which was in the last issue most of the code is right there All you need to add is a parsing of the command line to get the drive number to CAT TRSTimes of Nov Dec 1991 had such a program es International Keyboards Fm LR I purchased the French version of LS DOS 6 3 1 some time ago your In voice 92 10404 dated 05 08 92 So far I have been unable to find the letter M which makes it rather difficult to type in commands suchas MEMORY SYSTEM etc Typing an upper case M gives me a question mark the lower case m gives me a comma I ve tried all possible combina tion of keys with no success although did manage to get a lower case m on my printer using CONTROL
109. nd are known only toCALC_FIT andcannot be accessed by any code outside of CALC_FIT Because CALC_FIT isrecur sive 1 e it calls itself all its local vari ables must be stored in such a way that each level ofrecursion hasit s own uniqu set of local variables The best way to do this is to store the variables on the stack ala C Each invocation of CALC uses six levels of stack and since there can be as many as 254 files in a list there must be about 3K of stack space available This is provided for elsewhere in the code Before calling CALC_FIT the calling routine must push three variables on the stack namely the number of array ele ments to search the array position at which to start the search initially element number zero and the sum of sizes to find In CALC_FIT itself these are called number start and target respec tively CALC_FIT also uses two other local variables namely total and local_best which italso pushes onto the stack The order of appearance on the stack is of crucial importance as this is how CALC_FIT accesses them Of the six levels of stack required five contain variables the sixth being the RET address and are accessed via their loca tion relative to the stack pointer as fol lows number SP 10 start SP 8 target SP 6 RET address total SP 2 local_best SP 0 Inside TMQ Volume Vi THE MISOSYS QUARTERLY Winter 1992 93 Volum
110. of use and the environmental conditions tempera ture and humidity I have always been of the belief that a car will last longer the more it is used When it stays parked a great deal of time it will rust out The same principle holds true with the printer although rust out may not be the exact terminology to apply Toner is itself an extremely fine granu lated material When the toner particles clump together they will cause the image to be incomplete as the clumps will not properly transfer as particulate to the pa per Atthis point the toner clumps need to be removed You can determine if your machine has toner clumping by examin ing the developer assembly once it is removed from the machine That sa simple matter to do Simply open up the toner cover used to add toner then pull upon the cover to remove it it s held in place by channels at either end Then unscrew the two large screws located at either end of the developer assembly and lift the devel oper unit straight up It may appear to not budge at first the fit is tight Incidentally the screws will not disengage from the assembly As you look at the front of the assembly notice the appearance of the toner on the roller If its nota fine particulate the toner has clumped You may even want to slightly reverse the normal direction of the roller by rotating the roller gear to see how the toner appears Whenitis clumped you may be able to just vacuum away
111. olicy for your data The LDOS TOOLBOX is like a Super Utillty for hard disks Features Disk Check and Disk Repair Sector Modification plus many many other useful utilitles that makes using a hard drive even easier Each program contains a builtin help command so many times you don t even need to lock things up in the manual just press lt Enter gt for help A very wise buy for hard disk users Model 4 ToolBelt This is similar to the LDOS TOOLBOX except it is forthe Model ee et Super Fast Hard Disk Backup and Restore Back Rest BACK REST has proven to be a great time saver for thousands of TRS 80 hard drive users BACKREST can back up 10 megabytes in about 10 minutes and 20 meg In about 30 40 minutes It also tells you how many disks to have ready Works under LDOS or TRSDOS 6 both versions on same disk Great utility for hard disk users Hard Disk Drivers for Tandy disk systems Supreme HD Driver RS These hard disk drivers out periorm the Tandy drivers in many ways Our Powersoft drivers allow you to combing LDOS and TRSDOS 6 on the same drive and boot from either system with floppy disk They run faster and take much less memory from the system Only for use with Tandy Hard Drives SuperSCRIPSIT Printer Driver PowerDriver Plus Allows EPSON or compatible printers to be fully utilized with SuperScripsit and SCRIPSIT PRO This is a replacement driver for the ones you got with SuperScr
112. oment without warning It s gone Therefore we introduce Super Utility for the PC an easy to use disk utility containing many functions sorely needed in today s MS DOS computing environment With Super Utility you can restore damaged or deleted files using two different methods one easy the other alittle tougher Even clusters of an erased file assigned to another file can still be restored unless the user has physically written over every byte of the original data especially useful in word processing files In addition to file repair and recovery Super Utility provides sector verify sector editing modification of sectors in Hex or ASCII ease of renaming of files and setting their attributes string search copying sectors to a file diagnostic sector checking mapping of the FAT table of afile or an entire drive visual graphics pertaining to your system and full directory and sub directory editing without endiess menu hopping all in one program The sector display mode displays all 512 bytes on screen at one time and allows you to fully explore your disks SEARCH and CHANGE are nice here Compatible with DOS versions 2 0 3 1 on most systems Some computers may require the use of PC DOS Color composite or monochrome video are supported A great tool for fixed disk users as well as floppy Also compatible with IOMEGA s Bemoulli Box storage device also sold by Tandy as the Disk Cartridge System Super Utility is a progra
113. on Serial Number which is a read only form of the SRAM The SSN contains a one of a kind num ber which can be used to positively iden tify electronic equipment Is a step back in time considered regres sive Not if you happen to be old enough to be a vacuum tube audiophile Transis tors have replaced the use of vacuum tubes in virtually all forms of electronic _ EEE EEE reer The Blurb 3 The Blurb Volume VILi THE MISOSYS QUARTERLY Winter 1992 93 Volume VILi equipment However true audio purists still prefer the sound of audio generated from vacuum tubes there is adifference Eric Pritchard has now devised a Tube Emulator which he claims sounds like the real thing Sample circuits were built up and presented to a group of professional musicians for ear evaluation With that testsuccessfully passed Pritchard formed acompany called Deja Vu Audio to mar ket the Tube Emulator If your hearing needs improvement how about your smelling According to a brief article in EBN Arrow Electronics is con sidering moving from their Melville New York headquarters to Dallas because of the discontent arising over an adjacent compost facility which has soured the local air quality One of the recent merchandising develop ments at Tandy is their requirement for bar coding products purchased for resale at their Computer City Incredible Uni verse and Radio Shack chains Speaking of Tandy they just got so
114. on the Astec design The 40 watt supply is 40 and the 68 watt supply is 50 Surface S amp H for either is 5 Currently in stock are seven of the 68 watt supplies and nine of the 40 watt supplies When these are gone we will not be obtaining more Address Change The United States Postal Service has seen fit to change the ZIP code of our Post Office Box mailing address effective July 1 1992 The new ZIP is 20167 Please update yourrecords don t wantto lose any of your orders FAX Number If you want to reach us by fax try 703 450 4213 The Blurb THE MISOSYS QUARTERLY Winter 1992 93 Volume VILi Volume VILi eee after the Spring of 1993 In case anyone iis still wants to acquire some of these prod LB Printi ng Hint ucts Iam making this announcement to Binders TMQ readers first I will subsequently publicize this list to any takers In order to Pee tke it easy the price list in this issue ae Here s a hint for LB 2 3 0 users looking for a way to remove blank lines from mailing labels If you have received any recent mailings from us you would be able to see the effect At MISOSYS our general format for mailing labels is First Name Last Name Company Name Street City State ZIP Country Most of our database records do not have a company name entry thus our labels would have previously been printed with a blank line between the name row and the street row Butnow there is an alternative
115. orks with the 386SX system man agement interrupt SMI The SMI which is a highest level interrupt is activated by WD scontrolleron every disk write Soft ware in protected memory then checks to see if the write request is to an area of the disk previously protected by the user If so the operation is assumed to be a virus and the user or a special virus inocula tion program is notified And the other front for criminals the software piracy front has finally been attacked in Congress to provide bigger teeth on the punishment side Commer cial software piracy where folks spring up and copy packages en masse for resale has been elevated to a felony from a misdemeanor It is said that this will now encourage federal prosecutors and other law enforcement agencies to pursue these cases of theft The law defines commer cial pirates as individuals who willfully copy software for commercial advantage or private financial gain Prison terms of up tofive years and fines of up to 250 000 can now be imposed on persons convicted of infringing at least ten copies of a copy righted software program or any combi nation of programs with a retail value greater than 2 500 Trade in Policy The policy for trade ins of an equivalent non MISOSYS software product for a MISOSYS published software product is to just send in an original Table of Con tents page with the trade in fee which is 50 of the price of our product So for LB
116. orts doubie length integers string handling cursor manipulation graphics random numbers and floating point Maintenance GO MTC The GO MTC program collection provides maintenance support services for your computer operation DIRCHECK performs an integrity check of your disk s directory and repairs certain kinds of errors FIXGAT re constructs a corrupted Granule Allocation Table IOMON traps disk input errors MAPPER checks the granulization of files RAMTEST performs an exhaustive test of RAM and UNREMOVE restores a deleted file System Enhancement GO SYS The GO SYS program collection is designed to provide additional features to LS DOS 6 3 operation DOCONFIG manipulates CONFIG SYS files DOEDIT provides command editing MEMDIR gets a memory directory PaDS provides Partitioned Data Sets PARMDIR obtains parameterized directory information for list ings and JCL processing WC for wild card command invocation and ZSHELL for command line I O redirection piping and multiple commands on a line More Model 4 Utilities Leo s Greatest Hits Animated Game Disk with sound This is one of the greatest values in games ever produced Leo Christopherson wrote the very first animated game for the TRS 80 and the country went wild for it Android Nim will make everyone laugh to watch these life like creatures as they shake their heads up and down or side to side and blink at you stupidly as they wait for you to m
117. p image there are also differences in some of the special keys which I have not illustrated You may as well resort to using the En glish version of LS DOS unless you can locate a French Belgium keyboard International Keyboard Matrix eee Id ses A A SEE Model 100 Transfer Fm RJS I wrote to you some time ago asking for a program to allow two way communication between the Model 100 and the Model IN You sent me a back issue of aMISOSYS Quarterly which in cluded a program by Mark Reed It was an unassembled I think program so I wrote him for a copy on disk It runs fine but it only allows for M100 gt M3 and not for M3 gt M100 I have done a number of experiments trying to reliably and effectively transfer files from the M100 gt M4 I tried using Radio Shack s program REMOTE DISK but it left the files in a configuration that I haven t been able to open on the Model 4 afterwards I tried a direct RS232 trans fer but found that difficult and never reliable I tried a RS232 through DESKMATE fast but unreliable Then I saw a note in DESKMATE indicating thatit was necessary to slow down the rate in order to transfer long files Thanks Inspectionofsome ofthe long files showed large sections missing from the center of them and I never knew it If I have to slow down I might as well use TAPE100 It may be slow but itis absolutely reliable Ivery soon became weary of M100 gt tap
118. phical line drawing characters along with reverse video which was always present had to either not support a EGS eee ee line drawing on the TRS 80 or convert Me gt gt eta eg a ee bene Inside TMQ 16 Inside TMQ Volume VIL i Volume VILi THE MISOSYS QUARTERLY Winter 1992 93 line drawing symbols to some form of ASCII character counterpart The latter method was chosen One additional point was to keep the view screen file identical across implementations for ease of port ing data file sets across implementations This was done by storing the IBM PC line draw graphic character and having the TRS 80 version perform the code conver sion during the screen display The technique used to differentiate re verse video character codes from graphic codes is to use bit 2 of the attribute array SET with bit 7 RESET to designate that the corresponding screen array position is to be used as is The screen cell can store a graphics character with bit 7 SET Ad ditionally reverse video of line drawing characters is designated by setting bit 3 of the corresponding attribute cell Now it certainly would have been simpler and more straightforward to revise the screen arrays use to store strictly charac ter values using all 256 values and simul taneously revise the attribute array use to designate either fields or reverse video attributes however to do that would have again created a problem in backward com patibi
119. r installation Optional LDOS 5 3 software is available Twenty megabyte drive packages are currently built with a Seagate ST225 hard drive Forty megabyte packages use a Seagate ST251 1 28 millisecond drive Drive packages are offered as pre assembled kits Your kit will be assembled to order and fully tested all you will need to do is plug it in and install the software Drive kits include a 50 pin host interface cable and the hardware clock Full implement of status lights included power ready select read and write Add a joystick or hardware clock for but 20 additional per option er price schedule Aerocomp Hard Drives now available from MISOSYS MISOSYS is also the sole source of remaining brand new Aerocomp hard drives All Aerocomp drives include status LEDs software driver and formatter power and host cables andinstallation Job Control Language We are building their20Mand40Mdrives We also have Montezuma Micro CP M Hard Disk Drive drivers available Tale Hi TELIAT With a 20 or 40 MB MISOSYS Hard Drive or 4 ae 0000 2 Prices currently in effect Complete MISOSYS Hard Drive e 20 Megabyte kit 395 a 40 Megabyte kit 495 e Joystick option 20 e Hardware Clock Option 20 es LDOS software interface 30 Aerocomp Hard Drives 20 Meg unit 350 gt 40 Meg drive 450 m e MISOSYS H A with sofiware 75 Separate Hard Disk Controllers Xebec 1421 HDC 45 Ad
120. r which generates either relocatable object code modules or CMD files directly a linker a librarian a full screen text editor a utility for converting to trom line numbered files and across reference tool for directly generated CMD files PRO WAM works with all programs which use standard DOS keyboard requests and honor the DOS high memory pointer requires one 32K RAM bank about 2K of high memory and a small piece of low RAM Ifyou havea model 4 then you must have PRO WAMI MRAS generates M80 compatible REL files Macro support includes REPT IRP and IRPC as well as standard macro parameters by both keyword and position It supports nested includes and a ull range of nested conditionals MRAS incorpo rates a fast binary searched symbol table and the ability to enter symbol values from the commandline Labels can be any length with 15 character significance Ithas flexible output redirection of listing and symbol table PRO WAM Application Pack Mister ED Mister ED is loaded with editor applications All are full screen which make your editing jobs easy Best of all these are all PRO WAM applications so they can pop up even when you are using other programs and applications MLINK supports virtual memory bit stream buffering REL and IRL library searching direct generation of complex program overlays and does not generate disk space for DEFS regions in DSEGs and COMMONs The linker can generate either a normal executabl
121. raphics in several modes including BASIC listings CMD file format etc Thesa can then be merged into your own programs either in BASIC or machine language Many of PowerSoft s opening screens were created with PowarDraw In fact it even creates animated opening screans io really pep up tha program It also allows you to print the scraens on Epson type and several other type of printers Lastly PowerDraw has the ability to load in many types of TRS 80 graphic s and convert them to BASIC listings like a BASIC program generator Block Graphics Drawing PowerDOT 2 0 This program is similar to PowerDraw but quite different It allows youto create hi res type screen graphics combined with text and allows you to create drawings much larger than your screen The screen is a window to a much larger drawing area and you usethe arrow keysto move about the drawing inaway it is similar to Macpaint for the Macintosh computer it also allows you io create custom fonts for ads ete Many of our early ads were created with PowerDot it creates tha hi res effect due to sach TRS 80 block pixel being printed as a single dot Please specify if EPSON Okidata Prowriter or Radio Shack printer tg YP YP YP X X X a x X X te n ME SNUR DEOR MB MEAIM GHEAN Mamas MEANA DUA DUA ees een ees es es ee es es ee ee DA BEE ees es ee ee ess es es EEE ee ee ee r ut ataa Choose LDOS 5 3 1 or LS DOS 6 3 1 Bo
122. rence Manual TRS 80 Software TRS 80 Software Items on Closeout XLR8er Software Interface Kit M3 mode n a va M 40 060 LDOS LSDOS BASIC Reference Manual M 40 061 M 10 110 M 10 130 n a M 12 013 LDOS 5 3 1 Diskette M1 LDOS 5 3 1 Diskette M3 LS DOS 6 3 1 Diskette M4 RSHARD R S HD driver LB Data Manager 2 3 DED 86 Disk Memory sector editor RATFOR 86 HartFORTH 86 SAID 86 Text Editor Super Utility PC TRSCROSS transfer lt gt Mod II1 4 FM 86 File Manager Lair of the Dragon MSDOS Software Indicates Cioseout Med IIl Mod 4 P 50 310 n a P 12 244 P 12 244 P 20 010 n a L 32 200 L 32 210 H MM M 30 033 M 31 033 L 35 211 L 35 212 M 02 231 L 35 204 L 35 205 M 30 053 M 31 053 M 20 082 M 21 082 M 20 072 M 21 072 L 32 053 n a ma M 33 100 Wa M 33 200 va M 33 300 ma M 12 110 M 20 071 M 21 071 M 10 133 ma M 10 333 same ma M 1 1 043 M 11 002 L 30 020 L 30 021 na L 35 281 na L 32 150 M 20 064 M 21 064 va M 5 1 028 M 20 083 M 21 083 P 32 21 n a P 32 220 n a P 50 200 P 50 200 P 50 003 P 50 004 P 50 100 P 50 100 P 50 142 P 50 142 na M 51 025 na M 51 225 L 51 500 n a M 21 073 P 32 132 P 32 104 P 12 113 P 12 113 L 21 010 L 21 011 va L 60 020 P 32 203 P 32 245 same M 30 054 L 32 070 na M 12 X10 M 86 510 M 86 020 M 86 073 M 86 071 M 86 040 P 86 407 P 86 212 L 86 050 M 86 021 15 00 D 5 00 10 00 B 50 00 D 15 00 B 5 00 10 00 D 15 00
123. rs Ichose toimplementin LB the priority use of line drawing This means that a line being drawn through acharacter string will replace any ASCII characters with line drawing characters Also ASCII characters provide no line drawing com ponents This is the same concept in TRS 80 block graphics when displaying both graphics characters and ASCII text char acters on the same screen The completed algorithm simply exam ines the four cells adjacent to the current one temporarily accumulating the proper codes for the four adjacent components if they are present BV for above LH for right TV for below and RH for left It does this by sequentially searching a char acter to code conversion table using each of the four adjacent cells in turn Any character not in the table provides a zero result The algorithm then adds the proper component based on the direction of move ment By constructing acode to character conversion table with all possible sixteen binary values the line draw character can be extracted simply by using the code as an index value Actually the table has seventeen values since azero value should imply no component i e display a SPACE Note that since initial move ment would accumulate no components from adjacent cells itisimportant to have codes of only a single component produce THE MISOSYS QUARTERLY Winter 1992 93 a character of two components For ex ample an initial movement to the right from
124. rs on the keypad not on an auxiliary cursor pad as found on 101 key keyboards The ON KEY statements will invoke the subroutines only when the corresponding key is pressed The line numbered 100 will be continuously executed until a trapped key action is detected lt F2 gt stops this program Each of the four direction movement ac tions call subroutine 150 first This is the part of the algorithm which examines the four adjacent cells and accumulates a temporary code value based on the adja centcells participating components Each direction of movement code block then adds the proper component and calculates the new cursor position all based on a valid movement Finally they each call a common subroutine to index the correct Character for the cell and display the char acter The cursor position is then updated Note that the direction movement DOWN introduces a spurious repetition of the character from which the cursor was just moved at leastitdoes on my system This does not appear to be a bug in the program For some reason moving down seems to draw two characters The same conceptcan be applied to single line line drawing characters In fact it should be possible to handle a misture of both single and dual line characters and junctures by using encoding bits of 4 8 and larger conversion tables I explored adapting the algorithm to the TRS 80 Model 4 environment however a few snags reveal themselves A close e
125. run quite reliably and thanks to you Roy they still run efficiently Roy if you de cide to distribute on an annual basis I m interested f Thanks again for helping to keep us going for as long as you have I try to do as little program development as I can It inter feres with my other writing and life is too short to do all the things that I want to do as it is Letters to MISOSYS Letters to MISOSYS Volume VILi THE MISOSYS QUARTERLY Winter 1992 93 Volume VILi Inside TMQ yy see yx IBM PC Line Drawing by Roy Soltoff During the development of version 2 3 of the LB Database Manager I wanted to provide the operator with thecapability of drawing lines and boxes in the view screen To do this two hurdles had to be over come The first hurdle was a means to support a 256 byte character set this was related to the internal design of LB which Pil touch on briefly here The second hurdle was the development of an algo rithm for easily drawing lines and boxes LB was originally developed jointly for the TRS 80 and MS DOS operating envi ronments and released back in 1985 by Logical Systems The beginning stages of planning and development were probably done in 1983 LSI originally was working on developing an MS DOS only relational database system which internally was called Big Brother BB That proposed product was noted in their LSI Journal of April 1984 BB w
126. s scssseeasees 40 List of Advertisors MISOSYS Inc IFC 42 54 Pacific Computer Exchange 22 TRSTimes magazine 14 40 b List of Patches in this Issue LB8230A FIX For LB8 CMD 38230B FIX For LB8 CMD HDPACK3 FIX For HDPACK The Blurb The Blurb Volume VILi THE MISOSYS QUARTERLY Winter 1992 93 Volume VILi EET TMQ Appearance Just when you wereready toacceptTMQ s appearance here I ve gone and changed it again As subscription levels continue to shrink and as I ve gotten terribly dis mayed at having to throw out all the extra copies of previous issues I have moved total control of TMQ s publication in house TMQ is now being printed on our in house copier It is also being bound in our new GBC thermal binding machine In this way I can control the duplication of copies toexactly whatis needed There s no more waste of an excessive print run winding up in the landfill Ialso will no longer be making back issues of TMQ available however I will be making re prints of articles available There will soon be a complete index of TMQ content available The index will list the number of pages included in each re print a standard fee per page will pre vail This index will be available in three forms A bound printed copy fee to be determined e An LB Database file set on floppy disk fee to be deter mined e AnLB Database file set avail able for download from our
127. s 21H but contains acolumn of an image instead of a row anda 24H type for an RLE encoded column In order to finish the job we should patch the system loader in L S DOS to recog nize these new load module types Then add load modules for control pur poses switching video modes and imag ine what would be possible complete animated slide shows could be stored in a single CMD file HiRes images belong ing to a program would be loaded auto matically by running the program Any program would be able to loadan image or start an animation by executing a DOS command like SYSTEM LOAD MOVIE LMG in BASIC There may be technical reasons why this concept may not be feasible butif anyone is looking fora programming project why don t you give this idea a try Us XENO RADIO SHACK TANDY OWNERS Find the computer equipment that TANDY no longer sells PACIFIC COMPUTER EXCHANGE buys and sells used TANDY TRSDOS XENIX MSDOS COMPUTERS amp PERIPHERALS We sall everything from Model 3 s and 4 s to Tandy 6000 s 1000 s to 5000 s Laptops and ali the printers and hard disks to go with them If we don t have it in stock we will do our best to find it for you We have the largest data base of used Radio Shack equipment to draw from All equipment comes with warranty PACIFIC COMPUTER EXCHANGE The One Source For Used Tandy Computers 1031 S E Mill Suite B Portland Oregon 97214 503 236 2949 Insi
128. s is necessary when produc The BASIC Answer is a text pre processing utility that allows 109 very large programs programmers to generate program code in a struc tured manner Source code is created with your text editor TBA is then used to process this source code Into ordinary interpretive BASIC coda that uses a minimum of memory TBAutillzes labels in lieu ofline numbers supports variable names to 14 significant characters allows the use of pseudo Global and Local variables local variables retain their value only in a unique subroutine and introduces the concept of Conditional Translation This last feature allows co existence of machine dependent or other variable code within the sama program source with the irrelevent sections Ignored when processing the source to executable code Extensions supported include the arith macro to perform binary arithmetic operations read and print macros for short form READ and PRINT and support of any valid FORTRAN expression for switch and case operands This package includes the language translator a batch file to automate compilation a language Reference Manual an instal lation Manual application programs in source code on disk and our LED text editor for source code preparation FE TT EEE PEI 43 QM is an educational question and answer program that can also be used as a game It displays a question and four possible answers and scores the operator s r
129. seller of products pur MISOSYS has a limited supply of re chased from Ingram Micro thus wehave placementpower suppliesfor Modellllor DISK NOTES 7 1 access to a huge array of MS DOS prod 4 computers The Astec AC8151 01 40 ucts So if you are looking for some hard watt supply provides 5V 2 5A Pee y2rcorsoftwareto go with your MS DOS 12V 2 0A and 12V 0 1A It ssizeis Each issue of The MISOSYS Quarterly contains program listings patch listings and other references to files we have placed onto a disk Where feasible the text accompanying an article is also on DISK NOTES DISK NOTES 7 1 corre sponds to this issue of TMQ The disk is formatted usually for TRS 80 LDOS LS DOS usersat40D1 that s40 tracks double density one sided MS DOS users can request a 5 25 360K disk If you want to obtain the fixes and the listings you may conveniently purchase a copy of DISK NOTES priced at 10 Plus S amp H The S amp H charges are 2 for US Canada and Mexico 3 elsewhere DOS Manuals Don t forget that with our LDOS amp LS DOS BASIC Reference Manual whichcovers the interpreter BASIC which is bundled with LDOS 5 3 1 even the ROM BASIC portion the interpreter BASIC which is bundled with LS DOS 6 3 1 and both Model Y III mode and Model 4 mode EnhComp compiler BA SIC you can purchase the disk version of EnhComp for 23 98 plus 1 50 S amp H when purchased along witha BASIC Ref erence Manual or t
130. skDISKs Then RESMODA CL is called which clears mod flags on all partitions and executes DOFILE JCL The CLRMOD CMD pro gram I use to clear the flags is a public domain program I acquired somewhere CompuServe Because I don t have the source code or the author s name I de cided not to include the file If you need such a program look around on BBS s or CompuServe If you happen to own Logi cal System s FM program you can use FM d mod cm where d is the drive number to do the job I would suggest keeping two sets of full backups so that you have latest full back Inside TMQ 40 Inside TMQ Volume VILi ups and next to latest full backups I would keep all the modified file backups made between these two full backups until the next full backup For example following this system you would have Full backup made Dec 10 1991 modified file backups made between Dec 10 1991 and June 10 1992 full backups made June 10 1992 modified backups made since June 10 Now any file created for over 6 months will be available if you did enough modified backups If necessary keep backups for a longer period of time Now you may have noticed a couple of things about my JCL files First they are split into two parts This is because I use the include JCL command to execute DOFILE JCL created by ParmDir include actually inserts a copy of another file in place of the
131. t is automatically formatted AFM contains numerous HELP screens which canbe invoked at the touch of a key The help screens are user controllable and user definable you may set up your own help screens for a particular application if you wishl It is very easy to set something up for people who don t use the system all the time Output of AFR is fully sorted by all fields and is fully relational We can t imagine ANY report that cannot be performed by AFR fYou can field your data each with different field lengths FORM LETTER output of AFM will allow you to write documents and have the data filled in automatically by AFR RELATIONAL LOOKUP report allows multiple passes through the database while generating reports You can utilize information g from ALL NINE drawers in the same report the extended 256K of XLR8er board memory The RAM disk driver can create a RAM disk of from 2to 27 banks however only 10n are supported through XLR2RAM The VIDX expands scroll 88 protect from 0 to 15 lines rather than just 3 supports reverse video and supports the DSP of character codes from 0 31 and MAIL labels etc are a cinch with AFR s lt T gt ext option which allows lected field output without fielding the information before hand Forms filter parameters include Word Wrap Page Numbering Headers and Vertical Justification 4 TRSDOS 6 operating system all versions TRS 80 Software and Hardware from MISO
132. t video screen in high memory Model 4 Utilities LS Utility Disk Filters and Utilities for DOS 6 x y PRCODES gives control of boldface and underlining TRAP discards any user defined character MAXLATEis a translation filter system for VO devices Does 1 1 or many indudes EBCDIC and DVORAK tables FORTH Compiler Cornsoft s arcade type games MISOSYS has licensed the action games previously published by The Cornsoft Group Frogger Scarfman Bouncezoids Crazy Painter and Space Castle are exceptional action games with great video and Alpha joystick support even the MISOSYS HD joystick All games are for Model IIIA or 4 in ill mode All five games are included on a single disk Requires a DOS disk HartFORTH HanFORTH is a full FORTH that conforms to the 79 STAN DARD The Model lil version is an indirect threaded version the DOS 6 version is a direct threaded implemen tation providing greater execution spead of 10 40 depending on the details of the actual program The kernal contains some additional useful words and utilities which tum HartFORTH into a full fledged development system HartFORTH Is designed to run under an operating system TRS 80 Mod I amp III GAMES which is totally transparent to the programmer or user The virtual Memory that it accesses for storage and retrieval purposes is a normal DOS file that is requested by the FORTH system when it is first entered HarfFORTH supp
133. terEd is a program package separate from PRO WAM From time to time MISOSYS has bundled the two together for a promotion This combination was available and advertised at a special price in the last issue of TMQ As far as TED is concerned the PRO WAM article said that the LS DOS 6 3 TED CMD editor was derived from TED APP Since you have TED CMD with your LS DOS you know exactly what its capabilities are TED APP omits the print command since the application is ex tremely tightly written and has no memory available for additional commands Thus TED APP accepts ASCH files in fact only ASCI files uses adefault extension of IXT allows transfer of files be cause being a PRO WAM application you can pop up the PRO WAM library executive to perform DOS library com mands And just as TED CMD operates TED APP allows files to be concatenated PRCTL as well as CTL255 are both part of the Wammies Application Disk The price for this disk was published on page 5 of the TMQ youreferenced see the PRO WAM Special in column three The disk was and is 10 2 S amp H Now why can t LDOS 5 3 do a CAT Well itcan The CAT command is simply an automatic invocation of DIR with the A N parameter Fortunately for LS DOS the command interpreter overlay SYS1 SYS has room sufficient for a larger command table It s overlay region extends from 1EOOH to 23FFH a full 1 5K In LDOS the overlay region ex tends from
134. th Model I and Model III LDOS support similar vx Both Model I and Model III support similar com ee erase eae commands DOS commands are virtually similar to mands all features of Model III 5 3 0 are in Model I Model 4 LS DOS 6 3 1 syntax where possible 5 3 1 That includes such facilities as DOS and BASIC A help files SETCOM and FORMS library commands The DATE ove ten Date prompt on boot and TED text editor BASIC enhancements etc All DOS vt 1980 SES December 31 gt R Pte m TA the Model I and Model II are 02 Versions of ek 6 3 1 for the Model 4 and Modef 12 are available aJob Control PESE file maybe activeon either of Model 4 French and German versions are also avail the swapped drives able specify 6 3 1 F or 6 3 1 D Some Model I 5 3 1 The TED text editor has commands to print the features require lower case or DDEN adaptor entire text buffer or the contents of the first block encountered Obtain directories from TED too Have extended memory known to the DOS The SPOOL command now permits the BANK parameter entry to range from 0 30 instead of 0 7 Alter the logical record length of a file with RESET filespec LRL n Specify RESET filespec DATE OFF to restore a file s directory entry to the old style dating of pre 6 3 release Specify RESET filespec DATE ON to es tablish a file s directory date as that of the current DOS and BASIC system date and time Refere
135. the clumps using one of those small hand held vacuums If the problem is with the toner throughout the developer unit all of the toner will have to be removed and the unit cleaned up Since I did not have to go that route I won t explain that here I was able to remove the clumped toner just by vacuuming away the surface clumping Once that was done and the normal areas cleaned my machine performed nearly as good as new Now a laser printer is quite similar in operation to acopying machine A charge is placed on a drum which rotates and attracts toner a sheet of paper traverses the drum transferring the image to the paper The paper is then passed through a heater which fuses the toner to the paper Notall of the toner whichcomes in contact with the drum is used for the image some is wasted only the toner which adheres to the charge on the surface of the drum is used When it comes to the wasted toner there are two classical methods to deal with the waste One method is to recycle the waste toner back into the supply toner The other is to catch the wasted toner into a bag or bottle to be subsequently discarded I had a Minolta copier which recycled its toner thus there was never any need to discard a toner bag I also have had and still have two Toshiba copiers which maintain a receptacle for accumulating the wasted toner When the bag becomes filled a warning light appears which ren ders the machine inoperative I
136. the source disk hard drive partition and determines which files to copy It will not copy any file too large for the floppy nor any SYS invisible empty or pass word protected files 3 It sorts the files to be copied in de scending order by size and in ascend ing order alphabetically by file name within size Size in this case means the number of 6 sector gran ules of floppy disk space 4 Foreach floppy in tur itgoes through the sorted list of files and selects a set of files which most efficiently fills the floppy s unallocated free space 5 The selected files are then copied from hard drive to floppy and re moved from the sorted list go to Step 3 above until all files are copied Assuming the source disk contains files with a fairly broad range of file sizes and or lots of small files SMALARCH will virtually always create floppy archive disks with zero free space In my own experi ence I have never seen SMALARCH leave a single granule of wasted disk space on a target floppy However the theoretical worst case is if every file to be copied is larger than half the size of the target floppy In this case SMALARCH would write one file per floppy and waste just as much disk space as F BACKUP would To give youan ideaofhow SMALARCH s BEST_FIT algorithm thinks one of the tests I ran consisted of a set of 25 files 5 each of 78 sectors 13 floppy grans 5 each of 210 sectors 35 grans
137. tor H A hardware real time clock RTC LED status lights and 50 pin SCSI female connector Optional Joy stick port with joystick Includes software for one DOS Model Ill or 4 and 4 foot host cable 20 Meg drive kit ST225 complete 40 Meg drive kit ST251 1 complete Aerocomp Hard Drives Genuine FCC certified EZU5PL3000 Asrocomp drives are now available from MISOSYS These are new and complete units ready to run The external hard drives are FCC Class B certified They include continuous duty switching power supplies filtered forced air ventilation effective EMI filtration and solid steel construction Five front panel lights indicate power ready read write and select Drivers available for Montezuma Micro CP M LDOS or LS DOS Comes complete with 4 foot host cabie Asrocomp 5 Meg drive Hard drive Aerocomp 20 Meg drive Hard drive Aerocomp 40 Meg drive Hard drive Component Piece Parts Seagate ST225 5 25 20M drive 65ms Seagate ST251 1 5 25 40M drive 28ms MISOSYS SCSI H A with software Xebec 1421 Hard Disk Controller Adaptec 4010 Hard Disk Controller power Y cable XT drive cable set 20P HDR EDC 34P HDR EDC Model I Double Density Controller Double Density Controller DDC 80 more disk capacity is what you getwhen you add Aerocomp s DDC to your TRS 80 Model This controller has withstood the test of time All the others are gone yet the DDC endures Why Because it has proven itsel
138. und useful about the Seagate presentation was the ability to talk directly to a Seagate technician Some of you who read between the lines may have noticed quite some time ago that I was working on a hard disk driver to use my host adaptor with SCSI drives The MISOSYS host adaptor currently being sold was designed for the SASI SCSI in terface but usea supply of SCSI to MFM hard disk controllers the Xebec 1421 and Adaptec 4010 to utilize MFM drives I had purchased a Seagate ST157N SCSI I drive to aid in developing a driver Unfortunately I could never get the driver to work the drive properly Last Spring I poured on the time to fully understand why the driver would not work My research disclosed that the driver was able to operate the drive perfectly using a sector size of 512 bytes But that sector size is not useful for TRS 80 users Phone calls to Seagate s technical support fol lowed up by letters detailing the problem led to noresponse Until I nailed that tech Meeting eyeball to eyeball solved the problem It appears that the Seagate SCSI Interface Manual left out one vital piece of informa tion In the Format Unit command there is a data bit FMT DATA which if set indicates that a list of defective areas on the disk will be passed to the controller a zero indicates that the data out phase of the command will not occur and no defect data will be supplied to the drive Such a list was notnormally used on
139. ve to perform is to move a single database file written in TRSDOS BASIC onto aMS DOS format and finally into a DBASE DBF Clipper file structure Any other hints you may have would be gratefully received THE MISOSYS QUARTERLY Winter 92 93 Fm MISOSYS Inc Okay one thing is our TRSCROSS file conversion utility for MS DOS It reads TRS80 Model IH and 4 files directly on your PC If your Model 4 database in BASIC is using afixedrecord length file i e fielded records then an additional solution is to use the LBCONV database conversion utility which is bundled with our LB86 Data Manager It can convert a fixed record length fielded file to LB format then LB format can be converted using LBCONV again to dBASE II format LB86 is 99 S amp H A bit much for just the LBCONV utility You may find a PC NATGUG member in the UK with a copy of LB86 who may be able to do that conversion once the file s is are moved to MS DOS PRO WAM Use Fm JPJ PRO WAM was received and installed I use five Model 4 s only two with hard disks Due to lack of floppy space Imade a PRO WAM application disk that can then be removed since APL s are in bank memory for that appli cation I first used a JCL file to install PRO WAM and copy the proper WAMx APL to WAMO APL APL number on the command line would be helpful But I had trouble remembering the defaults So I created PROWAMx CMD files from the original PROWAM CMD but
140. vehicle Power comes from a one cylinder 1 7 horse power engine Top speed is a scant 12 mph However options include such crea ture comforts as an AM FM Stereo cas sette radio as well as a 3 3 inch TV There s something to keep you occupied while you avoid being run over on the freeway Then again some of the roads here in the D C area run at less than 12 MPH during rush hour an oxymoron if ever I saw one Talking about driving there s been a lot of recent developments in the drive busi ness disk that is Toshiba introduced a 3 5 hard drive with 1 2 gigabytes of capacity List priced at 2395 the MK 538FB includes a SCSI 2 controller and Consumes only 10 watts IBM on the other hand which is strug gling to Stay at the top of the heap in the computer marketplace introduced a 2 gigabyte 3 5 hard drive It is also bun dling two of these drives together into a 5 25 frame to offer 4 gigs of storage That s known as the Allicat package _ Coming down in size Aura s 1 8 126 megabyte 19 ms drive should be in pro duction soon These drives use the PCMCIA standard interface an interface currently seeing a lot of action Seagate also has a new series of 1 8 drives with 40 65 and 80 megabyte ca pacities The 65 megger consumes only 1 3 watts inread write mode 0 13 watts in standby and a scant 0 09 watts in sleep mode Now why aren t hard drives usable on the TRS 80 coming down in price That
141. vers our compiler BASIC you can purchase the disk version of EnhComp for 23 98 plus 1 50 S amp H when purchased along with a BASIC Reference Manual or the disk version by itself for 29 98 plus 3 S amp H if purchased separately flexibility Let LB Data Manager solve your data storage problems LB Version 2 3 Modern up to date features provide this newest release of our Flat File Data Manager with a greater degree of and an increased level of ease of use LB still provides solutely no userprogramming strong data base capabilities with NOW WITH COLOR SUPPORT FOR PC USERS We ve added many features asked for over the past few years by LB users yet LB is still about the easiest most flexible data manager you can use for managing your data Absolutely no programming is needed to create adatabase with up to sixty four fields construct input screens for adding viewing and editing data and create your own customized report Quickly you define your data fields in response to LB s prompts and then draw your data input screen using simple keystrokes or have LB automatically create your input screen In no time at all you re entering data Customize your printed reports with user definable print screen definitions Or use LB s define print autogen module to automatically create Table or Form reports or over a dozen different address label configurations including a Rolodex card and a 3 by 5 index card LB is just what
142. with the proper defaults for each application x now runs from 1 to 5 I then used FED APL to change WAMO APL to WAMx APL on each PROWAMx CMD file Record 19 A JCL copy attached in stalls the proper application then I can remove the disk and insert the data disk I thought that others may want to try this Volume VILi INITPW jcl for PRO WAM on Pro Wam applications disk 09 21 92 All use lt ctrl gt P except LeScript per LS manual p C 2 Use PROWAM R to remove any version will need this disk Note PRO WAM applications disk can be removed except for F3 universal Enter 1 for Original 2 for LeScript 3 for Mr Ed Editing 4 for Telecom 5 for Assembly SEYIN 1 PROWAM This is application NUMBER 1 but uses WAMO apl There are no Help nor PW function cards so use Manual EXIT 2 PROWAM2 A 170 This is application NUMBER 2 and uses WAM2 api Card 2 gives Help 9 gives PW functions for ALL applications Remove PROWAM disk and insert data disk WHEN PROMPTED PAUSE Hit Enter DO INIT2 EXIT 13 PROWAM3 This is application NUMBER 3 and uses WAM3 apl Card 3 gives Help 9 gives PW functions for ALL applications Can de activate and re activate by PROWAM3 is on LS DOS disk EXIT 14 PROWAM4 will be installed by INIT4 jcl if wanted DO INIT4 EXIT 5 PROWAMS This is application NUMBER 5 and uses WAM5 APL Card 5 gives Help 9 gives PW fu
143. xamination of the PC line drawing char acter set will reveal that true T junctures exist as character values both in the verti cal and horizontal directions In the TRS 80 line drawing must use graphics char acters which are fabricated in a 2 by 3 H V cell matrix Thus you have true T junctures as graphic characters only in the horizontal direction For example aright T can be displayed with character value 157D and a left T with character value 174 As a further drawback the block graphics cell is developed using an under lying image only 10 dots in height The cell is divided up into blocks of 4 4 and 2 dots thus the graphics blocks are not of equal height One could use this algorithm by maintain ing an array of values equivalentto that for the PC and convert to available displayable characters That is left as an exercise Now if someone has an answer as to the access of keystrokes in MS DOS BASICs using ON KEY I would be interested in secing it AMORTI Inside TMQ Inside TMQ Volume VILi THE MISOSYS QUARTERLY Winter 1992 93 Volume VILi Inside TMQ 21 Inside TMQ Volume VILi THE MISOSYS QUARTERLY Winter 1992 93 Volume VILi Extending CHR When I was working on the Monosave program I discovered that the CHR for mat was capable of storing images that use the full 32k RAM of hires memory by ignoring the limit of 80 bytes per line just as the SHR format does Monosav
144. you need in a data manager We even have many database templates available for download on our Compuserve forum Data capacity per database LB supports up to 65 534 records per data base 1 024 characters 64 fields per record and up to 254 characters per field Field types supported LB allows ten field types for flexibility alphabetic A Z a z calculated operations on numeric fields using with 2 level of parentheses date last modified YYYY MM DD auto matically maintained dollar dddddddd dd floating point dddddddd dddddddd literal any ASCII character numeric 0 9 right justified numeric upper case alphabetic A Z automatic conversion of a z and upper case literal literal with automatic conversion of a z All field types utilize input editing verification so invalid data cannot be added toa record Field name strings can be up to 19 characters long Data entry and editing LB allows you to design up to ten different add update view screens to provide extreme flexibility for selectively viewing your database fields You can customize the appearance of any view screen by a simple drawing process or use LB s built in autogen capability View screen definition even provides an intelligent line drawing mode so you can create lines and boxes to enhance the appearance of your screen image If your computer supports a color video adaptor each view screen can be configured to a d

Download Pdf Manuals

image

Related Search

Related Contents

浴室換気乾燥暖房機  pour une meilleure efficacité énergétique…  Server Management: System Administration  XARTU1 Manual 2012 - Categories On Equipment Controls Co.  BLANCO CLASSIC-BOX  Electronics Projects  取扱説明書 レンジフード  Dokument 1 - Dokumentenserverhosting der SUB  

Copyright © All rights reserved.
Failed to retrieve file