Atari 130XE — 130XE Owners Manual_Page_087

PLAYERS AND MISSILES This program uses a technique cal l ed Player Miss il e Graphics to create a pink monster that mov es across your screen in front of a blue vertical bar. If you want to make the monster scoot behind the b lu e bar, simply change line 150 to 1.58 POKE 623 .. 4. 1.8 POKE 764 .. 255: POKE 588 .. 1. 28 GRAPHICS 3+1.6 38 FOR X=1.6 TO 24: FOR V=8 TO 23: COLOR 3: PLOT X .. V: NEXT V: NEXT X 48MEMTOP=PEEK(741.)+256*PEEK(742)-1. 59 PMBASE=INT( (MEMTOP-1.824) /1.824) *1.824 68 ADJTOP=PMBASE+384 78 POKE 742 .. INT (ADJTOP/256): POKE 741. .. ADJTOP-256*PEEK (742) 88 POKE 5427'J .. PMBASE/256 'J8 POKE 53277 .. 2 1.88 POKE 55'J .. 34+8 1.1.8 P8=PMBASE + 51.2 1.28 FOR A=P8 TO P9+1.28:

POKE A .. 8: NEXT A 1.39 FOR A=P8+68 TO P8+67: READ B: POKE A .. B: NEXT A 1.48 POKE 53256 .. 3 1.59 POKE 623 .. 1. 1.69 POKE 784 .. 1.88 1.78 POKE 53248 .. PEEK(28) :GOTO 1.78 1.88 DATA 69 , ,1.26 .. 1.2'J .. 1.53 .. 255 .. 36 .. 66 .. 1.2'J TOPSY·TURVY When you run Topsy-Turvy, your screen wil l be fil l ed with strange writing . To straighten it out, simply press ~ . To mess things up again, press 1 Select I. 1.9 POKE 764 .. 255: POKE S88 .. 1. 29 GRAPHICS 1.8: POKE 71.2 .. 1.28: POKE 755,,5 38 POSITION 5 .. 3: PRINT Sl6,: "WELCOME TO" 48 POSITION 2,,5: PRINT Sl6; "THE TOPSV-TURVV": POSITION 6 .. 7: PRINT Sl6; "WORLD OF " : POSITION 6 ..

'J 59 PRINT Sl6; "COMPUTERS" 68 IF PEEK(5327'J)=5 THEN POKE 755 .. 5: POKE 71.2 .. 1.28 78 IF PEEK (5327'J) =6 THEN POKE 755 .. 1. : POKE 71.2 .. 'J'J 88 GOTO 68 81