200 lines
6.0 KiB
Groff
200 lines
6.0 KiB
Groff
|
||
1) CAN POKE AT 1024-2039 THE ASCII VALUE OF A DIGIT AND PUT THAT DIGIT
|
||
ON THE CRT. (HEX AT $400). 1024 IS UPPER LEFT CORNER, 2039 IS LOWER
|
||
RIGHT.
|
||
|
||
2) & JUMPS TO MEMORY ADDRESS $3F4, WORKS LIKE A CALL TO THAT ADDRESS.
|
||
|
||
3)
|
||
POKE 32,33,34,35 FOR TXT WINDOW.
|
||
POKE 36,X TO TAB PRINTER (X= ONE LESS THEN SPACES TO TAB.
|
||
POKE 37,X SET CURSON VERT POSITION.
|
||
POKE 50,(255=NORMAL 63=INVERSE 127=FLASH).
|
||
POKE 54,X (CSWL) USER CHAR OUT.
|
||
POKE 55,X (CSWH) USER CHAR OUT.
|
||
POKE 56,X (KSWL) USER CHAR IN VECTOR.
|
||
POKE 57.X (KSWL) USER CHAR IN VECTOR.
|
||
POKE 212,128 TO TURN APPLESOFT INTO RUN ONLY MODE.
|
||
POKE 216,0 CANCEL ONERR.
|
||
POKE 243,X WHERE X=1-255 WILL USUALLY MAKE LISTINGS UN-READABLE.
|
||
POKE 1014,10:POKE1015,165 WILL CATLOG YOUR DISK WHEN THE '&' KEY IS PRESSED.
|
||
POKE 1014,165:POKE 1015,214 WILL MAKE THE '&' KEY LIST PROGRAM.
|
||
POKE 2049,1 TO MAKE FIRST LINE OF PROGRAM LIST REPEATEDLY.
|
||
POKE -16151 TURNS ON DRIVE 1, POKE -16152 TURNS OFF DRIVE 1.
|
||
POKE -16135 TURNS ON DRIVE 2, POKE -16316 TURNS OFF DRIVE 2.
|
||
POKE -16289,0 SETS GAME AN #3
|
||
POKE -16290,0 CLEARS GAME AN #3.
|
||
POKE -16291,0 SETS GAME AN #2.
|
||
POKE -16292,0 CLEARS GAME AN #2.
|
||
POKE -16293,0 SETS GAME AN #1.
|
||
POKE -16294,0 CLEARS GAME AN #1.
|
||
POKE -16295,0 SETS GAME AN #0.
|
||
POKE :16296,0 CLEARS GAME AN #0.
|
||
POKE -16297,0 FOR HGR
|
||
POKE -16298,0 FOR LOW GR
|
||
POKE -16299 PAGE 2, POKE -16300 PAGE 1
|
||
POKE -16300,0 CLEAR PAGE 2.
|
||
POKE -16301 MIXED TEXT AND GRAPHICS.
|
||
POKE -16302 ALL GRAPHICS
|
||
POKE -16303 TEXT
|
||
POKE -16304 GRAPHICS
|
||
POKE -16368 CLEARS KEYBOARD STROBE.
|
||
POKE -21912,X TO SELECT DISKDRIVE WITHOUT EXECUTING A COMMAND.
|
||
POKE 43697,X TO SET THE MAXFILES DEFAULT. NOTE-0 MAY BOMB DOS.
|
||
POKE 43698,X WHERE X=ASCII OF DOS CMND CHARACTER.(NORMALLY A CNTRL D.
|
||
POKE 44505,234 THEN POKE 44506,234 THIS SHOWS DELETED FILES IN CATALOG.
|
||
NORMALIZE BY POKEING IN 48,74 AT SAME LOCATIONS.
|
||
POKE -49167 TURN ON ALTERNATE CHR. SET APPLE IIE. POKE 49166 TO TURN OFF.
|
||
|
||
4)
|
||
PEEK(36) READ CURSOR HORZ POSITION (0-39)
|
||
PEEK (37) READS CURSOR VERT POSITION (0-23).
|
||
PEEK(74)+PEEK(75)*256 CURRENT LOMEM
|
||
PEEK(76)+PEEK(77)*256 CURRENT INTEGER HIMEM.
|
||
PEEK (103) + PEEK(104) * 256 IS THE BEGINNIG ADDRESS OF FP PROGRAMS.
|
||
PEEK (104) IF VALUE = 8 THEN APPLESOFT IN ROM, IF NOT 8, THEN
|
||
APPLESOFT IN RAM OR MEMORY.
|
||
PEEK(115)+PEEK(116)*256 IS CURRENT APPLESOFT HIMEM.
|
||
PEEK(175)+PEEK(176)*256 POINTS TO APPLESOFT PROGRAM END.
|
||
PEEK (202) + PEEK (203) * 256 IS BEGINNING ADDRESS OF INT PROGRAMS.
|
||
PEEK (218)+PEEK(219)*256 WILL PRINT APPLESOFT LINE WHERE LAST ERROR
|
||
OCCURED IF 'ONERR' SET.
|
||
PEEK (222) GIVES ERROR CODE ON ONERR MESSAGE.
|
||
PEEK (225) + PEEK (225) * 256 IS HORIZONTAL POSITION OF LAST HPLOT.
|
||
PEEK (226) IS VERTICAL POSITION OF LAST HPLOT.
|
||
PEEK (232) + PEEK (233) * 256 IS BEGINNING ADDRESS OF SHAPE TABLE.
|
||
PEEK (-16284) PADDLE (3) BUTTON
|
||
PEEK (-16285) PADDLE (2) BUTTON
|
||
PEEK (-16286) PADDLE (1) BUTTON
|
||
PEEK (-16287) PADDLE (0) BUTTON, ALL BUTTONS ARE > 127 IF DEPRESSED.
|
||
PEEK (-16336) WHEN DEFINED AS VARIABLE, CLICKS SPEAKER.
|
||
PEEK (-16352) TOGGLES THE CASSETTE OUTPUT.
|
||
PEEK (-16368) READS KEYBOARD.
|
||
PEEK (-16384) READS KEYBOARD. IF >127 THEN KEY WAS HIT.
|
||
PEEK (-18070) IF VALUE IS 150 THEN IN DOS 3.3
|
||
PEEK (43616) + (43617) : 256 IS LENGTH OF BIN PROGRAM.
|
||
PEEK (43634) + (43635) * 256 IS BEGINNING ADDRESS OF BIN PROGRAM.
|
||
PEEK (46064) RETURN NUMBER OF SECTORS ON DISK. 16= DOS3.3.
|
||
|
||
5) CALLS
|
||
|
||
CALL -144 SCANS INPUT BUFFER
|
||
CALL -151 ENTER MONITOR
|
||
CALL -155 ENTER MONITOR WITH BELL.
|
||
CALL -167 ENTER MONITOR AND RESET
|
||
CALL -198 RING BELL
|
||
CALL -259 READ FROM TAPE
|
||
CALL -310 WRITE TO TAPE
|
||
CALL -321 DISPLAY THE A, X, Y, P, AND S REGISTERS.
|
||
CALL -380 SET NORMAL DISPLAY MODE.
|
||
CALL -384 SET INVERSE DISPLAY MODE
|
||
CALL -458 VERIFY (COMPARE AND LIST DIFFERENCES)
|
||
CALL -550 PRINT HEX VALUE OF ACCUMULATOR
|
||
CALL -657 ALLOWS A LINE OF INPUT (WITH COMMAS AND COLONS) AND NO LINE FEED
|
||
OR PROMPT.
|
||
CALL -662 GET LINE OF INPUT WITH PROMPT, NO LINEFEED
|
||
CALL -665 GET LINE OF INPUT WITH PROMPT, LINEFEED
|
||
CALL -678 WAIT TILL RETURN IS PRESSED
|
||
CALL -670 PERFORM A LINE CANCEL.
|
||
CALL -756 WAIT TILL ANY KEY IS PRESSED
|
||
CALL -856 TIME DELAY. POKE 69,XX TO SET AMOUNT OF DELAY.
|
||
CALL -868 CLEAR FROM CURSOR TO END OF LINE.
|
||
CALL -875 CLEAR WHOLE LINE OF TEXT
|
||
CALL -912 SCROLL ONE LINE.
|
||
CALL -922 CARRAIGE RETURN
|
||
CALL -936 CLEAR SCREEN AND HOME CURSOR.
|
||
CALL -958 CLEAR TEXT FROM CURSOR TO BOTTOM OF SCREEN
|
||
CALL -998 MOVE CURSOR UP ONE LINE
|
||
CALL -1002 RECONNECT DOS HOOKS.
|
||
CALL -1008 MOVE CURSOR LEFT ONE SPACE
|
||
CALL -1036 MOVE CURSOR RIGHT ONE SPACE
|
||
CALL -1184 CLEAR SCREEN AND PRINT APPLE LOGO.
|
||
CALL -1216 SET GR TT CALL -1370 BOOT DISK
|
||
CALL -1401 BOOT DISK (UNCOMMON)
|
||
CALL -1728 DISPLAY HEX VALUES OF X AND Y REGISTOR
|
||
CALL -1953 CHANGE COLOR BY 3.
|
||
CALL -1994 CLEAR VIDIO SCREEN.
|
||
CALL -1998 CLEAR GRAPHIC SCREEN.
|
||
CALL -2458 ENTER MINI-ASSEMBLER
|
||
CALL -3305 RESUME FROM APPLESOFT ERROR.
|
||
CALL -3106 HGR2
|
||
CALL -3116 HGR1
|
||
CALL -3318 EXEC INT BASIC 'CON' CMD.
|
||
CALL -3722 TURN OFF INT BASIC TRACE.
|
||
CALL -3727 TURN ON INT BASIC TRACE.
|
||
CALL -3776 SAVE INTEGER TO TAPE.
|
||
CALL -3973 LOAD INTEGER PROGRAM FROM TAPE.
|
||
CALL -6090 RUN INTEGER PROGRAM.
|
||
CALL -8117 LIST INTEGER PROGRAM.
|
||
CALL -8192 END INTERER AND KILL PROGRAM.
|
||
CALL -9382 OUTPUT A '?'.
|
||
CALL -9385 OUTPUT A SPACE.
|
||
CALL -9477 OUTPUT A CARRAGE RETURN.
|
||
CALL -9582 PRINTS CATALOG.
|
||
CALL -42350 CATALOG
|
||
CALL -54915 DOES AWAY WITH 'OUT OF MEM ERROR' WHEN MEMORY STILL LEFT.
|
||
CALL 62450 CLEAR HIRES SCREEN TO BLACK.
|
||
CALL 62454 CLEAR HIRES SCREEN TO HCOLOR LAST HPLOTTED.
|
||
|
||
6) ELIMINATE PAUSE IN CATALOG: GO TO MONITOR AND TYPE AE34:60
|
||
|
||
7) IF YOU HAVE LANGUAGE/MEMORY CARD: READ TRACK 0, SECTOR $09. BYTE $CC
|
||
IS $81, CHANGE TO $10. NOW WHEN YOUR DO PR#6, WHATEVER WAS IN MEMORY
|
||
CARD, STAYS THERE.
|
||
|
||
8) FOR TRUE RANDOM NUMBER: USE RND(PEEK(78)+PEEK(79)*256) IN APPLESOFT
|
||
PROGRAM.
|
||
|
||
9) MAKE PROGRAM LISTINGS INTO GARBAGE BY DOING A POKE 33,90.
|
||
|
||
10) POKE 50,250 OR 50,127 AND WATCH WHAT HAPPENS.
|
||
|
||
11) APPLE PARRALLEL CARD WITH P1-02 PROMS. POKE 1912+SLOT,1 TO ENABLE
|
||
LINE FEED. POKE 1912+SLOT,0 TO DISABLE LINE FEED.
|
||
|
||
12) DEFEAT 'NOT DIRECT COMMAND' ERROR WHEN TRYING TO RESUME A PROGRAM
|
||
FROM COMMAND MODE BY: POKE 51,128:GOTOX (X = LINE # TO GO TO).
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|