new local apple ii user groups - brutal deluxe

8

Upload: others

Post on 16-Apr-2022

3 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: New local APPLE II user groups - Brutal Deluxe
Page 2: New local APPLE II user groups - Brutal Deluxe

Ij 1

New local APPLE II user groupscontinue to form. Again, we remindyou that we can list your grouponly if we know of its existence. Ifthere is no APPLE group in yourarea and you wish to start one, talkto your APPLE dealer - he'll beable to help.

Herc arc t!lc new groups wc ')'c{carncL! about sincc Contact #1:

Alabama -

APPLE CORPSComputer Center, Inc.433 Valley Avenue PlazaBirmingham, AL 35209Terry Woodward(205) 942-8567

California -

Vicleo Games & Computers301 BalboaSan Francisco, CA 94118(415) 221-8500

SILICON APPLE PROGRAMMINGSOCIETY

2485 Rossotto DriveSan Jose, CA 95130Jim Hoyt(408) 374-3680

Connecticut -

APPLE USER GROUPComputerLand of Fairfield2475 Blackbrook TurnpikeFairfield, CT 06430Glen Brennan(208) 374-2227

Page 3: New local APPLE II user groups - Brutal Deluxe

1

3

Maryland -

MARYLAND APPLE CORPSComputers Etc.l3A Allegheny AvenueTowson, MC 21264Kevin Parks(301) 296-0520

New Jersey -

Computer Lab of New Jersey141 Route 46Budd Lake, NJ 07828Dan Fischler(201) 691-1984

Pennsylvania -

APPLE USERS GROUPPhiladelphia Area Computer Society29 S. New Ardmore AvenueBroomall, PA 19008Neil Lipson(215) 825-3800, x278 (work)(215) 356-6183 (home)

Texas -

APPLE CORPSComputerLand of Austin3300 Anderson LandAustin, TX 78757(412) 452-5701

THE APPLE CORPSGreenhill SchoolFulton Building14255 Midway RoadDallas, TX 75240Bobbie Ferrell(214) 661-1211 (work)(214) 243-6347 (home)

And here are two people who'd liketo forl71 groups:

Earl Keyser22 Clover LaneMason City, IA 50428

R. V. Collins12502 BexleyHouston, TX 77099

II - If you've read this far,you know the news. Get 'em whilethey're hot!

APPLESOFT II - The new APPLE­SOFT has arrived. It's an expandedversion of Microsoft's floating-pointBASIC, with 9-digit arithmetic anda large function library that makesit ideal for business and scientificprograms. Easy to use and powerful,APPLESOFT II's capabilitiesinclude high-resolution graphicsroutines ; DATA STORE/RECALLstatements that allow saving vari­ables to tape; IN# and PR# state­ments to simplify peripheral use;and an ONERRGOTO command toallow user-specified error-handlingroutines.

The tape version (P/N A2T0004)costs $20, and is available now atyour APPLE dealer. A ROM cardversion (P/N A2B0009), whichplugs into slot 0, has hardware andsoftware switching to select eitherInteger or APPLESOFT BASIC. Itfrees up 10K of RAM space foryour programs. Available in July,the APPLESOFT ROM card'sregular price is $200; but throughJuly 31 only, it will be introductory­priced at $100 a genuine bargain.

MACRO ASSEMBLER/EDITOR ­Just a note to let you know that weare working on a powerful, multi­pass Macro Assembler and Editor.This new APPLE II package willrun with either tape or disk storage.We plan to release it in September,so look for more details in theAugust issue of CONTACT.

- As a convenienceto APPLE users, starting in July wewill offer a cassette recorder, a9-inch B/W video monitor, and twomatrix printers - the Centronics779 and the MICROPRINTER-PI.We'd also like to remind you thatwe already stock the HeuristicsSpeechlab™ voice recognition unit(P/N A2M0015, $189), and Moun­tain Hardware's Introl™ a.c.master control unit (P/N A2MOO 12),and a.c. remote controller (P/NA2M0013, $329).

NEW SOFTWARE - A host of newsoftware is now available from theApple Software Bank. Watch fordescription information inCONTACT No.3.

APPLE COMPUTER PRODUCTS

These programs are now available/1'0111 your Apple dealer:

REQ'DMEMORY16K Checkbook Cassette

· A2TOOOI/$20.0016K Startrek/Starwars Cassette

· . . . . .. A2T0002/$15.004K Color Demo/Breakout

Cassette· A2T0003/$7.50

16K Applesoft II/F.P. Demo(w/Manual) Cassette· A2T0004/$20.00

16K Hi Res Graphics/Hi ResShapes Cassette· A2T0005/$7.50

4K RAM Test Cassette· A2T0006/$7.50

4K Color Math Demo/Hangman· . . . . . .. A2T0007/$7.50

8K Blackjack/Slot MachineCassette· . . . . . .. A2T0008/$7.50

4K Biorhythm/MastermindCassette· A2T0009/$7.50

48K Apple II Capabilities DemoCassette· A2TOOIO/$20.00

16K Finance I - 2 CassettePackage· A2TOOll/$25.00

8K Datamover/TelepongCassette· . . . . . .. A2TOO 12/$7 .50

I

Page 4: New local APPLE II user groups - Brutal Deluxe

I16K Wari/Othello/Dragon Maze

........ A2TOOI3/$7.5024K Chess

....... A2TOOI4/$15.00

CONTRIBUTED

These programs are the start ofan extensive list to be released overthe remainder of the year. We havereceived nearly 300 programs, mostwithout documentation of any sort.As we evaluate and documentthem, you'll read about them here.We should be ready to supplyprograms from the Bank bySeptember.

GAMES

Life (Hi-Res Version)4K Bagels - A Number Guessing

Game16K Applevision - An Audio/

Visual Hi-Res Demo4K Johann S. Apple - Makes

Apple a Musical Instrument4K Catch - A Ball-and-Paddle

Game4K 23 Bricks - A NIM-like

Game of Strategy

EDUCATION

16K Nations and Capitals ­Multiple-Choice Quiz

16K Differential Equation Solver8K Classifier - For Building

Decision Trees

UTILITIES

24K Tax - A Guide to 1977Forms 1040 and A

16K Base Conversion - ForHex/Decimal Conversions

24K Rotation - A 3D CubeRotates With TruePerspective

NEW SERVICES Be sure towatch CONTACT No.3 forannouncement of an industry first ­an exciting new service that allowsApple users to get current stockquotes, financial news, and otherinformation over the phone,through the new CommunicationsIn terface Carel.

by Phil Roybal, Marketing Mgr.

Writing this second issue ofCONTACT, I'm reminded of myfavorite way to start a lecture -.with an analogy. You see, a news­letter (and a lecture) is like a well inthe center of a village, a well fromwhich all the villagers draw theirwater. All who pass the well havean equal chance for the water. Andfor that chance, all pay the samefee - the journey to the well. Butwhile the fee is the same for all,each leaves the well with a differentamount of water. Some get nothingfor their trouble, and some merelya cupful. But some leave with afull bucket.

At the well of information, thebuckets are questions. And thisbrings me to the point of thiseditorial. CONTACT is your news­letter. Its purpose is to expand yourenjoyment and use of your com­puter, and to that end CONTACTwill feature applications and intro­duce products of interest to you.

Now, we've done the first twoissues of CONTACT by the seat ofour pants because the time's beentoo short to get your feedback. Butfrom now on it's up to you. ForCONTACT to grow into a healthyand useful tool it needs your feed­back: questions ... suggestions ...criticism. With such guidance,CONTACT cannot help but succeed.

On the other hand, if your tripto the well leaves you still thirsty,perhaps it's because you bring onlya cup, not a bucket. The moral? Ifyou don't see what you want here- ask for it! (But please, please,when you write us, put your fulladdress on your letter, not just theenvelope; and if you call, give usyour area code. That way, we'llmake contact.)

Had sOlne printer card problems?Here's why, and the flx.

The original printer-card firm­ware uses the screen window widthas the controlling parameter to setthe margin for BASIC listings andTAB functions. This means thatwhen your printer's line length isset at 132 columns, for example,the system display is set at 132characters/line. We didn't thinkthat this would cause a problem,because printer margins greaterthan 40 characters and screendisplays are not allowed to co-exist.

But there's a catch when anyscreen clear functions are execu ted.The system uses window width tobound the clearing operations,which is a direct command notdetectable by the printer carel. Butthe keyboard input routine executesa "clear to end of line" when it getsa carriage return. Since the windowwidth can be at well beyond the40 columns, memory from thecurrent cursor position to well pastthe normal boundary will be set to"space" ($AO). If the cursor is atthe bottom of the screen, this cancause addresses from $800-up to beset to $AO. Simply setting theprinter width on the keyboard withICl32 N (CR), with the cursor atthe bottom of the screen will causethese locations to be bombedbecause the window width gets setbefore the (CR) is executed. SinceAPPLESOFT starts at $800 andInteger BASIC variables start at$800, bad things will happen for sure.

Page 5: New local APPLE II user groups - Brutal Deluxe

1

So ... to reduce the,possibilityof problems with APPLE's ParallelPrinter card, do these things:

1- I-lome the cursor (ESC @,

or CALL -936, in BASIC)prior to typing printercontrol sequences that setthe column width past 40columns.

2- Do not use any screen orline clear operations whenusing the printer with thecolumn width set past 40columns. Then be sure toreturn the line length to40 columns before turningoff the printer card withPR#O.

If you're using the revisedprinter card with PROM Pl-02, addthis:

3- To perform the vertical tabin Integer or APPLESOFTBASIC on the printer, thecommand

POKE 36, (Tab distance)should be used in place ofthe TAB or VTAB command.

The good earthAPPLE II must be grounded ­

either Jiia its three-wire power cordinserted into a pl'Operly groundedthree-wire outlet, or by a wireinserted between APPLE's metalbase plate and one of the plate'smounting screws. In the latter case,you must mn the gl'Ound wire to a(preferably Jiel)! close) ground along, long Inetal rod driJien into the

earth, and connected to APPLE Jiiaa heaJiy wire, or a wire connectionto the cold-water systern (but makesure you haJie metal piping),Grounding eliminates any possibilityof the existence ofa floating poten­tial, which can be detrimental toyou, to APPLE, and to proper tapecassette operation.

Get your head straightCassette tape recorders ­

whether expensive or inexpensive ­often suffer a misalignment of theirplayback head during shipping andother handling. Such misalignmentcauses azimuth error, which isdeath to the high-frequency re­sponse (particularly on units with­out a tone control) so necessary toaccurately transfer data. But anyaudio shop technician can readjustthe azimuth alignment; a skilled earalone is often sufficient to do thejob. Your original APPLE pre­recorded tapes are excellent align­ment references, because theyare recorded with professionalequipment maintained to thehighest professional standards.

Errata for the errataOkay, okay ,- so we've got the

correct our corrections. The errorswe're taling about show up in ourmemo of April 17, 1978, "APPLE­SOFT II", on pages 5 and 8.

Page 5 of the memo discussescommands for APPLE II's HIRESgraphics video mode. The items tobc corrected concern themselveswith the commands HGR andHGR2, and their descriptions.

The HGR cOlnmand must beused with ROM. Why? You'llfind out when we finish the sen­tence we left unfinished in HGR 'sdescriptiJ!e paragraph. The thirdsentence should read, "DO NOTuse this command with cassettetape (RAM) Jiersion of APPLE­SOFT as it will wipe out APPLE­SOFT itself, which resides ill page1 of HIRES graphics between 8Kalld 16K. Besides finishing thethird sentence, rnake it the last onein the HGR paragraph by delet­ing, "Example 2() sets . .. bottonlof screen. "

As for the HGR2 command ­it is for use with the RAM J!C/'sion.Our error? To the beginning of thelast sentence ofHGR2 's descriptiJieparagraph we cleJierly added twosimple words that reJiersed ourmeaning - "DO NOT. .. ". Pleasedelete these words; the last sen­tence should read, "Use this com­mand with cassette tape (RAM)Jiersion.

Finally, on the last page (page 8)of the rnemo, the opening sentenceof Section IV reads, "... depress'RETURN' key - or you haJieaccidentally depressed the'RETURN' key, then type:" Well,ifyou do what that sentence tellsyou to do, nothing will happen."RESET" is the word intended;sirnply delete both "RETURNs ",replace each with "RESET", andthe corrections to the rnemo arefinished.

ps. ffyou haJien 't got a copyof the menlO in question - pleasewrite and we'll send you one (withcorrections, of course),

Page 6: New local APPLE II user groups - Brutal Deluxe

Ij 1

There is a way to stop APPLEII's LIST operation. You must gointo the MONITOR and enter thefollowing bytes of hex:

3DA:A9 E3 85 36 A9 03 85 3760 RETURN

:48 AD 01 CO 10 08 AD 11 COAD RETURN

:01 CO 10FBAD 11 C0684CFO RETURN

:FD 4C DA 03 RETURN

After loading the hex code, pressCONTROL Y to activate thisStopList routine.

Now we try listing memory byentering O.FFF RETURN. Letsome lines go by, then press anykey. If you've done everything cor­rectly, the scrolling will halt. Nowpress any other key and the lineswill again scroll. This routine willstill work when you go back intoBASIC. But if for any reason youpress RESET, you must reactivatethe routine by going back intothe MONITOR and pressingCONTROL Y.

How does it work? Well, toprint a character on the screen,APPLE II uses a routine located inMONITOR. APPLE goes to theroutine by finding its address inlocations 54 and 55 (36 and 37 inhex). But entering a CONTROL Yreplaces this address with theaddress of the Stop List routine.You catch APPLE because it alwayschecks for a Stop List commandbefore printing any character. Soft­ware engineers call such a feature ahook, and use it to make program­ming just a bit more handy.

Tony HughesTHE APPLE CORESan Francisco, Calif.

OPTION 1 was GRAPHICSCOMMANDS WITHOUTLET OR REM STATE­MENTSOPTION 2 was LET ORSTATEMENTS, BUT NOGRAPHICS

After you answer you will beprompted to play the old programtape. After CONVERT has finishedreading and processing the old tape,it will ask you to record a secondtape. This second tape will be youroriginal program converted intoAPPLESOFT II. If any errors arediscovered during the conversionprocess, you will be given self­explanatory messages.

CONVERT

PUKE 34,105 PRINT "!;AS PROGRAM !;RITTEN IN OPTION lOR": PRINT "OPTION 2?

PRINT "OPTION 1: GHAPHICS COMI1ANDS !H THOUT"

6 PRINT" LET OH HEI'1 STATEI1ENTS": PHINTOPTION 2: LET AND REt1 STATEt1ENTS BUT NO

GRAPHICS "7 INPUT "OPTION #",0: IF 0<>1 AND 0<>2 THEN 7

10 CALL -936: PRINT "PUT APPLESOFT PROGRAM TAPE IN RECORDEH, ": POKE 60. Z: POKE 61,Z: POKE 62.2: POKE 63, Z:F=1536:B=4096

20 INPUT "PRESS THE PLAY BUTTON, THEN HIT RETURN", M: CALL -25925 IF PEEK (I )<128 THEN 30: PRINT"

4 PRINT"

PRINT "THE TAPE JUST RECORDED CAN Nml BE LOADED INTO APPLESOFT H, ": END

CONVERTING,40 IF B>=E THEN 1000: A= PEE~{ (B) +F I'lOD 256: POKE B, A MOD 256: POKE B+ 1, PEEK (B+ 1 ) +F /256+ (A)

255)50 FOR 0=0+4 TO 0+999: T= PEEK (B): IF T<133 THEN 250: IF T0135 AND T0142 OR 0=2 THEN 200:

C~O

55 IF T<>142 THEN 60: T=137: GDTO 25060 C=C+l: U= PEEK (C): IF U=32 THEN 60: IF U=67 OR U=71 OR U=72 DR U=80 OR U=86 THEN GOTO U:

PRINT "BAD. STATEHENT IN PROGRAM Il: GOTO 250

67 T=160: GOTO 9071 T=136: GOTO 9072 T=142: GOTO 8780 T=141: GOTO 9086 T=14387 CC=Z:D=O88 0=0+1: IF PEEI~ (0)<>44 AND PEEK (0)<>58 AND PEEK (0) THEN 88: IF PEEK (0)=44 THEN 89: PRINT

"OAD STATHIENT IN PROGRAM!": GOTO 25089 CC=CC+I: IF CC=1 THEN 88: POKE D,19790 POKE C,32: GOTD 250

199 REM : MAP OLD TOKENS TO NEW200 IF T)195 THEN 250:T=T+l+(T)134)*34+(T)139)+(T>160)+(T>177)*2250 POKE D, T: IF D/500*500=B THEN PRINT "STILL CONVERTING'"251 IF T<>O THEN NEXT B: 8=8+1: GOTD 40878 CC=ZD=C

