COMPUTE! — June 1983, issue 37
From the originals
13 scansMachine-transcribed text and image descriptions. Check the linked original for uncertain words or fine print.
These are transcribed pages from the documents, not the full publications. Open the original for the remaining pages.
PDF page 12
READERS' FEEDBACK The Editors and Readers of COMPUTEI Copying VIC/64 DOS Wedge I've tried to save the DOS support prog ra m from the test/demo diskette supplied with the VIC 1541 disk drive to one of my own. I also saved the loader. Both SAVE and VERIFY correctly, but w hen I run the load e r my Comm odo rc-64 s pits back SYNTAX ERROR IN 52940! Why does it do this, and ii possibl e, how do I save it to another disk? Erik Bard You cn 111 10/ SAVE or LOAD these progrn111s ns you would n BAS IC program. This is the reason you nre getting SYNTAX ERRORs . The DOS 5.1 program is in machine Jnngunge, not BASIC Machine language progrn 111s have to lie sm1ed n11d fonded inn s11rcinl wny that sp~c ifies u here they cn 111e fr o111 in 111e11wry. If yo11 wish to copy this progrn111 to your own disk, here is the procedure: 1. First, you'll need n 111achi11e lans uage 111011itor up n11d n11111ing in your 64. Supcmwn-64 (COM- PUTE!, /n11unry 1983) is n good 111onilor lo use for this purpose. Any 111onitor or nsse111L1/rr will dons long ns it does not res ide in the SCCOO - $CFFF range (dec i11111/ 5222..J - 53247). 2. While r111111ing fro 111 witl1 in tl1e 111onitor, LOA D the DOS 5. 1 progrn111into111e11wry by entcri 11g L "DOS 5 .1", 08. 3. Pince the diskette you wish to save the program to into tlir disk drive, nnd save the progrn111 /1y e11teri11g S " DOS 5. 1",0S,CCOO,CFSA. 4. Pince thc Co111111odore test/de 1110 diskette /Jack into the disk drivl!, nnd fro 111 BASIC, LOAD the 64 Wedge fonder in to me111ory. 5. Plncc your new diskette Lmck into !he disk drive, and save the BAS IC progrn111 in the 11om1 nl 11innnrr (i.e.: SAVE "C-64 WEDGE",8). 6. Now to run your new copy of the DOS 5.1 progrn 111 , si111 ply fond the 64 WEDGE into your syste111 , and RUN it ns usual . Epson Printer's Graftrax Several renders have inquired about the review of the Grnftrax-80, published in the December 1982 issue of COMPUTE!. Specifically , !hey want to know if it is possible to redefine the MX-80 codes to npproxi111nte those of the Ce11tro11ics 737. That wny, software written 10 COMPUTE! June 1983 for the 737 could run without 111odificntio11 . The Epson MX-80 wilh Grnftmx-80 ca11 m-fefine its esca pe codes. These nre printer functio ns controlled by sending tlie escape clwracter, CHR$(27) , and tlie11 n letter such ns "£"for E111in11ced pri11ti11g. Th ere nre 111n11y other functions, however, that nre co11trolled l1 y sending n11 ASCII value less tlin11 32 (a control cl1nrnc- ter), sucl1 ns CHR$(1 4), wliich signals double-wide characters. These fu11ctions can not be redefined. Current MX-80 printers nre being shipped with Grnftmx Plus. While Gmftrnx Plus i111proves on Grnftrnx-80 by adding 1111derli11ing, s11prr- n11d sub- scripting, n11d fas ter graphics, so 111e fu11ctio11s of Gmf- trax-80 were dropped to 111nke roo 111 for the e11hn11ce- 111e11ts. Epson feels flint those f 1111ctio 11s were 110t used very often n11ywny. Specifically, ihesc f1111ctio11s do 110/ carry over fro 111 Grnftrnx-80 to Grnfirnx Plus: TRS -80 graphics, Ver tical Tab , and escnpr code redefin ition. Yo u cn 11 find out which version you have by sending the printer n CHR$(129) with so 111ethi11g like LPRINT CH R$(129) . If you get n s111nll graphic box, yo11'11e got Graft rnx-80. If you don't know 1ul1ellicr you linvl! nny kind of Gmftrnx, send tl1e pri11lcr: LPRINT CHR$(27) ;" 4 Hello there! " If yo11 get italics, you've got Gmftmx. Rounding Numbers In using the simp!e prog ram below, I encountered a (poss ible) bug in Applesoft's handlin g of vari- ables. After the progra m is RU , a nd a n in put oi 3,4,5 is give n (a known rig ht tria ngle), 1 get an output of "NO". When I PRINT X a nd D, l get 5 and 5, res pectively. But w he n I PRINT X = D, I ge t a re ponse of zero, m ean ing "fa lse." Is this a known e rro r, or is this a bu g in my prog ram? Ke n Carpenter l PRINT"THIS PROGRAM WILL DETERMINE THE " 2 PRINT"PYTHAGOREAN TRIPLE" 3 PRINT"INPUT 3 NUMBERS" 10 INPUT A,B,D 40 X=SQR((A*A)+(B*B)) 50 IF D=X THEN INVERSE:PRINT"YES":GOTO 70 55 INVERSE 60 PRINT"NO" 70 NORMAL:GOTO l The proble111 that you speak of here is co 111111011 to most fo rms of BASIC and has to do with the manner in which
Reading notes: OCR spacing artifacts, e.g. 'ra m', 'Comm odo rc-64', 'Gmf-trax' split words Reading order of the Rounding Numbers program listing and its answer text is uncertain Some characters garbled, e.g. 'ii possibl e', 'cn 111 10/' and 'Gmftmx' and 'Gmftrnx' variants
- Printed product names
- Epson MX-80 · VIC 1541 · COMPUTE! · Applesoft · TRS-80 · DOS 5.1 · C-64 WEDGE
- Printed dates
- December 1982 · June 1983 · 1983
- Languages
- English