633 120 ON Y GOTO 150, 130, 140 130 REM YOUR MOVE DOWN ROUTINE HERE 135 GOTO 10 140 REM YOUR MOVE UP ROUTINE HERE 145 GOTO 10 150 REM IF X <> 1 THEN NOTHING DOING. BRANCH TO YOUR OTHER ROUTINES OR TO 155 155 GOTO 10 1000 FOR LOOP = 1764 TO 1790: READ BY TE: POKE LOOP, BYTE: NEXT LOOP 1010 DATA 104,104,133,213,104,41,12,7 4,74,73,2,24,105,1 1020 DATA 133,212,96,104,104,133,213, 104,41,3,76,237,6 1030 RETURN See locations 88, 89 ($58, $59) for an example of a USR call using a string instead of a fixed memory location. 633 279 STICK1 This and the next two locations are the same as 632, but for the other joysticks. These four locations are also used to determine if a lightpen (PEN 0 - 3) switch is pressed. 634 27A STICK2 635 27B STICK3 636 27C PTRIG0 Paddle trigger 0. Used to determine if the trigger or hutton on paddle 0 is pressed (zero is returned) or not (one is returned). Since these are the same lines as the joystick left/right switches, you can use PTRIG for horizontal movement. PTRIG(1) - PTRIG(0) returns -1 (left), 0 (center), + 1 (right). The next seven locations are for the other paddle buttons. PTRIG 0 - 3 are shadows for PIA register 54016 ($D300). 637 27D PTRIG1 638 27E PTRIG2 639 27F PTRIG3 640 280 PTRIG4 PTRIG 4-7 are shadows for PIA register 54017 ($D301).