DR. DOBB's JOURNAL of COMPUTER Calisthenics &
Total Page:16
File Type:pdf, Size:1020Kb
S90£6 V) 'A311VA I.IS Second Class Postage Paid at Menlo Park, CA ijij31 VNn~V1 %£ Address Correction Requested leAW NOSNHo r NO~Aa ISZZ 10 60aS NHO rS90£6 I VOLa NO 3 ISSUE 43 NOV·DEC 1979 ALSO PUBLISHED BY PEOPLE'S COMPUTER COMPANY: DR. DOBB's JOURNAL of COMPUTER Calisthenics & Dr. Dobb's Journal is a highly respected reference journal which fills a unique and Orthodontia solid niche within the microcomputing world. We publish discussions and examples Send in this form or a facsimile to .tart your of general purpose system tools, articles on lubKription to Dr. Oobb's Joumal. legislation or trends affecting computerists, --- - -- -OADEAFOAM--------' a consumer watchdog column, as well as a St.rt my IoUbscription to Dr. Oobb'. JourMl, variety of monthly columns designed to 10 i.u", $15/yr. ($5 off the newMt.nd pricel. guide and help readers wend their way o o,.:k 'nctosed o Bill me through the confusion of a new and bur N _________________________ geoning industry. Add~n _______________________ Recent issues have included: • Growing, pruning City,Stefl _____________ Zip_ and climbing binary trees with tiny-c' Selecting business software for microcomputers • An inter Signature active timeshared operating system for the 8080 Pl._ inquire Ibout foreign nltel. Send order to' • A critical look at the MC68000 • A Z80· ZAP P.opI,', ComPUter Co., Box E, 1263 EI CImino. disassembler • Converting 8-bit memories t. Mlnlo P'tk, CA 94025. 16-bits OSI BASIC for the KIM-l • Let \ "f C7 computer speak ASCII I~ SHOGI: GAMES FOR YOU TO PROGRAM ATARI SOUNDS • CRYPTARITHMS TEXAS INSTRUMENTS GRAPHICS formerly VolumB 8 Number 3 SUBMITTING ITEMS FOR PUBLICATION STAFF Noy· Dec 1979 ~S LABEL tV1!ryming with your name, addras and the date; tspes should lifO include the EDITORS progl1lm nSTlt, langu. and system. TYPE text if at all possible, double-waced, on 8%x Bob Albrecht 11 inch white paper. DRAWINGS should be as clear and neat as possible in black Ink on Tracy Deliman white paper. Special Features Don Inman by Herb Moore LlSTI NGS are hard to reprodu~ clearlv, so please note: Ramon Zamora 8 SEE WHAT YOU HEAR & HEAR WHAT YOU SEE • Use a new ribbon on plain white paper when making a liuing; we prefer roll paper or PUBLISHER Making music with the new Atari lan·lold p~r. Willard J, Holden 14 GAMES TO PROGRAM by' Herbert Kohl • Send copies 01 one or more RUN~ of your program, to verilv that it runs and to A Shogi variation provide a sense of how things work-and to motivate more 01 us to read the eode, RUNs ASSISTANT PUBLISHER CRYPTARITHMS by John Davenport Crehore should illustrate the main purpose and operation of your program as clearly as possible. Sara Werry 22 Bells, wh'$lles and special features should iust be de~cribed jn the documentation unless The venerable Nine Hex imparts wisdom they're particularlV relevant. PRODUCTION MANAGER 24 INTERRUPT by Warwick Slough • Make sure your code is well documented-I;se a separate shee t 0 1 paper. Refer to Carole Cullenbine Security systems and Swiss·style swindles portions of eode bv line number or label Or address, please, not bV page number. When ARTISTS writing documentation. keep in mind that readers will include beginners and people who 32 FORTRAN MAN by Todd Voros and Lee Schneider may be relativelv ine~perienced with the language you're using. Helpful documentation! Aleeca Harrison Our hero's memory is RESTOREd annotation can make your code useful to more people. Documentation should discuss Ann Miya 4. TEXAS INSTRUMENTS GRAPHICS & ANIMATION bY ,Don Inman Just which eases are covered and wh,ch aren't. ' Judith WaSserman pg.l1 Creating new characters on the TI 99/4 • If you send us a program to publish, we reserve the righ t to annotate it (don't worry, we won't publish it if we don't like it L TYPESETTERS • Last but not least, please lry to limit the width of your listings 50-60 characters is Phyllis Adams ideal. Narrow widths mean less reduction, better readabilitV and better use of space. Articles Gavin Cullen 11 MATCH ME by Don Inman ~ROOFREADER LETIERS are alwavs welcome; we assume it's OK to publish them unless you ask us nOI Komputing for kindergarten kids to. Upon request we will withhold your name from a published leuer, but we will not Nancy Heubach 16 THE JOY OF SOUND by Doc Plumber publish correspondence sent to uS anonymously. We reseNe the right to edit letters for CIRCULATION MANAGER purp01a of clarity and bnw'ty Chipmunks, lasers, bombs and music Micheel Madaj 25 CALENDAR by H. Frank Anderson, M.D. ADVERTISING WHOLESALE DISTRIBUTION A technological Stonehenge Ronald Simpkin! 28 APPLE it'S THREE M'S by Chuck Carpenter ADVEATIS1NG .pial Is (IV1Iilable in this publication. Plea. direct inquiries to the Advertising Maneger, People's Computer Company, Box E, Menlo Park, CA 94025. SPOT EDITOR Memory, monitor and machine language: the conclusion (4151 323-.3 111 Herry Saal 36 A NEW ALGORITHM FOR CHESS by David Chelburg & David Wa lters PROMOTION MANAGER pg.27 (Part 4) The dynamic evaluation SUBSCRIPTION INFORMATION Betsy Roeth 44 WORKSHOPS BEAT MATH ANXIETY by Stanley Kogelman Mind over math U. S, RATES FOREIGN RATES And a $peCial thanlu to all the other 49 MAKING MUSIC ON THE PET by Alfred J. Bruey o StO!1 yr. 16 Issues) Payments must be in SUS draWll on a folks at Paople's Computer Company: e Hardware, software and simple tunes o Retaining subscription@S25 US bank. Delie Daniels, Grant Groberg, Erl~ 56 AN INTRODUCTION TO RECREATIONAL DISPUTING by John Hirsch (SIS tax deductible) o $17 Canada!Maxico First Class Sanders, Ann Marchbergar, Nette The RDS has only one by-law o Sune;ning subscription @$loo+ o 523 Rest of World Airmail Chekanskv Wang, Sahntll Pennuttl, (590+ ta~ deductible) o S14 World Surface Mail Ellen Markoff. Games & Stuff PleBS!! allow 6·9 w&ekli for your first Delivery of foreigll mail is slow and unre TRS-80: ELEMENTARY MATH by Karen Chepko issue to e(five. liable. We strongly advise airmail. RETAINING SUBSCRIBERS 27 Her first program is a winner Algorithmic!, Inc. BACK ISSUES 34 TRS-SO: TOWER OF HANOI by Herbert L Dershem David R, Dick pg,40 Animation for an ancient game $2.50 each: $3.00eech: Mark Elgin 46 TRS-SO- BINGO by Karen Chepko Vol. 6, Nos. 1,2,3,4,6 Vol. 7, Nos. 3, 4, 5,6 l Outside tha U. S. John B. Fried A micro-lesson in advanced BASIC Vol. 7,No.. 1,2 Vol. 8, Nos. 1,2 ~ add S .50 per iAUa. Scott B. Guthery 47 TRS-80; LOAN PAYMENT by Milan Chepko W. A, Kelley A unique commercial application FOREIGN DISTRIBUTORS OF RECREATIONAL COMPUTING Brett Wilson 52 CHOOSE·A·TITLE by Jack A Taylor LP Enterpri_, 313 Kin9lton Road, liford, lG1 lPJ, Essex, UK; EIKtronic Concepts 673,920 different titles are possible! PTY Ltd., 52·58 Claranee St .. Svdnay. NSW 2000. AUSTRALIA; RS-232.186 Queen SUSTAINING SUBSCRIBERS 54 NEWETT AWL'S GOAT ONCE AGAIN by Brian Yanny St., W. Toronto, Ontario M5V 1Z1, CANADA; ASCII Publilihi"" 305 HI TOR,O, Results of a summer school project • 5-6-7 Minami AOYSTla, Mineto·Ku, Tokyo 107, JAPAN; In" W. HolKklr. 0815 Bill Godbout Electronics 55 COMPUTE-A-TICKET by David J. Beard Holzkirchen, Lindenm. 8, WEST GERMANY; Hobby Oat., 5200 12 Malmo, SWEDEN; Byte Publications Generate tickets for any good event Compugr Stor•• P. O. Box 31·261, 22B Milford Ad .. Milford, Auckland, NEW Paul, Lori and Tom Calhoun 63 AMINAL: A COMPUTER GAME by Kathy Burk and Rachel Wasserman ZEALAND; Syrtlmt Formula. Corp., Shin·Makicho Bldg. 1 ·8·17, Yeesu, Chuo-Ku. A Challenge by kids for kids Tokvo 103, JAPAN. Printed bv Nowels, Menlo Park, CA pg.28 RacrNriofUlf Computing (lSSN #0164-5846) is published bimonthly by Paople'. Computer CompanV, 1263 EI Camino Aeal, Box E, Menlo Departments Park, CA 94026, People', Computer CompanV Is a tax-exempt, independent, non-profit corporation, and donationilira tex.deductible, Sel:ond clan pottage paid lit Menlo Perk, California, and additional entry polnU, Copyright ©1979 bV People's Computer Companv, Menlo Park, 4 EDITORS' NOTES & LETTERS Celifomla. CoV1!r by Ann Miya 59 REVIEWS 61 ANNOUNCEMENTS 2 RECREATIONAL COMPUTING - pUling and we have enjoyed your maga Or selllow·cost memory upgrade kits? remember not one word about com· zines and hope for more. If we can help puters. Has my memory been attacked by in any way please feel free to contact us. Yes, from tile regular hobby suppliers. a DELETE monster without my knowing it, or did I forge t about the auack and Tony Severa Do you (Re) have plans to have a number then forget that I forgot? Ubrarian, Midway Computer Club of articles on the Atari 800 when many HELLO, COMPUTERTOWN! 13) Highland Ave. are in use? Sincerely, Vacaville, CA 95683 John W. Davison Who else but a Dragon could roast a hot dog with his breath? Well, here's Ok, ComputerTown, I've seen your Yesi Lots of the"t We are also running P. O. Box 1165 the evidence. announcement in several issues of Recre Keep it up, Tony! You are right on articles on the new TI 99/4. You saw Ft. Walton Beach, FL 32548 ational Computing and have finally de target. We are out to 17Illke Q small town it here first! We are doing articles now If you have any lIeat little programs for cided to write you and see what you are of 27,000 people completely computer before there are many machines in use.