1000 CALL ~936: POKE 60, z: POKE 61, z: POKE 62, 2: pm~E 63, z: PR INT "DONE!" INPUT "START RECORDING,

THEN HIT ·RETURN'''.AS1001 POKE E-2, Z: POKE E-l, z: POKE E, Z10050=£-4096: POKE Z,D MOD 256: POKE 1,0/256: POKE 2, z: CALL -3071010 POKE 60, z: POKE 61,16: POKE 62, E MOD 256: POKE 63, £/256: CALL -3071020 PRINT "0. K.

TAPE READ ERROR! ": PRINT "TRY RE-ADJUSTING VOLUI1E CONTROLS ONTAPEPLAYER, THEN RE-RUN THIS PROGRAM"

30 pm~E 60, z: POKE 61,16: E= PEEK (Z)+ PEEK (1 )*256-6657: POKE 62, E MOD 256: POKE 631 E/256: CALL-259

35 CALL -936: PRINT II

o TEXT CALL -936: VTAB 3: PRINT "APPLESOFT CONVERSION PROGRAM: "2 PRINT"

CONVERTS OLD APPLESOFT PROGRA!'1S TOil: PRINT "APPLESOFT ][ FORNAT II

3 PRINT"CfJPYR I GHT 1978 APPLE cm'1PUTER/ INC

CONVERT

ANPROGRAM

Programs written in APPLE­SOFT BASIC and saved on tapecannot be LOADed and RUN withAPPLESOFT II. But there is a wayto use them without retyping - bymeans of our CONVERT program,which we list below.

The CONVERT program runsin Integer BASIC, accepts a tape inAPPLESOFT BASIC, and producesa new tape in APPLESOFT IIBASIC. To use CONVERT, LOADthe CONVERT tape. It will ask youif the old program (written inAPPLESOFT BASIC) usedOPTION 1 or OPTION 2.

A TIMELISTINGS - A LITTLE

6

Page 7: New local APPLE II user groups - Brutal Deluxe

1

argument, while CHR$ returns asingle character equivalent of itsdesignated decimal-ASCII numberargument.

Examples: Say, M$=="!\1" is somestring variable of interest to us inAPPLESOFT. When you tell APPLEto PRINT ASC (M$), APPLEresponds with a "77" on its screen.(Remember, first character only;decimal 77 in ASCII correspondsto the letter "M".) On the otherhand, tell APPLE to PRINT CHR$(77), and you get the letter "!VI".

A rather simpleminded exampleof the use of this pair of functionscould be to associate them with theRaNDom function in a program togenerate random alphanumericsequences.

Except that you cannot do itin Integer BASIC, because, alas,Integer contains only the ASCfunction. But don't despair, for allis not lost. Below we give you avery short routine that gives IntegerBASIC the equivalent of a CHR$function. Insert it in you I' prograrnswhereJier you wish to and -- presto!- you can convert decimal numbersto their A SCII character equivalents.

INTO:

FUNCTION

operated upon, a string-variablename ends with the $ symbol.APPLE can operate on string vari­ables, in whole or in part, just as itoperates on numeric variables. Andthis ability to manipulate strings ­to reformat them, etc. - is a power­ful tool.

Concatenation is an importantfacet of string manipulations. Toconcatenate strings means to appendone to another, to "series connect"hitherto independent character setsin order to operate upon them as asingle entity. The concatenationfunction does exist in APPLESOFTand APPLESOFT II BASICs but,unfortunately, not in Integer BASIC.

There is, however, a simple rou­tine that will let you concatenatestrings wi th Integer BASIC. It'slisted below, and operates by defin­ing each string, finding the lengthof the first, and telling APPLE totack the start of the second stringto the end of the first string, and soon down the line. The exampleshown here is for two strings only;the maximum length of any con­catenated string is, of course,limited to 255 characters.

HOW TO SET LOMEM WITHOUTHARDLY TRYING

LOMEM is the start of the vari­ables storehouse; HIMEM marks thetop of the program store. Betweenthe two is your working space.Entering BASIC with Be will setLOMEM to 2048, the normaldefault value. But there are times(when using the Heuristics Speech­lab™ for instance) when LOMEMmust be set to a different value.The pro will incorporate such anoperation right into his programs,rather than leaving it to chance.

Well, then, is there an easy wayto reset LOMEM inside a program?The answer is yes, and we guaranteethat your life will be simpler as aresult. The few statemen ts shownbelow will set a new LOMEM withinan existing BASIC program. Ofcourse, doing so will destroy exist­ing variables, so do it before any aredefined in the program. You can, infact, insert this little routine at thestart of your program so that itconveniently does the whole job foryou. Actually, POKE statements 30and 40 are the ones that do thework, the rest of the program isshown as an example, and figuresout what data to POKE.

.....'::

UN

/!i

r.

iiHOW TO GIVE A NUMBERSOME CHARACTER

Both APPLESOFT and APPLE­SOFT II contain the functions ASCand CHR$. These are opposites ­complementary functions, if youwill - in that ASC returns thedecimal ASCII number equivalentof its designated string-variable

A string is a series of characterszero to 255 characters in length. T~symbolize that it is a string being

STRING + STRING ==CONCATENATION

1

I

Page 8: New local APPLE II user groups - Brutal Deluxe

I10260 Bandley Drive

Cupertino, California 95014(408) 996-1010

j 1

FROM VIDEO TO UHF - Anothermodulator unit, this one from ATVResearch, is available to transformAPPLE II's video output to a video­modulated UHF signal. For B/W orcolor, the unit - called the Micro­Verter model MVX-500 - outputsa signal tunable to one of fourchannels above television channel1LL It does not require direct con­nection to your television receiver'santenna terminals, and it is poweredby four AA cells, which the manu-­facturer claims will last in excess of1000 hours. Suggested price: 5,from dealers or factory direct. ATVResearch, 13th and Broadway,Dakota , NE 68731 ;(402) 987-3771.

-- The Panographic-84is a precision x-y plotter with 100­step resolution in both directions; itis driven by zero-drift, adjustment­free stepping motors. Plotter pro­grams can be written in BASIC ormachine-language. Interface toAPPLE is via our Parallel Printercarel. Soon to be available is a chartreader that will allow you to usethe plotter as an input device. Theassembled plotter, with computer­opera ted pen lifter and moldedcover, sells for $1400 (delivery 60days ARO); as a kit, without lifterand cover ($995 (90-days delivery);the pen lifter kit is $85; the cover,also $85. Pan Dynamics, Inc.,2950 Nebraska Ave., Santa Monica,CA 90404; (213) 829-2332.

CO-RESIDENT ASSEMBLER ­Microproducts has introduced a co­resident Assembler claimed to bemuch more powerful than MOSTechnology's Assembler for the6502 MPU, and thus better able toexploit APPLE n's advanced fea­tures. The new Assembler has two­pass implementation, and incorpo­rates a ten-command text editor,and a Microproducts printer driverfor which the company makes anAPPLE II/PR-40 printer interface.One of the features of the Assembleris that it permits the text file to be

saved 01: loaded from tape. Micro­products, 1024 17th Street,Hermosa Beach, CA 90254;(213) 374-1673.

TAPE RECORDER CONTROL­ROR and Candex Pacific haveannounced a relay activator to startand stop audio tape recorders viathe REMOTE jack, The activatorplugs into the GAME I/O connectoron the Apple II, and is controlledwith PEEK and POKE commands.Its connector allows the gamecontrols to plug into it so that bothdevices can be used simultaneously.

Retail price is $24.95, andquantity discounts are available.Delivery is 30 days ARO. Technicalquestions should be addressed toCandex Pacific, 693 Veterans Blvd.,Redwood City, CA 94063;(415) 364-8427.