Advanced Machine Language
Not covered elsewhere: • video controller, interrupts, timers, clocks, I/O. real time, extended BASIC, more. 2t0pp $14.95
PRINTER BOOK C-64/VIC-20 Understand Commodore, Epson-compatbie printers and 1520 plotter. Padted: utilities: graphics dump; 3D-plol; commented MPS801 ROM listinos, more. 330pp $19.95
Abacus
|
ItiittiWW | |
|
m |
mu |
SCIENCE/ENGINEERING ON C-64 In depih intro to oomputers in science. Topics: chemistry, physics, biology, astronomy, electronics, others. 350pp S19.95
CASSETTE BOOK C-64/VIC-20 Comprehensive guide; many sample programs. High speed operating system fast lile loading and saving. 225 pp $14.95 IDEAS FOR USE OH C-64 Themes; auto expenses, calculator, recipe file, stock lists, diei planner, window advertising, others. Includes listings. 200pp $12.95 COMPILER BOOK C-64/C-128 All you need to know about compilers: how they work; designing and writing your own; generating machine code. With working example compiler. 300pp $19.95
C-128 and C-64 frodemafks of Commodore Business Machines Inc.
Adventure Gamewrlter's Handbook
Step-by-step guide to designing and writing your own adventure games. With automated adventure game generator. 2G0pp $14.95
PEEKS & POKES FOR THE C-64
Includes in-depth explanations of PEEK, POKE, USR, and other BASIC commands. Learn the "inside" tricks to get the most oul of your'64. 200pp $14.95
Optional Diskettes for books
For your convenience, the programs contained in each of our books are available on diskette to save you time entering them from your keyboard. Specify name of book when ordering. $14.95 each
Software
P.O. Box 7219 Dept. C8 Grand Rapids, Ml 49510 ■ Telex 709-101 -Phone (616) 241 -5510
Optional diskettes available for all book titles - $14,95 each. Other books & software also available. Call for the name of your nearest dealer. Or order directly from ABACUS using your MC, Visa or Amex card. Add $4.00 per order for shipping. Foreign orders add $10,00 per book. Call now or write for your free catalog. Dealer inquires welcome-over 1400 dealers nationwide.
CP/M USER'S GUIDE
Essential guide for everyone interested in CP/M on the 128. Simple explanation of the operating system, memory usage, CP/M utility programs, submit files & more $19 95
Abacus IHIH'I Software
Presents, dozens of programming quick-hitters. Easy and usetut techniques on the operating system, stacks, zero-page, pointers, the BASIC interpreter and more $16.95
Abacus imUllJSoft.,
Presents, dozens of programming quick-hitters. Easy and usetut techniques on the operating system, stacks, zero-page, pointers, the BASIC interpreter and more $16.95
Essential guide for everyone interested in CP/M on the 128. Simple explanation of the operating system, memory usage, CP/M utility programs, submit files & more $19 95
Abacus imUllJSoft.,
Abacus IHIH'I Software
PEEKS & POKES
CP/M USER'S GUIDE
¡SPACE)RUN." 49152 DATA 162,35,189,12,19 2
49157 DATA 15 7,26,20,202,16 49162 DATA 247,96,173,219,8 49167 DATA 201,177,208,17,1 69
49172 DATA 169,141,219,8,16 9
49177 DATA 32,141,220,8,165 49182 DATA 197,201,31,240,2 50
49187 DATA 96,169,177,141,2 19
49192 DATA 8,169,251,141,22 0
49197 DATA 8,96
After POKEing a short ML routine into memory, the program instructs you to load SpeedScript (3.0 or higher), enter SYS 49152, then run SpeedScript. Try toggling word wrap on and off by pressing CTRL-V (ordinarily the Verify function).
If you use tape instead of disk, you may not want to give up the Verify function but can easily afford to live without the Directory command, which is useless with tape anyway. In line 49157 of the program, change the 26 to 98. Then change the checksum value in line 10 from 6412 to 6484.
When you're satisfied that the modification works, exit SpeedScript. Disk users should enter POKE 2895,23 to change the Verify command from CTRL-V to CTRL-W (for Word wrap). Tape users should enter POKE 2898,23 to change the Directory command from CTRL-4 to CTRL-W. After that's done, resave SpeedScript under a new filename that reflects the change.
Bruce S. Gordon
Thanks for the suggestions. Incidentally, the penalty you pay for turboloading with SpeedScript is that available text memory is reduced from 43,445 characters to 39,299 characters.
Improved Atari Line Delete
Like many BASIC programmers, I usually number my programs with an increment of 10. Often, however, after editing and debugging, there is no longer any pattern to line numbering. This short utility program has a little more versatility than "Line Deleter For Atari," published in the January 1986 issue of COMPUTE!. As in the former, LIST the utility to disk or cassette, then load your BASIC program and ENTER this utility. Type GOTO 32700 in direct mode, then input the beginning and end range to be deleted. You can now delete only existing line numbers. When the deletion is finished, press RETURN to remove the utility from your BASIC program.
32700 REM BLOCK DELETE EN TER AND GOTO 32700
32701 TRAP 32713:? "START ,END"iINPUT START,E N
32703 B=PEEK(136)+PEEK<13 71»256:X = BIQQ = OiPOS I T I ON 2,2
32705 IF LN< START THEN X = X+PEEK<X+2):GOTO 32 704
3270t IF LN=32700 THEN 32 710
32709 X=X+PEEK(X+2)!GOTO 32704
32710 TRAP 327 1 3 i ? "32700
REM PRESS RETURN T 0 REMOVE BLOCK DELE TER"17 "CDNT"
32711 POKE 842,13iP0SITI0 N 2,0:STOP
32712 POKE 842, 12I GOTO 32 700
32713 ? CHR*(125)IPOSITIO N 2,2 i FOR SS = 32700 TO 32714;? SSsNEXT SS)? "POKE 842,12"
32714 POKE B42,13iPOSITIO N 2,0i STOP
Gary Rindosh Thank you for the program.
Dvorak Keyboard For 64
After 25 years of typing the "qwerty" way, I'd like to take advantage of a Dvorak keyboard toggle included in a SpeedScript enhancement program for the Commodore 64. What resources are available to help me learn the Dvorak system? Are keyboard caps for the 64 available so that I can cover up the normal keys with Dvorak caps? It's going to be hard giving up the old system, but everything I've heard about the speed and efficiency of the Dvorak keyboard makes me eager to give it a try.
John Willis
If your enhancement program can emulate the Dvorak keyboard within SpeedScript, then no hardware is required to convert from the conventional typewriter key arrangement—often called qwerty— to the Dvorak scheme. Many office supply stores carry stick-on keycap labels that should suit your needs. We're assuming that you have a diagram which shows the Dvorak keyboard.
The advantage of stick-on labels is that you can still use the computer for other purposes that don't involve a Dvorak keyboard. Most commercial software and virtually all type-in programs in publications like COMPUTE! assume that you have a normal 64 keyboard. If you can find or fabricate blank stick-on labels, you could divide each label into two segments—indicate the Dvorak key on one half and the normal 64 key on the other. This would allow you to switch from Dvorak to qwerty applications at will.
If you don't use the computer for anything other than word processing and decide to convert permanently to the Dvorak scheme, you could rearrange the existing keycaps. This operation doesn't require any special tools or electronics expertise. While you have the old keycaps off, you can take advantage of the opportunity to clean the keyboard, too. However, rearranging the keycaps will void any warranty that may be in effect, since you must open the case of the computer. And though the operation is reversible, you should consider it semipermanent because of the time involved in switching the keycaps.
To rearrange the keycaps, remove the three Phillips screws in the bottom of the computer's case, then gently separate the two halves of the case. Carefully unplug the two sets of wires that join the upper and lower halves, then remove the eight Phillips screws that hold the keyboard assembly to the upper half. The 64's keycaps are held on by friction, so you can lever them off using a thin-bladed screwdriver or similar device. The alphanumeric keycaps are all the same size and can be interchanged freely. Of course, you shouldn't disturb keys such as RESTORE, which serve a special purpose. While the keycaps are off, you may want to clean the area around each keyswitch. In many cases, cleaning is all that's needed to fix keys that stick or bounce (repeat when they shouldn't).
To replace a keycap, press it gently but firmly onto the shaft of the keyswitch. After all the keycaps are back in place, reverse the disassembly procedure: Screw the keyboard assembly back into the upper half of the case, then replace the two sets of wires that join the halves. Finally, rejoin the two halves of the case, turn the computer over, and replace the three screws on the bottom. If you've never performed the operation before, you should plan to spend a couple of hours removing, cleaning, and replacing the keycaps.
By the way, you might be interested to learn that there is some controversy surrounding the efficiency claims for the Dvorak keyboard. Most of the frequently quoted siflfisfics (like 35-50 percent increase in speed and 90 percent reduction in finger travel) come from August Dvorak's own research. An independent investigation by Donald Olson and Laurie Jasinski, published in the February 1986 issue of BYTE magazine, suggests that these figures are inflated. While agreeing that the Dvorak arrangement is somewhat

¡¡Publications,
ÜriSimPVa n g u a g e propra« «orKs ort flvf different counters l snail tajh, The first hurdle i; fin af* place to^put tht code, Thr language progränthäv
. .... . lace to put tiif code, thougi. the caSett* buffer if in obvious Choice. It1! located i/i different Places on various Machines, and putting HC there creates Probiens for tape users. Instead, the Proofreader usee 296 bytes of BASIC programming space.*
Kt-moey, the Proofreader checks '-- ---whtcii conputer you're using. Then it «tor«« the ML *t the bottom of firtSIC Protects itse^^bg *oying_
her in i roofre*<
With MLM. Kote that because the the coMPUtor'i start-of-l to a spot 256 bytes higher in nenory. Once that I done, th* Proofreader activates the ML routine and erases itself «ith MLM. Kote that because ti £»89ir*ader overwrites its first few Mtl.C line«, It's critical not to delete anything fro« the first portion
Subscribe to COMPUTE! today through this special introductory money-saving offer, and you'li be getting a lot more than just another computer magazine. That's because each issue of COMPUTE! comes complete with up to 20 all-new, action-packed programs.
Subscribe now and you can depend on a steady supply of high quality, fun-filied programs like Hickory Dickory Dock, Switchbox, TurboDisk, Home Financial Calculator, Turbo Tape, SpeedScript, SpeedCalc, and hundreds of other educational home finance, and game programs the entire family can use all year long.
The superb programs you'li find in each issue are worth much, much more than the low subscription price.
And there's more to COMPUTE! than just exciting new programs. Month after month, COMPUTEi's superb articles deliver the latest inside word on everything from languages to interfaces...from programming to disk drives.
Whether you're a novice or an experienced user, COMPUTE! is the magazine for you. So subscribe today. Return the enclosed card or call 1-800-247-5470 (in Iowa, 1-800-532-1272).
Do it now.
Post a comment