textfiles/apple/applesoft.tips

134 lines
2.3 KiB
Plaintext
Raw Permalink Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

BEAGLE BROTHERS HINTS!
----------------------
MAKE THE RESET KEY ACT LIKE CTRL-C (TRAPPABLE BY ONN ERR)
TYPE INTO YOUR PROGRAM: POKE 40286,35:POKE 40287,216
ON ERR GOTO 1000 (OR ANY LINE #)
MAKE THE RESET KEY BOOT WHEN PRESSED
FOR X=1011 TO 1015: POKE X,0: NEXT
AT SIGN (@) INSTEAD OF CTRL-D
POKE 43689,192
SCREEN SAVES
HI-RES PAGE 1-BASVE XXX,A$2000,L$2000
HI-RES PAGE 2-BSAVE XXX,A$2000,L$2000
LO-RES PAGE-BSAVE XXX,A$400,L$400
TEXT PAGE-BSAVE XXX,A$400,L$3FF
PREVENT CATALOG
POKE-21503,16
POKE INSTEAD OF FP COMMAND
POKE 2049,0:POKE 2050,0
PUT THESE AT THE END OF YOUR PROGRAM, IT'LL ERASE ITSELF
INVERSE, FLASH, & NORMAL WITH POKES
INVERSE-POKE 50,63 FLASH-POKE 50,127 NORMAL-POKE 50,255
LINE FINDS
WHAT LINE IS OPERATING, PRINT PEEK(117)+PEEK(118)*256
WHERE ON ERR WAS ENCOUNTERED- PRINT PEEK(118)+PEEK(119)*256
DOUBLE QUOTES IN A PRINT STATEMENT
TYPE: 10 Q$=CHR$(34)
20 PRINT "THIS IS ";Q$"ILLEGAL.";Q$
CHANGE THE CATALOG TRACK-(CHEAP PROTECTION)
A) TYPE 'POKE 44033,XX' (WHERE XX IS NEW CATALOG TRACK)
B) INIT A NEW DISK
1) BOOT NORMAL DISK
2) LOAD A PROGRAM FROM THE DISK
3) TYPE 'POKE 44033,XX' (WHERE XX IS NEW CATALOG TRACK)
4) INSERT PROTECTED DISK (FROM STEP B)
5) SAVE THE PROGRAM
6) TYPE 'POKE 44033,17' (THE NORMAL #)
7) INSERT NORMAL DISK AND CONTINUE WITH STEP 2
DISABLE ON ERR FUNCTION
POKE 216,0
FREE MEMORY CHECK
PRINT FRE(0)+65536
TO MAKE SOMEONE BOOT DISK BEFORE RUNNING A PROGRAM
1) PUT IN BLANK DISK
2) TYPE 'POKE 47721,123'
3) TYPE 'NEW'
4) TYPE 'INIT HELLO'
5) NEAR BEGINNING OF PROGRAM PUT:
IF PEEK (47721) <> 123 THEN PRINT CHR$(4)"PR#1"; PEEK (43626)
TIPS
----------
DIVIDE SECTOR COUNT BY 4 TO GET 'K' USED.
STOP WILL DO SAME AS END BUT WILL GIVE # OF LINE PROGRAM ENDED ON.
YOU CAN START A FILE WITH ANY CHARACTER WHO'S ASCII CHARACTER IS ABOVE 63
IF YOU'RE WRITING PROGRAMS THAT SOMEONE ELSE WILL SEE USE 'PRINT SPC(10)'
INSTEAD OF PRINT" "
TO GET THE POSITIVE LOCATION OF AN ADDRESS ADD 65536 TO THE NUMBER.
EG.---> CALL -958 = CALL 64578
TO GET THE ALTERNATE CHARACTERS HOLD DOWN THE 'SHIFT', 'U', AND 'I' KEYS
AND TYPE : 'Y' FOR UNDERLINE
'H' FOR BACKSLASH
'J' FOR LEFT BRACKET