GENWiki

Premier IT Outsourcing and Support Services within the UK

User Tools

Site Tools


archive:apple:applesoft.tips
                     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
/data/webs/external/dokuwiki/data/pages/archive/apple/applesoft.tips.txt · Last modified: 2019/05/17 09:32 by 127.0.0.1

Was this page helpful?-10+1

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki