Home
TABLE OF CONTENTS Reader I / O .....................................................
Contents
1. LANGUAGE s Contents include sections on 6 input and output routines Fixed point floating point and Ascii number conversion GUIDE 9 Clocks and timers 9 Built in arithmetic functions 9 Programming hints and sugges tions 9 Many sample programs If you are interested in or are already into machine language programming on the PET then this invaluable guide is for you More than 30 of the PET s built in routines are fully detailed so that the reader can immediately put them to good use Available for 6 95 75 postage Michigan residents please include 4 state sales tax VISA and Mastercharge cards accepted give card number and expiration date Quantity Enter any Upcard to get the Dealer s odds for his possible totals 17 18 19 20 21 amp bust then you get the Player s edge for Standing Hitting Doublingdown Pairsplitting for his 2 card totals 2 to 20 hard amp soft discounts are available a mt sssszesses ABACUS SOFTWARE iiti P O Box 7211 ALL PRODUCTS CAN RUN IN 8K OLD NEW ROMS Send cheque or money order Ont residonts add 7 PST Grand Rapids Michigan 49510 PRODUCT REVIEW COMMODORE WORD PROCESSOR Editor s Note Philip Restagno of Bronx NY sent us the following letter printed on the 2020 printer In order to let you see the quality of the print we have not edited Phil s letter esr Terry
2. FOR OWNERS OF THE COMMODORE PET PERSONAL COMPUTER VOLUME III ISSUE 1 AN ARESCO PUBLICATION FEBRUARY 1980 2 00 TABLE OF CONTENTS Reader TD dau am eee rea E ee RAS icon PET User ETOUPS suse sa AED ala ata al dear Speeding Up The Print Statements Doug Hennigs isisa TES Product Mini report 4 42 deres S KA Wd A Marjorie McKensie 6 Flosgtinge Porn Numbers sico Fs oo aus Arnie Login Y Product Review Commodore WPP 2020 deti EUR Restagno 10 Product Review Time Treks raso Hoy BusdleckePiaassi BRINONUIS omn a 16K Briana ww MANS SUNETs enni PS Ne pud New Product Announcement Datestones of RYN ooooooo omo 1 5 In Defense Of PlMS iso 06 ia on case Eran TUFCO veces aged Modifications For EIMS deos calhrig Kalmbach 18 HIMONDIS amp ROM TEST Revisited Wayne SUME vx ers AY OBSERVATIONS On Volume II Issue 7 Roy Busdiecker 22 Better LISTasswewewsruvss veretseeeest as Pan PUDCCO ss c sees ADVERTISERS Abacus Software ern n 9 Riley Enterprises a wk Aidcom Software csccccssse 9 Harry H Brllege 4 ou eL Micro Software Systems 16 PET Proa rca scr AO PEUTED sawneak 64 eT md ARESCO PoblicationS 20 dl FOR YOUR GENERAL INFORMATION THE PAPER is published ten times per year by ARESCO Inc at 6203 Golden Hook Columbia MD 21044 Telephone 301 730 p 5186 THE PAPER is mailed to subscribers during the last week of each m
3. Add Change Change Change Change Delete Delete 80 90 242 244 246 250 260 472 480 482 484 990 1260 1675 2065 2260 2370 2540 2630 3430 3440 Delete this line Not used on the PET Delete this line Not used on the PET IF 410 THEN 250 Takes the place of PRINT 1 PRINT USING for GOTO 260 formatting PRINT 31 One space between quotes PRINT BK The backspace character IF I 10 THEN 484 Takes care of screen PRINT I fj N 1 formatting GOTO 490 One space betweeen first PRINT 1 N I quotes on line 484 T N T CHR 126 Corrects field display GOTO 540 Lete you back into command solicit mode mae No space between quotes FOR Z 1 TO sel Keeps garbage out NEXT Z The zero in quotes should be an alphabetic 0 Remove the command GOSUB GOTO 540 Returns control to command solicit even if there is no rubout Add a semi colon between the last quotation mark and N y Delete this line Not used on the PET Delete this line Not used on the PET The rest of the necessary changes are on page 73 of the PIMS manual 18 HIMONDIS amp ROM TEST REVISITED by Wayne Sung l HIMONDIS I did not have any instructions for using HIMONDIS and so I have always called the disassembler as a separate subroutine entering at 3FE4 16k vers In trying to redo the package for printer use imagine my surprise to find a D command available all along I was a little apologetic to say the least This als
4. Or do R and correct it yourself It is not possible to put the proper characters in your name string so that everything comes out OK The E6 requires a reverse field checkerboard and as we all know reverse field inside quotes takes at least two positions one to turn reverse field on and the other the character you want Then you have to turn it back off Question why did they do that PROTECT YOUR MICRO EQUIPMENT WITH A POWER PROTECTOR alee POWER PROTECTOR PREVEMTS power zursez amp voltase zeilez 5 TEAR MAPRRNTY 8 P MODEL HOME OFFICE MOTOR CONTROL COMPUTER inzide AYAILAELE XP EX MODEL P M phone ropas Plugs into moduler tape phone peluss 4239 95 HE T MODEL 226 Flus into a ztandarc araunded due dex outlet erovidina T TR outlets for six individual A eS RH c ee 35 T Ex MODERN CAT PET that s risht PET APPLE TRS 4 rea 192 1 limited 175 06 E De NE ER VISA DEALERS WELCOME FHAOHE ORDERS 1 414 282 4181 Source TORES D ADD 2 50 for handling hireina SALES TAM dicHisconsin Residents Onla kx ER PETTEI P O Eos 21851 Milwaukee Wisconsin E3221 RE ME cc Programs eBusiness Research 50 AE z377 Home amp Small Business 15 40 H eGames amp Simulations 15ea eEducation HS Pack 15 Send for complete catalog Riley Enterprises announces TOP Quality Vinyl Cassette Holders 12 Capacity in Black or Brown 2 80 16 Capacity in Blk Org or Li
5. 39 95 ____ BASIC COMPLEAT 29 95 BAZAAR 7595 understand that if any of the programs fail to load THE PAPER will send me a replacement as soon as return the defective tape NAME Please print or type ADDRESS Street not P O Box CHIN 6 28 m a eee Ar E KE MM m e SATE ZIP Please charge my MC VISA BAC Master Charge Interbank Exp Date Required Credit Card Signature Vol 1 1978 Vol II 1979 Vol 111 1980 No facilities are available for billing or for C O D delivery Orders submitted without payment will be returned Sorry folks but nearly 1 10th of the subscribers we have so far asked for billing and haven t paid up If everyone paid in a timely fashion we might be able to reduce the subscription price THE PAPER PO BOX 1142 Columbia MD 21044 27 IS YOUR COMPUTER SAVING YOU S IHEMONEY IT WASMEANTTO HOW MUCH ENERGY IS YOUR HOUSE REALLY USING PLUG YOUR HOUSE INTO YOUR COMPUTER AND SEE WHAT S HAPPENING YOUR COMPUTER CAN LISTEN TO YOUR HOUSE 24 HOURS A DAY Our DAM SYSTEMS modules give your computer the ability to sense and measure the world around it Our AIM16 provides 16 channels of analog input Connect pots joysticks or whatever appropriate Sensors you have Each of the 16 analog inputs in the range of O to 5 12 volts is converted to a decimal number be tween O and 255 20 millivolts per count Conver pu s o ac sion time is 100 microse
6. Club 96 Paul W Sparks 13 Lincoln Dr Gales Ferry Ct 06335 203 464 6266 South Florida PUG Dave Young 7170 SW 11th St W Hollywood FL 33023 305 987 6982 PET User Group 2235 Lakeshore Drive Muskegon MI 49441 PET USERS St Louis PET Users Mary Perkinson 314 432 5225 Northern VA PET Users 2054 Eakins Ct Reston VA 22091 Shelly Wernikoff 2731 N Milwaukee Ave Chicago IL 60647 SPHINX 415 451 6364 Vancouver PET User Group Box 35353 Station E Vancouver BC Canada Lincoln Computer Club 750 E Yosemite Manteca Ca 95336 PET NET I 14 24 MHz Sundays 10 00 A M Central time PET NET II 7 205 MHz Fridays 9 00 A M Pacific time PACS PET USER GROUP 20th amp Olney Street Phila PA PET LIBRARY 401 Monument Rd No 177 Jacksonville FLA 32211 North London Hobby Computer Club Press Release The Polytechnic of North London Department of Electronic and Communications Engineering Holloway London N78DB San Diego PUG c o D Costarakis 3562 Union St San Diego CA 92103 714 235 7626 7 am 4 pm c o MICH Michigan Computer Hackers Independent PET Group 22 Firs Walk Tewin Wood Welsyn Herts UK PET Users Group 2001 Bryan Tower Suite 3800 Dallas TX 75201 Capital District PET Users Ben Green 518 370 1820 PET Users of Japan Soichiro Moridaira Shinsen Park Himu Rm 150 4 13 Shensencho Shibuyaku Tokyo Japan 150 David Liem 14361 Warwick Street Detr
7. like to see programs with line by line explanations for any odd routines Also please do not publish incorrect programs and listings It is most annoying for us dummies to have to wait for the corrections in the next issue to find out what is going on For example line 40 page 7 should be POKE 32768 i i Even I know that I think you should have caught this Name withheld on request NWOR Commodore dealers should have copies of two books that can provide you with the info you need on machine language pro gramming The first one is the PET User Manual and the infor mation you want begins on page 91 The second is called simply 6502 Programming Manual and gives you all the instruction codes and their mnemonics as well as a lot of other good stuff In BASIC the PEEK command looks at specific memory locations and the POKE command puts data into those locations Frequently the programmer stores that data in DATA statements then uses FOR NEXT loops to read the data from the DATA statement and POKE it into memory As for my errors I have to admit you re right I should have caught it and I apologize Terry Terry Does anyone manufacturer a dual D A converter which would plug into the IEEE port as well as the user port and 2nd cassette interface for power It could be used to draw on a storage oscilloscope or to make stereo music Arnie Lee wrote a short note about clocks and timers Is there some way to use the microsecond
8. much handier to use a trick that is presented in the PET User Notes Volume 1 issue 3 by Warren D Swan It uses POKE 59409 52 to turn off the screen and POKE 59409 60 to turn the screen back on There is no dis cernible loss in speed with this method and it gives the ef fect of instant screen write To demonstrate this make the following changes to the program 65 POKE 59409 52 75 POKE 59409 60 Even though the POKE statements are included in the timing I still get 110 jiffies and of course no snow I don t know how or why this works Anyone care to offer an explanation Also I never checked to see if this affects use of the cassette or any other 1 0 functions such as is noted when using CB 2 sound In the above program C is clear screen and D is cursor down MINI PRODUCT REPORT PRODUCT MINI REPORT Marjorie McKensie The Channel Data System we purchased last March No updates have been received no response to our correspondence PIMS works using floppy instead of cassette Don t think it was too hard will send live changes if anyone wishes Maybe they ll send an interesting routine in return Also about a month ago wrote Textcast asking if their program works with floppy amp printer So far no response 6 FLOATING POINT NUMBERS Reprinted by courtesy of ABACUS Software By Arnie Lee Floating point variables may assume fractional as well as integer values They are useful because they
9. the EADR is equal to or exceeded during the listing The stop key is able to terminate listing For listing on the screen omit the EADR G 3FE4 SADR is sufficient This will produce the normal full screen listing with a break at the bottom of the screen This can still be restarted with a G only The printer is enabled in BASIC direct by OPEN 4 4 and CMD 4 It is deselected with PRINT 4 and CLOSE 4 The close isn t necessary until the entire program is complete Note that even for the screen print option if the printer is still activated it will print and break just as the screen print would This doesn t hurt anything except the looks of the listing Add the following code 3DC7 STX 44 store address low returned 3DC9 LDA FC retrieve address high returned 3DCB STA 45 store address high 3DCD JSR FFCF read next byte 3DD0 CMP 0D LS xt a ER 3DD2 BNE 3DD7 03 CR assume screen listing 3DD4 JMP 3FF4 3DD7 JSR E7A7 read ending address 3DDA STA FD Store low byte returned 3DDC LDA FC retrieve high byte returned 3DD5 STA FE store high byte 3DE0 SEC 3DE1 LDA FD subtract start or current address 3DE3 SBC 44 from ending address to see if 3DE5 LDA FE program needs to proceed or exit 3DE7 SBC 45 3DE9 BCC 3DFD 12 if SA exceeds EA then exit 3DEB JSR F301 test for stop key 3DEE BEQ 3DFD 0D Stop key exit 3DF0 JSR 3E12 print next line of disassembly 3DF3 JSR 3EEF modify address locations 3DF6 STA 44 stor
10. the sign bit for the number Thus the fraction has an assumed most significant bit A zero sign bit indicates a positive floating point number while a one sign bit indicates a negative floating point number The example below shows how you may derive the representation for a floating point number PROBLEM What is the floating point representation 29 for 100049 5 1000 o7 0000 0011 1110 1000 X 03E8 radix radix 2 Shifting the radix point ten positions to the left in order to normalize the fraction while raising the ex ponent by a power of 10 gives us 1111 1010 0000 0000 3 2 3 The number is positive so we can set the sign bit to zero 0111 1010 0000 0000 210 4 The exponent is ten but in excess 128 notation the ex ponent is 10 4128 138 100 1010 10 5 Combining the exponent and mantissa we find that the resultant appears as follows 1000 1010 0111 1010 0000 0000 0000 0000 0000 0000 which in hexadecimal form is 8A 7A 00 00 OO 6 A negative value would have a sign bit of one Thus 1000 9 would be represented as 1000 1010 1111 1010 0000 0000 0000 0000 0000 0000 or 8A FA 00 00 00 in hexadecimal 2 Of course PET BASIC carries the precision further than the examples above have shown but the method is the same As stated at the beginning floating point variables may take on an extremely wide range of values By experimenting with BASIC I have found that the range for the PET is PRINT 2112
11. timer plus the jiffy clock to accurately measure a fairly long time interval For example every 1 60 second could one reset the microsecond timer in such a way as to com pensate for any delays in the instruction for resetting Stan Klein Stan Connecticut Microcomputers 203 775 9659 might have the A D converters you re looking for They can be reached at 150 Pocono Road Brookfield CT 06804 I don t know enough about the timers to answer your second question so perhaps one of our readers will be able to help Terry Terry Can you set aside one hour a day to answer questions Tom Lamb Tom Sure But I don t have much in the way of answers We have the old 8K PET with the old 011 ROM set no printer or disk drive But I ll be glad to help if I can and you can reach me at 301 730 5186 Terry Glenn Schwartz 807 Avon Philadelphia PA 19116 John Loofbourrow ACGNJ 201 233 7068 United PET Users 1929 Northport Dr No 6 Madison WI 53704 Twin Cities PET Users John Fung 612 376 5465 John Jones 2134 NE 45th Avenue Portland OR 97213 Sacramento PET Workshop P O Box 28314 Sacramento CA Midpeninsula PUG Ford Aerospace Cafeteria 3939 Fabian Way Palo Alto CA 415 328 7745 Harry Saal BAMUG 1450 53rd Street Emeryville CA David Smith NOCCC 3030 Topaz No A Fullerton CA 92631 NW PET USER S GROUP John F Jones 2134 NE 45th Avenue Portland OR 97213 Southeast Connecticut Pet User
12. written from the general ledger manual written by Osborned for the Wang It s designed to be used by any small business CPAs and account ants CMS Software has also completed an AR AP and Payroll program 3 programs designed for small businesses I m satisfied with my purchases from CMS Also a word of praise for Computer Nook in Pine Brook NJ 1 had problems with my PET and they promptly fixed it I ve had no trouble since In fact I ve enjoyed near perfect operation of both the equipment and the software I thought you should know how pleased I am with all this and that perhaps you d pass the information along to others Paul Zervas Paul Thank you for telling all of us Knowing that there s another reputable vendor of good software will be of value to all PET owners And kudos to Computer Nook Terry Terry 1 think your very fine magazine should be for beginners I for one need help with machine programming on the PET How does one load run and use a machine language program Your November 79 issue had a number of short ML programs but nary a hint on how to use them Using the ML tape provided by Commo dore on the back of the Squiggle tape how to I use these pro grams EXACTLY KEYSTROKE BY KEYSTROKE Maybe this is a problem to others too If this information is in print somewhere please let me know where And you might enlarge the explanation to include the BASIC programs loaded with DATA statements I
13. 0 IDA 14 Only these five changes are needed to make a very compact disassembler program work with the new ROM monitor The first four changes substitute internal routines for ones previously contained in user memory The last change compensates for the fact that the ROM monitor heading is different from the tape monitor heading by one line There appears to be a problem however when this program is used with the printer to produce printed disassembly listings The printer works correctly with normal monitor commands but calling the disassembler results only in several lines with a question mark at the beginning of each one and nothing else The reason turned out to be that the HIMONDIS normally sets up for the starting address by writing two CRs and then calling a double byte read routine to pick up the address With the printer active however the carriage returns are written to the printer not to screen memory and winds up not formatting the read properly Also the fact that a BRK occurs every 21 lines isn t necessary for printing Therefore I made more changes so that both screen and printer listings could be accomodated These changes include both a new body of code and a few changes to the existing code With these changes the call from monitor to disassembler be comes G 3FE4 SADR EADR Be sure no extra spaces are added or an error flag will result i3 This assumes printer output because the program will list until
14. 6 99999995 to PRINT 2T 127 1 70141174 E 38 5 87747176 E 39 FLOATING POINT ARITHMETIC The following descriptions are the fundamental arithmetic operations that PET BASIC performs on its floating point variables The descriptions will allow you to use these routines from a machine language program ADDITION FACC FACC AFAC 1 Place the first operand in the floating point accumulator 2 Insure that the format of the number in the FACC is non true binary The most significant bit of B1 must be off if the number is positive or on if the number is negative The sign bit of B5 must be off if the number is positive and on if the number is negative Place the second operand in the alternate floating point accumulator 4 Insure that the format of the number in the AFAC is non true binary The most significant bit of B9 and the sign bit of BD must be off if the number is positive and on if the number is negative 5 Call subroutine FPADD at D73F The sum is in the FACC SUBTRACTION FACC AFAC FACC Place the subtrahend into the AFAC the minuend into the FACC Insure that the format of both numbers is non true binary Call subroutine FPSUB at D728 The result is in the FACC V NIE MULTIPLICATION FACC AFAC FACC Place the multiplicand into the AFAC the multiplier into the FACC Insure that the format of both numbers is non true binary Call subroutine FPMULT at D900 The result is in the FACC ww ter DIVISION FACC
15. AFAC FACC Place the dividend into the AFAC and the divisor into the FACC Insure that the format of both numbers is non true binary Call subroutine FPDIV at D924 Find the quotient in the FACC OTO EXPONENTIATION FACC AFAC FACC 1 Place the base into the AFAC the exponent into the FACC 2 Insure that the format of both numbers is non true binary 3 Call subroutine FPEXP at DE2E 4 Find the result in the FACC NEXT MONTH ARITHMETIC FUNCTIONS PET MACHINE LANGUAGE GUIDE v eidcom SOFTWARE PO Box 165 Clarkson Postal Station Mississauga Ont L5J 3Y1 Tel 416 823 3237 micro GO 9L 18 95 This is the first microcomputer GO program ever it grophically displays a 9x9 Line grld Prisoners Clock and Move for Black the computer and White human bridge scores 74 95 Enter Board NS Pair f EW Pair Contract Tricks for each board played The programs will display the Score for each hand matchpoint all 32 boards in 1 minute print Pair Totals factored ranked by direction amp overall for 16 Tables and 32 Hand Records Commodore 2022 Printer recommended blackjack odds 98 95 Set up the options to match the rules of any CASINO doubledown on any 2 cards or on totals of 9 10 11 doubledown after pair splitting or no doubledown permitted dealer stands on Soft 17 or on Soft 18 f down card 1 9 decks or no down card surrendor insurance permitted or not permitted MACHINE
16. Basic a few times but I feel it mas be due to a loose ius and lazy zuzan At least I couldn t seem to duplicate a crash other than 3193 le ma machine The Flores haz b and back on what I could only diagnose as Y doina ansthinz en to California mer hesatins Thea 1 A tu tu DN wrote 6582 Ead I II III IV It iz workins now for a week Still sets mighty hot on toe When the waranta is over I mas cut holes inta it Mine onla haz vents on the sides I would like to sell a Lomeuter Mart Sustems FMEL SEK Memora Exeansion Eoard which worked vers nicely on ma Sk PET This lifts an Sk to a full dal amp of it addressable throuh ML onla Fits inside the Pet Plus it in and code yours Truly Philie Restasno 216 Ie Hitt Fl Bronx Nr 104623 REVIEW TIME TREK by Roy Busdiecker What characteristics should a game program have in order to be called good In order to be of lasting value it must have enough variability in the situ aticns it presents and alternatives in actions the player can take so it doesn t get repetitious anc boring To keep interest up there should be some excitement like things continuing to happen whether you do anything or not TIME TREK developed by Brad Templeton and produced by Personal Software P 0 Box 136 Cambridge MA 02138 meets both of those requirements Described as a real time action game TIME TREK is a good guys versus bad guys shoot out game based on the popular old TV spac
17. EM IF NGT EHMD OF LIHEs GET i y UE soIKR iHE GucGTE FLAG THin CTERSCIREPEIPRINTEXSIREM LAR LINE GTE amp Clt1207s0 AH PEER led THEM c REM IF CTRe46 THEN 533 REM IF NOT AT BOT Ot FAGE FRINTES sCHRECLIIOD REM PRINT Tor OF FORM GOSUE 63967 REM PRINT HEADING GOSUE SJF REM CALCULATE AND PEINT THE LINE NUMBER NEXT 1 GOTO 63794 REM HEADER SUPER CTRzZASPEN PNE REM INITIALIZE LoM COUNTER INCRE FN COUNTER IF LEFTS Y si N THEN 35 5O02 G0TO0 63975 REM IF NO HEADING PRINT Dni SsSINTCCCSG LENCHSO2 ZO4 D30 REM CALCULATE SPACES TO CENTER HEARING FOR Kz1 TO SiPRINTES siNEXT OR FPRINTES HEIRE PRINT HEADING SsIiNT CS 2 T 90 FOR Kei TO S FRINTES gt CRINE PRINT4S D5 FAGE sL PRIATES SPRINTES Ma RE A EHEC FUE ENU OF LINE BEFORE LLJSING QUUTE HEN amp lp AM ASCII CHAR Ud LINEA jignhetitsHIDECSIRTSODSX Soe at Rem IDEMII1 T GRAOPHECZ IMTEZSCHREOIIZGOsHIDBOSTRREIPOSZOSCHRETULIZAIS PRA ibo A A A so dob bo Y ne KT OK EFTR amp OSF sQG LENCHIDSUSTRESPFRO2332028P7N A op o ob o p HH o oo TURN a REM LINE NUMBER CALCULATION SUBROUTINE l 0 OISITAIKREN SKIP SE 2 FOINTER EYTESsH VE TO LINE HUNBER Mob LVePEEK I 1 3REM FETCH THE LSE HUSFEERCIIGREn FETCH THE MSE ry mm LASHUESS StL UG REM CALCULATE THE LINE WLMBER IW DECIMAL IF LAND THER FLAG 1 REN ENABLE PRINTING IF LMN THEN 439947 REN FARTIAL LIST IS CONF IF FLz1 THEN FPRINT S LEFT SEE SLEEN MIIE CSTR BEL MO e
18. ET s International Technical Systems P 0 Box 264 Woodbridge VA 22194 sells an attractive cabinet containing an external memory unit that simply plugs into a wall socket for power it has its own built in supply rather than stealing power from the PET and plugs into the PET memory port For 297 you get an extra 8K bytes A second model which can provide up to 32K additional will be available soon but price has not yet been announced The expandable version will also be available with an extender so that other products such as certain disk units 22 may also be attached to the memory connector In the Decimal to Binary routine on page 12 there s an example of a technique that can be very useful While some languages provide an IF THEN ELSE statement PET BASIC only supports the IF THEN part however there s a trick available If you use the colon to put several statements on one line and the first statement is an IF THEN then the rest of the statements on that line will execute only if the IF condition is met If the last of those statements is a GOTO you can skip the next few lines if the condition is met but execute them if the condition is not met since control will not reach the GOTO Look at lines 40 to 55 in the routine to see the example The article on Tape Decay omitted one important warning always suspect the cassette unit first The heads should be both cleaned Q tip and rubbing alcohol or commerc
19. IBM s IMS Information Management System you will feel that PIMS falls short How many PET owners use professional software on mainframe computers The program saves the user the task of developing the routines for doing such things as creating a file Save Load editing Add Delete Change Searches Sorts Sums Selective Summations and Merging Mailing Lists These functions are necessary for managing any sizable amount of data and PIMS provides the PET owner with a method to implement them In particular the SORT routine is an efficient sort referred to as the Shell Metzner sort This sort algorithm is many times better than the standar bubble sort that a novice programmer would find in 95 of the text books avail able on BASIC Our company has utilized PIMS directly on a TRS 80 in the printed circuits laboratory to maintain an inventory of chemicals and materials and to track work orders We have modified PIMS to operate on the PET in our department and use it to keep track of spare parts lists for Army contracts Recognizing that the PET and PIMS are no match for IBM and IMS I still feel that PIMS is the best program I have seen for anyone who wants to do some serious work on the PET without reinventing all the routines presented in PIMS 1A comparison of Sorts John P Grillo Creative Computing Nov Dec 1976 p 7 MODIFICATIONS FOR PIMS by Chris Kalmbach Rt 3 Box 111 P Neosho MO 64850 Although 1 agree with Mr Co
20. SINTERFRETER MEMORY RANGE e PN OIREM INITIALIZE PAGE NUMBER COUNTER FLAGsOIREM SUFFRESS PRINTING REM 147 CLEAR SYMBOL 209 DOT SYMBOL PRINT lt 147 REM CLEAR SCREEN PRINT SELECT OUTPUT DEVICE PRINT lt 2093TYFE 3 FOR CRT PRINT 20937TYPE 5 FOR PRINTER INPUT Ii OPEN S DiREM OPEN OUTPUT FILE PRINT PRINT ENTER THE LOWER amp UFFER LINE NUMBERS PRINT OF THE PROGRAM YOU WANT LISTED PRINT FOR EXAMPLE O 63800 LISTS ALL INPUT N1 N2 PRINT PRINT ENTER TODAY S DATE INFUT D FRINT FRINT DO YOU WANT A HEATDING s INFUT Y IF LEFT Y 1 02 N THEN S 50180T0 63943 PRINTIPRINT ENTER DESIRED HEADING INFUT H I L REM SET UP STARTING FOINT FOR DISINTERFRETING G SUR 6379687REM PRINT HEADER GOSUB 63980 REM CALCULATE AND PRINT LINE NUMBER FOR I L 5 TO U PSPEEKCIODIREM EXTRACT BYTE FROM MEMORY IF QF 1 AND Pz34 THEN 6 3952 REM SRIF IF QUOTE WASN T CLOSED IF QF AND F 34 THEM QFzOo GOTO amp 3757 IF Farga THEN 63957 QF 1 REM SET THE QUOTE FLAG 25 ode os 53966 eive 63948 SIRO 53970 3971 Odgers SIS 03974 63975 43976 977 ZFFE SO 63750 63781 6398 63983 63904 6705 pares HEADER SER AA AAA u FEKA l Suba EA us LINE NO KEY pr eH p e bi P a a Cin gt ad a END v i978 v IF F 0 THEN IF AML F IF Dx THEY PR IF fi S THEM FP GOTO amp 3v amp 6 IF Fl 1 THER F RARA ETS CECI REA PRINT THE DL SIN CORPRE TED IF Faso rA R
21. TA 44 3DED 84 45 STY 45 Store current line address 3DEF 4 D5 3D JMP 3DD5 start ancther cycle 3DF2 4C 57 3A JMP 3A57 finished return to Monitor mainline 8k users can make the same changes by substituting 1 for 3 where underlined I am currently trying to make my various versions of disassemblers have more compatible formats and this is one result Note that I am ready to use a printer but I don t have one If I did I wouldn t be hand typing program listings Question what are the other three commands in HIMONDIS V O T Expansion 2 ROM Test I found a copy of a ROM test that you published some time ago Combining both sides of the page finally produced a working version I would like to give you the constants for the new machines Note that I did not use the lines beyond 570 that is just a different heading and constants for the 019 ROM Anyway ROM TEST IN PROGRESS applies no matter what set Note also the upgrade ROMs have different checksums in the E block specifically from the large KB units For Upgrade ROMs 540 DATA 82 69 83 83 71 241 191 550 DATA 99 241 121 53 163 167 560 DATA 253 34 148 168 90 73 0 570 DATA 139 18 128 0 0 For N units 540 DATA 82 69 83 83 71 241 234 550 DATA 99 241 121 53 163 167 560 DATA 5 34 148 168 90 73 0 570 DATA 139 18 128 0 0 The 5 in line 560 does not represent a low checksum I suspect it should be 261 which of course overflows to a 5 Within the limits of the original program this
22. along to you That s what this newsletter is all about People supporting other people And you ve been as supporting as any editor could ever wish Thank you THE PAPER is the last of the PET only publications The User Notes and the Gazette were acquired by Compute Even Eric Rehnke s 6502 User Notes is no longer around We got most of our original newsletter ideas from Eric s Notes They shall all be sorely missed since they were great sources of good information HIMONDIS ON A 16K PET by Wayne Sung HIMONDIS has proven to be extremely handy as I grew to under stand the inner workings of the PET Since mine is a 16K machine I thought I should try to relocate the program to the 16K boundary as an exercise This didn t prove to be difficult and the availability of articles concerning re location means that I really do not have to explain this change in great detail I would like to mention some other changes I made however With the availability of the new ROM set with the built in monitor some of the code contained in HIMONDIS is no longer necessary In fact everything below 3E00 16K version In the 8K version 1E00 and so on throughout the rest of this article may be eliminated by some relatively simple substi tutions LOCATION INSTRUCTION Should be changed to LOCATION INSTRUCTION 3FDE JSR 3013 3FDE JSR E775 3FE8 JSR 3022 3FE8 JSR E784 3FEB JSR 3C4F 3FEB JSR B A 7 3FFO IDA 12 3F FO LDA FC 3E00 LDA 15 3E0
23. bscription COD via UPS is acceptable for previous volume sets only and the purchaser will incur the UPS COD charge of 1 15 Personal checks MC VISA American Express credit cards and cash are acceptable means of payment Checks drawn on foreign banks should include an amount sufficient to cover the current currency exchange rate ADVERTISING Ad rate sheets will be sent to interested persons upon request to THE PAPER P O Box 1142 Columbia MD 21044 DEALERS Dealers may order complete sets of the previous volumes as well as a minimum of five 5 copies of each month s current issue Dealers are invited to inquire by mail or by telephone to 301 730 5186 SOFTWARE Software written for and distributed by THE PAPER is intended for use on the 8K PET and we do not make any claims that said software is appropriate for use on any other Commodore computer system 2 READER 1 0 Terry I like the PAPER and I love the PET I ve had my 8K unit about a year and a half and just bought the 32K version I also bought both printers and the 2040 drive I d like to see a more comprehensive BASIC in CP M including PRINT USING auto repeat and all the features incorporated into the Tool Kit I d also like to see a much larger storage device like rigid disks or laser video disks Would you know of anything available I just received the MTU four part music board and the Mimic Digital sound board but haven t got them wired up yet I
24. conds TAS 00 INTERFACE Special modules allow direct plugin to your PET OIR MODULE is ANDER KIM TRS 80 APPLE or Motorola D2 Write today for our latest catalog of Data Acquisition Modules ARESCO Sy TE ox rel d Emp Columba MD 21044 geli THE PAPER VIPER RAINBOW SOURCE PET PROSE Cc There are many people who want specialized application programs to use on their PETs but who are not knowledgeable enough to design or to write them ADVERTISERS The codfish lays ten million eggs The hen lays only one The codfish never cackles To tell you what she s done We scorn the lowly codfish If you can write significant software in some specialized field and are willing to do so we may be able to help you find the people who are willing to pay you to write programs for them Send 25 with your name address and field of expertise The information will be published in all the remaining issues of this While the noisy hen we prize Which only goes to show you That is pays to advertise YOU Could make this space work for YOU Gene Polowytsch 72 31 67th Place Glendale NY 11385 Mein SS POSTAGE SECOND CLA GDLUMBIS MB 21044 PAID IN COLUMBIA MD 21044 USPS 450 930 TO 28
25. e adventure show Star Trek Real time in this case means that your starship moves around the screen more or less immediately in response to the controls you operate If you start moving in a certain direction at a particular speed then you ll keep going that way at that speed until you change run out of fuel run into a star or get shot down by a Klingon You can alter course fire phasers or torpedoes hide behind a star speed up or slow down or seek out a star base to refuel The Klingons aim is very good A11 that may sound like it fills the bill for both variety and excitement but it s only the beginning When the game starts you choose a difficulty level from 1 to 9 and you receive a starting supply of energy Everything that happens affects your energy reservoir moving slowly uses it up very rapidly Getting hit by a Klingon weapon takes a big chunk out of the energy supply Reach a star base before you run out of energy and your fuel tank will be topped off 11 TIME TREK s display is divided into five parts Across the bottom is a command and activity summary At middle left is a status indicator for energy weapons and drive display Above that is a short range scan and at the far right is Y a long range scan Center screen is where the action takes place The entire universe of the game an 8 x 8 matrix of quadrants is displayed on the long range scan Each of those quadrants is en 8 x 8 matrix of s
26. e new address low 3DF8 STY 45 store new address high 3DFA JMP 3DE0 see if another time around is needed 3DFD JMP FD56 exit return to monitor change these locations 3FE4 JSR E7EB read delimiter and skip 3FE7 JSR E7A7 read start address 3FEA BCC 3FEF 03 if CR then error 3FEC JMP 3DC7 go and store address returned 3FEF JMP E7F7 signify error and return to monitor 3FF2 NOP 3FF3 NOP 14 Apparently then LDA VAL followed by JSR FFD2 prints one character whose ASCII value is VAL either on the screen or on the printer if the printer is active IDA VAL fol lowed by JSR E775 prints two characters in hex the values of which are the topfour bits of VAL and the lower four bits of VAL I don t yet know how to activate and deselect the printer from machine language Can someone out there tell me Also does anybody out there have good success working with the disk and machine language together Editor s note We at ARESCO do not have the 16K PET or a printer so we are unable to answer Wayne s questions for him Let us know if you have the answers he needs and perhaps a lot of other people will learn from you too Automated Simulations oc s ces muun ven cr sio ANNOUNCES THE RELEASE OF The Datestones of Ryn Can the notorious bandit leader Rex the Reaver escape with the precious DATESTONES OF RYN Or can he be stopped before Time ceases to exist The DATESTONES OF RYN is an exciting new solo fantasy adv
27. ectors but you can only see one of those at a time The sector currently occupied by tne Enterprise your starship is displayed in the center screen The short range scan gives you limited information about the quadrant you re in anc the eight immediately adjacent to it how many Klingons stars and star bases but not where tney re located within their quadrants If you destroy all the Klingons you win If you run out of energy or stardates you lose While the instructions sound complicated and it takes a game or two for orien tation play is fairly simple when you get the hang of it The good part is that by spending a few extra minutes learning how to play you have access to a game with enough variety tc occupy yourself for hours It s not too har to beat but you can t be careless or relax too long espe cially at level 9 or you ll get zapped If you enjoy lunar lander games but find they get boring after z while you d probabiy find TIME TREK a worthwaile addition to your library THANK YOU With each issue that goes out to the postoffice I am so appreciative of your support that I wish I could sit down and find the time to write personal thank you notes to each of you As you discover new and exciting things about your PET and write and tell me about it I make hundreds of copies and pass your information along to other PET owners And they in return send in their comments which I also copy and pass
28. el ba M8 y RE TURN Hate cg opc ee ee ea LET TATA GOTOsRUN TP es REST vE TOR TATA NsWAifsL n s DATE PRINT CONT LIST of T DATA NEM TAEC TU SF NE SPE THEN S NOT 9 TATA AND OR gt oe 56H INT ABS USR FRE FOS SE TATA RND LOG EXP CUS SIN T N ATH PEERK LEN 5 ERE IATA VAL ASC CHRE LEFT RIGHT Es MIDE FRINTES sCHRE CES oe CHRECI SIS REM A UASCE PAPER GUT GE LET CLO SES REM CLOSE DUTFUT FILE ENT IKE PRINTE PEP aba kee 26 YES Please enter my New Subscription Order for all ten issues of Volume 1 Renewal Subscription order for all ten issues of Volume 2 Renewal Subscription Order for all ten issues of Volume 3 Full payment of 15 00 per volume ordered is enclosed NAME Please print or type ADDRESS Street not P O Box AA ue ee STATE ZIP Please charge my MC VISA BAC Master Charge Interbank ___ CE Date Required Credit Card Signature Please ship the following Software Shelf Programs to me within two weeks enclose payment in full PDPS FILE CREATE 1500 os WAREHOUSE 795 STAT Ill 7 95 CHASE 10 00 DATA RETRIEVAL 10 00 MICROMAZE 7 95 DATA EDIT 10 00 BLACKJACK 10 00 STAT I 20 00 BLOCKADE 10 00 STAT II 20 00 DEFLECTION 10 00 SPACE FIGHT 1000 STARTREK 2001 10 00 HOSTAGE 5 78985 XMON 15 00 AIR SEA WAR i 7 95 CMC WPP 29 50 TUTOR 19 95 TUTOR PACKAGE
29. en ture from Automated Simulations popular DUNJONQUESTt series The DATESTONES OF RYN pronounced line rune is Microquest Number 1 a dark and deadly labyrinth of caves and tunnels where Rex has hidden the date stones stolen from the ducal calendar of Ryn The player competes against friends family or himself in an action filled race against time to see who if any can rescue the stones before Time istelf stops The player has fourteen options from which to choose during the adventure A map of the dungeon drawn in the excellent graphics of the PET guides the player while the computer keeps track of the number of stones and other treasures found and handles all the rules A colorul 16 page illustrated manual program cassette and command summary card are included in the package for the 16K PET A bargain at 14 95 be sure to write for delivery information before ordering 15 QUALITY SOFTWARE FOR THE PET PET is a product of Commodore Business Machines Inc NOW AVAILABLE FOR MODELS 2001 8 2001 16 and 2001 32 PLEASE SPECIFY YOUR MODEL NUMBER WHEN ORDERING SWEE PING rest your eye hand CHEQUE CHECK Take the coordination as you control the flying M frustration out of balancing cursor to create attractive patterns on as you let this program the screen Make the screen flash white bo Remembers or black make the cursor leave a trail a ce la ind and correct of blocks or lines or nothi
30. ersonal Computing 79 show in Philadelphia Oct 4 7 I saw a new dot matrix by Base 2 Inc P 0 Box 3548 Fullerton CA 92634 that looks like a winner In addition to RS 232 20 ma and Centronics 1 0 it will also work with the IEEE 488 bus That means you wouldn t need any special software for use with the PET you could use the built in CMD and PRINT functions on a the IEEE port By varying the print width by sending a special control character the printer will accommodate anywhere from 72 to 132 characters per line on 9 1 2 inch paper The good news is that it is priced at 499 cr with tractor feed for 599 The bad news is that cables for connection to PET are not yet available but that s a problem that can be solved In addition to the Skyles keyboards and memory expansion you should take note of products from two other firms Century Research and Marketing 4815 West 77th St Minneapolis MN 55435 makes a nice auxiliary keyboard that plugs into the PET and can either be built into the PET or mounted in a separate plastic case which the company also sells In addition to duplicating the original PET keys this unit also provides several duplicate keys around the numeric keypad you get an extra RETURN SHIFT SPACE and key It s a handy addition I believe the keyboard sells for 109 95 and the case for about 20 Write and check before you crder For those who want more memory but don t want to modify their P
31. i wouid like to extend ma subscription to your ssssmezat rarer THE PAPER Enclosed elesse find 15 as uncderbeaument for Sour informative publication This CEM word processor has a super zenzitive repeat ke which makes it wonderful i easy For me to backsrace and correct all of the errors it causes I have peuneosefulls keet the accidental ss of ssssc ezst I rau ld o uann uou at this roint about ms ezscholosical auirik which invariably causes me to later criticize anuatnins I hase once praised zhould this harren in the course of the completion of this letter Please understand no diseanasemmert o sour cruna masazine will be intended This Commodore word erocezzor iz worth E a Tow i ica Orne haz little idea of the speed of PET until one presses OFF ENS followed bs cursor down or ue keu Text zies bu fast enough to send Eve len Wood back to GO without collectina 2608 Fase Zr of zzue 16 Voll of The Faber before it besan to recreat issue numbers haz a Tine rebeaxt kes routine There are mara other Tine features of this processor copa merae move tak risht and lieft margins and lots more I have not tried them all but everathins I have tried works well By now you suspect 1 am takina the oceation at Subscription renewal a little too zeriouzls You can easily perceiue wou will die of boredom andeor exhaustion before uou can make it to Yours Truly Fozzsibls I have indeed wrestled with ma consclence about zubdjectins wou to thi
32. ial head cleaner and demagnetized demagnetizers available from Radio Shack Lafayette etc whenever you begin to have tape problems I had my friend Mike Johnson all set to realign his recorder until I discovered that the problem was dirty heads in mine C La Buchanan 5000 Shopton Drive Camp Springs MD 20031 has been doing some very detailed examination of the cassette routines in the NEW ROMS Anyone else digging into the same ROM routines might want to share information with him BETTER LIST by Fran Turco The LIST routine Commodore supplies with the PET was designed to list on the CRT No provision was made for the eventual use of a printer We connected a DEC Writer II to our PET through a CuC ADA 1200 interface Several problems surfaced immediately 1 The graphics that would normally appear on the CRT yield strange results on the printer 2 The LIST routine has no check for page being full with subsequent page eject i e there is no Top Of Form command 3 There is no header 4 The line numbers are left justified Consequently the text of your program does not line up when listed Attached you will find a listing for a program we call BETTER LIST It addresses the described deficiencies as follows 1 The code for the graphic symbol is listed between braces In our documentation we include a REM statement explaining the code See line 63924 25 2 BETTER LIST breaks the text into pages a
33. ll keep you posted if you re inter ested Last but not least I ll be holding a BASIC course through the local college in late Jan 80 Any advice B Vince Haluschak Vince I don t know of any mass storage devices such as the ones you describe or of any work being done bringing up CP M for the PET I m sure readers will be interested in your music and sound bord reports so be sure and let us know how things work out As for your BASIC classes I can only suggest that you avoid trying to teach beginners the innards of a computer that you move very quickly past the Dartmouth level commands and that you give your students a thorough foundation in de Signing programs Most people brute force their way through a program which lends itself very well to lots of bugs Good luck and let us know how it goes Terry Terry I have the Programmer s Toolkit which is fantastic for the editing of large or poorly documented programs David Gibson Dave Reports like this help other readers decide what to buy Your letter is representative of hundreds we have received in praise of the Toolkit Thanks for writing all of you Terry Terry I am a serious user of the 32K PET dual floppy and a tractor feed printer I m using it in my accounting business servicing many clients I m enclosing a sample set of reports generated from my system The program was written by CMS Software 5115 Menefee Drive Dallas TX 75227 The program was re
34. low operation on a PET without merging programs However considering the frailties of man this version may never make it I hope this version will prove useful for final documentation purposes We still use the normal LIST command during the program development and debug phases and then make a pretty copy with BETTER LIST e3B89 6 3897 63896 3 wc 37 v 63500 634501 63705 63706 3907 63706 63909 SiS 1a 63911 63912 03913 ee 1 eA TG 6379 24 3925 3926 63927 i928 OSA 639 30 63531 563932 63933 3734 639385 3736 63937 63938 63939 63790 0354 63942 63943 03744 6394 63946 3947 648 43945 6930 63951 ERATOR a CAT PORS TABLE 3 M AMA BETTER LIST REM BETTER LIST PROGRAM BASED ON DISINTERFRETER BY WARREN SWAN REM REFERENCE PET USER NOTES VOL 1 ISSUE 3 FAGE 5 REM REM SUBMITTED EY FRAN TURCO REM 800 FOLLIN LANE REM VIENNA VA 22180 REM DIM C COS2 C 0 CHR 13 3REM DEFINE CR FOR I 1 TO 313REM DEFINE UNUSED KEYWORDS P CSCODSESTRSGD NEXT I FOR 1 32 TO 127 REM DEFINE THE CHARACTER SET 1 C C1 CHRE I NEXT I FOR Isi28 TO 202 REM DEFINE BASIC VERBS READ CC NEXT 1 FOR I 203 TO 2543REM DEFINE UNUSED KEYWORDS POCECODSSTRSCOD NEXT I CROSSSOR PI IREM DEFINE FI 327601REM ESTABLISH UFFER LIMIT FOR DISINTERPRETER MEMORY RANGE REN REPLACE 32 80 ABQUE WITH Biga FOR Bk PET s10241REM ESTABLISH LOWER LIMIT FOR DI
35. may take on values with a very wide range Floating point variables are specified by default If they are not integer 3 nor string then the variable is assumed to be of the floating point type Each floating point number occupies five memory locations inside the PET whether it be a single element or an array The format of a floating point number is as follows n mantissa J S a Lui A RE te EA e exponent si assumed radix point The exponent occupies one memory location The ex ponent is a power of two but is stored in excess 128 notation This means that 128 has been added to the true exponent to allow for the easier handling of nega tive exponents Thus if the exponent of a number is 16 then you would add 128 vielding 144 X 90 This last value X 90 would be stored as the floating point exponent Similarly if the exponent of a number is 12 then you would add 128 yielding 116 X 74 which you would store as the floating point exponent The mantissa is the fr ctional part of the floating point number It is always normalized This means that the fraction has been adjusted and the exponent likewise adjusted until the most significant binary digit of the mantissa is to the right of the assumed radix point Since PET BASIC always normalized the mantissa the leftmost bit of the fraction is always a one This is redundant and so the position is used for another purpose This bit is used as
36. me 3 50 Add 2 for shipping orders under 20 Harry H BRILEY 9 Shopper Home Addresser Catalog Info Inventory Deluxe Addresser P O Box 2913 Museum 9Dinner s On Livermore CA Mansion 9Fur Trapper 94550 Pentagon High Seas 415 455 9139 Other types and colors are special order 75 Pearson Street Portsmouth NH 03801 603 436 6564 ai OBSERVATIONS ON VOLUME II ISSUE 7 by Roy Busdiecker Allan Adams letter reminded me of many days weeks and months that I spent feeling the same frustration that he described Nonetheless there is some reason for optimism Commodore s change of ROM s was traumatic for all of us The defects in the original PET BASIC could have been corrected without the disruption of existing software but the spectacular work of Butterfield supplemented by the cross references from Russo and Lindsay has given us most of the information we need to patch up our old products The CBM printer is now available My model 2023 does most of what it s supposed to do with the notable exception of being able to adjust the number of lines per page That s not as bad as it might seem since it s probably safer and easier to do formattina in the BASIC program than to use the special printer controls That way one can make the necessary compensations so the output can be directed either to screen or to printer I ve not yet been able to make lower case letters LIST properly however At the P
37. na at all Pon 6 We even white on black or reversed Cursor y bounces off walls Built in scoring review instructions on command Develop creativity as you invent new games If you like to proaram this one is easy to use even beainners modify and use s the basis for your own practical program that programs A bargain at 5 95 PET library 7 95 MEM EXPLORER want to see exactly how and where your programs are stored in PET s memory It s a snap with this SOFTOOL KIT product which can be combined automatically with your own programs Starting at the location you specify it aives a screenful of information location address contents in decimal character or token than calculators interpretation and double byte address as much Unlike other integer forms Based on the series of this one lets you use results articles by Roy Busdiecker in The Paper in other calculations 7 95 this version does even more 7 95 BILLBOARD turn your store window or counter into m e advertising display With BILLBOARD you simply type in the Eure up to 254 characters then see it march across the screen NA 7 letters even pause or flash off and on if you like A rim 5 See S it costs less than a single ad Order yours today 49 95 dd BUY MSS PRODUCTS AT THESE FINE STORES The Computer Emporium Mclean VA Computers Plus Mexandria VA Stonehenge Computer Co Summit NJ Individual orders sent with paymen
38. nd provides a TOF command to the printer v 3 A header is printed at the top of each page It includes the date and an optional title supplied by the user and auto matically numbers the page 4 The line number is right justified Consequently even if your line numbers go from 2 to 3 to 4 digits your text re mains lined up This is especially nice for indented FOR NEXT loops such as lines 63946 thru 63966 of BETTER LIST A few words of description about BETTER LIST e Lines 63903 63917 write the table of token bytes into memory for later use to disinterpret the program to be listed e Lines 63918 63923 initialize variables e Lines 63924 63942 provide the operator interaction with BETTER LIST e Lines 63943 63966 are the main program instructions that disinterpret memory and list the findings e Lines 63968 63978 are the header subroutine e Lines 63979 63987 are the line number calculation subroutine amp e Lines 63988 63995 provide the key words that will be printed for the disinterpreted token bytes e Lines 63996 63998 are the closing out routine Operation is as follows 1 Load the program you wish to list 2 Append BETTER LIST to it This may be a problem for PET owners with a minimal system We use the Tool Kit APPEND command Several MERGE programs are available 3 Type RUN 63999 Answer questions as they are presented We are working on a version of BETTER LIST that will al
39. o showed that the l6k HIMONDIS I sent you earlier has a problem 3DB6 should be 3E and is lE Considering the fact that I never used the disassembler as a D command from the Monitor this particular problem had never been spotted before Anyway the adaptation for printer use will allow either one or two parameters to follow the D command One parameter implies the same operation as always Two parameters and the listing continues until the address specified in the second parameter has been exceeded The call from Monitor will be D SADR for the normal list and D SADR EADR for the printer list The modified code is as follows 3DA9 BO 11 BCS 3DBC was 85 44 STA 44 3DBC 85 44 STA 44 3DBE A5 12 LDA 12 has same effect as code already present 3DCO 85 45 STA 45 3DC2 20 CF FF JSR FFCF read delimiter 3D 5 C9 OD CMP 0D is it a CR 3DC7 DO 03 BNE 3DCC no go receive next parameter 3DC9 4C AF 3D JMP 3DAF yes start list 3DCC 20 4F 3C JSR 3C4F read next parameter 3DCF 85 06 STA 06 store lo byte of ending address 3DD1 A5 12 LDA 12 3DD3 85 07 STA 07 recall and store hi byte 3DD5 38 SEC 3DD6 A5 06 LDA 06 3DD8 E5 44 SBC 44 3DDA A5 07 LDA 07 3DDC E5 45 SBC 45 3DDE 90 12 BCC 3DF2 compare last line address to ending address 3DEO 20 2A F3 JSR F32A more to be printed but check stop key first 3DE3 FO OD BEQ 3DF2 if stop then terminate 3DE5 20 12 3E JSR 3E12 print next line 19 3DE8 20 EF 3E JSR 3EEF update line address 3DEB 85 44 S
40. oit MI 48223 Larry Williams P O Box 652 San Antonio TX 78293 Richard Prestien 6278 SW 14th Street Miami FL 33144 Long Island PET Society Ralph Bressler Harborfields HS Taylor Ave Greenlawn NY 11740 Utah Pug Jack Fleck 2236 Washington Blvd Ogden UT 84401 PET User Group Doug Hennig 16 Everett Cres Regina Sask Canada S4S 2M7 Gene Planchak 4820 Anne Lane Sharpsville PA 15150 412 962 9682 SEWPUG Theodore J Polczynski P O Box 21851 Milwaukee WI 53221 414 282 4181 SPEEDING UP THE PRINT STATEMENT Doug Hennig The PET PRINT statement can be sped up by a factor of about four by using POKE 59458 62 POKE 59458 30 restores to nor mal Here s a short program to demonstrate 10 PRINT C TI 000000 REM SETS CLOCK TO ZERO 20 FOR I 1 TO 800 PRINT A NEXT REM FILLS SCREEN WITH 800 As 30 Z TI REM SETS Z TO TIME IN JIFFIES lO FOR I 1 TO 500 NEXT REM WAITS BEFORE STARTING AGAIN 50 POKE 59458 62 REM SETS FAST MODE 60 PRINT C TI 000000 70 FOR I 1 TO 800 PRINT A NEXT 80 Z1 TI PRINT C 3Z Z1 REM SHOWS TIMINGS 90 POKE 59458 30 REM SETS TO NORMAL I get values of about 400 and 110 jiffies representing an in creass in speed of about four times However one big problem with this is that the screen is filled with the ever terrible snow usuall associated with POKEing the screen One could use timing delays to prevent this but it s complicated and cuts down on the speed I find it
41. onth except June and December Single copy price is 2 and subscription price is 15 for all ten issues of the current volume Subscriptions do not carry over from one volume to the next Subscribers who do not wish to order the full volume should send 2 for each issue desired Renewals are accepted during the last two months of the current volume year and the first issue of each volume is published in Feb Subscription orders should be mailed to P O Box 1142 Columbia MD 21044 in order to assure prompt processing Second class postage paid in Columbia MD 21045 USPS 450 930 POSTMASTER Send all address changes to THE PAPER Box 11 2 Columbia MD 21044 THE PAPER is not associated in any way with Commodore Business Machines Commodore International or any of its affiliated companies and Commodore is not responsible for the contents of THE PAPER Readers are encouraged to submit articles of general interest to PET owners for publication in the PAPER Material submitted must be free of copyright restrictions The entire contents of THE PAPER are copyrighted c 1980 by ARESCO Inc SUBSCRIPTION RATES e USA residents 15 10 issues of current volume Non USA resi dents should include an additional 12 for air mail postage if desired Complete sets of previous volumes will be available for 15 set all ten issues of the volume plus postage No purchase orders will be accepted for orders payment must ac company the application for su
42. s Untortunatela I hase subscribed to The Farer The Fet Liser Hotes and The Pet Gazzette inou Comeute for tuo years always wanting to contribute zomethins ANYTHING Well this iz it anatnins and Sour the Unlucky one Yours is the most voluminous of the three and it was thru yours that I found out about the others The User Hotes has sent me nothins since Val 2 Issue 1 a lona time maso I ca at this roint onla losicalls deduce I raid for volume Its treat publication too no really You anc Caomeute ar upe ta date az of now after doubtful eeriods ls it lesal for me to pass somethina wonderful to sou from Comeute Issue 127 Come to think of ait Jim Butterfield rassed it to Comeute from the Vancouver Groupe PORE 59455 62 naticeabls zeeedz ue Pet Basic of both old and new FOMS Ma 32H can be restored to slow with FORE 38 This did not erevent me from orderina the Moser 6582 fiacra HzzemblerzText Editor wgezterdas after drooling aver the ad of tne Skules HacroTehn for three dassi I finally decided since both are in ML and seem to E T ty 10 haue the same features to set the significantly lower priced item Ht first I wanted the rermanenca of Skules EOM Then I telt disk will set the Moser in fast enoush and 32E should easi ls absorb its BK i I own the PET 32H 26940 Flores and 2822 Printer I converted from the SK old ROM model because I could not set the cassettes to work This SEN has crashed from
43. should be OK Also note that the N units may have 4 or 5 ROMs as delivered This is because they are now using 32k ROMs versus the 16k ROMs used previously The E block of course is still a 16k unit however some units have a split F block while others have only one F ROM I suspect the F block checksum should come out the same anyway but I stand to be corrected Question what is the function of the entries from 73 through the end which are in lines 560 and 570 3 The built in Monitor sure is nice Those of us who have put our trust in the SAVE procedures and don t verify each save however are in for a treat For some reason the first two characters of the name string are stored in the same locations that the IRQ vector is stored the one you see in the Monitor heading Immediately after a save do a R and see that IRQ no longer says E62E but rather something else depending on the name used What does this mean Do not pass go and do not that is to say do not immediately do a G after a save When you do the Monitor restores the machine IRQ according to what it finds in its heading By now we all know that this is a meaningless value Different things happen on mine it simply goes off somewhere and sulks On one large KB unit I tried it attempted to print another Monitor heading and gets part way done and then goes off somewhere Remedy Verify each save Any exit and re entry to the Monitor reloads the proper IRQ into the heading
44. starakis that as published PIMS cannot be keyed in and run on a PET computer the changes required are not major or difficult to make I would hate to see anyone pass up this excellent and useful program just because they thought it wouldn t run on their PETs I purchased my copy of PIMS after reading an excellent review of the program by Curtner B Akin Jr in the June 1979 is sue of Kilobaud Microcomputing in his article Mr Akin described necessary changes to the program My copy of PIMS came from Scelbi with some corrections rubber stamped at the end of the program listing In addition to these changes I added a few of my own to handle some of the formatting prob lems The original program line 250 uses the PRINT USING statement which is not in the PET s vocabulary I added the lines 242 through 250 in the List Of Changes to take care of this Lines 472 480 482 and 484 also make formatting changes I have not included any of the changes that are printed in the PIMS manual on page 73 A final note My PET is running old ROMs This program may require other changes to run with a new ROM set Mr Connely who brought to my attention the article by Mr Costarakis has the new ROMs in his PET and I m certain we can supply information for conversion if anyone is interested DO LINE Z DESCRIPTION OF CHANGE EXPLANATION Delete Delete Add Add Add Change Change Add Change Add Add Change Change Add
45. t directly to MSS are shipped via First Class Mail at our expense normally within 24 hours of receipt MICRO SOFTWARE SYSTEMS Send check or money order Allow two weeks for check to clear VA residents P O Box 1442 Woodbridge VA 22193 add 4 tax Dealer inquiries invited INTERNATIONAL ORDERS Pry by check drawn On US bank or int l Money Order include shippivo 16 IN DEFENSE OF PIMS by Francis Turco 800 Follin Ln Vienna VA 22180 In the October issue Vol II Issue 8 p 23 Dennis Costarakis offered his comments on PIMS He made two points First the program will not perform if you type it exactly as supplied by Mr Gupta in the PIMS man ual Second the program is of little value He recommended it for general information to someone brand new to data base management for general in formation only The first point although true is certainly not overwhelming Any one familiar with programming his PET in BASIC should have no problem resolving the error messages Certainly nothing approaching major modifications to the program Mr Gupta did an exemplary job of documenting the program both with a flowchart and with comments within the program The manual is well written with several chapters devoted to instructing the operator in the use of PIMS With regard to the second point I cannot disagree more The program is certainly valuable as an information manager Granted if you are accustomed to working with
Download Pdf Manuals
Related Search
Related Contents
Programme Vidéodanse warning - Datatail istruzioni per l`uso comando luci a onde radio et 2000 Hamilton Beach 31334 Maestro 6040 - Aide et support Le supermarché de l`accessoire .. MODE D`EMPLOI SIMPLIFIE D`EXCEL DATOS DE SEGURIDAD E HIGIENE Philips VR627 User's Manual ZTE S160 CDMA 1X Digital Mobile Phone Quick Start Guide Copyright © All rights reserved.
Failed to retrieve file