10 GOTO980 15 A=PEEK(J):F=A>L:ONAANDUGOTO,,,,15,15,25,,15,15,20,,35,30:RETURN 20 GOSUB40:C=C+(C-18=>.)*18:GOTO45 25 GOSUB40:C=C-(C+18=.):GOTO45 35 GOSUB40:C=C-(C17)*19:POKECY,6+C+(C>17)*18:SYSCP:PRINT"[146]"C$(C):RETURN 45 POKECX,1-(C>17)*19:POKECY,6+C+(C>17)*18:SYSCP:PRINT""C$(C):RETURN 50 POKECX,X:POKECY,Y:SYSCP:RETURN 55 PRINT"[176][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][174]" 60 FORA=1TOF:PRINT"[221] [221]":NEXT 65 PRINT"[173][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][189]";:WAITJ,16:RETURN 70 C=. 75 PRINT"[147]":GOSUB945 80 GOSUB45:FORF=-1TO.:GOSUB15:B=PEEK(K)<>E:F=-F*B:NEXT:IFNOTBTHEN110 85 A=C+1 90 IFA>00THENONA-00GOSUB115,130,155,175,195,215,230,250,270,290 95 IFA>10THENONA-10GOSUB305,330,360,415,430,475,490,515,580,625 100 IFA>20THENONA-20GOSUB645,665,735,765,775,805,820,845,870,885,900,915,930 105 FORA=-1TO.:B=PEEK(K)<>E:A=PEEK(J)<>LANDB:NEXT:IFBTHEN75 110 POKE646,Y:PRINT"[147]S[217]53235:G[207]147"CHR$(142);:POKE198,1:POKE631,13:END 115 F=3:GOSUB55 120 PRINT"[213]SE THE JOYSTICK TO DRAW/ERASE." 125 PRINT"[[211][208][193][195][197]] WILL TOGGLE BETWEEN THE TWO.":RETURN 130 F=4:GOSUB55 135 PRINT"[208]RESSING [[195][205][196][210]] [[211][208][193][195][197]] WILL ALLOW" 140 PRINT"YOU TO ERASE AN 8 X 8 BIT AREA. [213]SE" 145 PRINT"THE JOYSTICK WHILE HOLDING DOWN FIRE" 150 PRINT"TO ERASE.":RETURN 155 F=3:GOSUB55 160 PRINT"[212]HERE ARE THREE POINTS WHICH MAY BE" 165 PRINT"PLOTTED AT THE PEN TIP BY HITTING" 170 PRINT"[[193],[194],[195]] RESPECTIVELY.":RETURN 175 F=3:GOSUB55 180 PRINT"[200]OLD DOWN [[211][200][198][212]] AND HIT [[193],[194] OR [195]]" 185 PRINT"FOR THE POINT YOU WISH TO REMOVE. [212]O " 190 PRINT"REMOVE ALL POINTS PRESS [_].":RETURN 195 F=3:GOSUB55 200 PRINT"[200]OLDING DOWN THE [[195][205][196][210]] KEY AND" 205 PRINT"SELECTING AN EXISTING POINT WILL" 210 PRINT"PLACE THE PEN THERE.":RETURN 215 F=2:GOSUB55 220 PRINT"[208]RESSING [[216]] WILL E[216]CHANGE POINTS" 225 PRINT"[193] & [194].":RETURN 230 F=3:GOSUB55 235 PRINT"[200]IT THE [[196]] KEY TO FIND THE DISTANCE" 240 PRINT"FROM THE PEN TO ANY POINT ON THE" 245 PRINT"SCREEN.":RETURN 250 F=3:GOSUB55 255 PRINT"[212]O DRAW A RECTANGLE PLOT POINTS [193] & [194]" 260 PRINT"AS THE DIAGONALS THEN PRESS [[210]] TO" 265 PRINT"DRAW.":RETURN 270 F=3:GOSUB55 275 PRINT"[193] PARALLELOGRAM CAN BE DRAWN BY USING" 280 PRINT"POINTS [193],[194] & [195] AS THREE OF THE FOUR" 285 PRINT"CORNERS. [208]RESS [[208]] TO START DRAWING.":RETURN 290 F=2:GOSUB55 295 PRINT"[204]INES ARE DRAWN FROM POINT [193] TO [194]." 300 PRINT"[213]SE THE [[204]] KEY TO DRAW A LINE.":RETURN 305 F=4:GOSUB55 310 PRINT"[212]HE DISTANCE FROM POINTS [193] AND [194] WILL" 315 PRINT"DETERMINE THE RADIUS WHERE POINT [194] IS" 320 PRINT"THE CENTER. [208]RESS [[207]] TO DRAW A" 325 PRINT"CIRCLE.":RETURN 330 F=5:GOSUB55 335 PRINT"[212]HE SLOPE OF THE ELLIPSE IS" 340 PRINT"DETERMINED BY POINTS [193] AND [194](CENTER)." 345 PRINT"[208]RESS [[197]] AND MOVE PEN WITH JOYSTICK" 350 PRINT"THEN PRESS FIRE TO DRAW. [208]RESSING" 355 PRINT"[[211][200][198][212]-[197]] WILL DRAW A PARTIAL ELLIPSE.":RETURN 360 F=10:GOSUB55 365 PRINT"[212]O FILL AN OBJECT PRESS [[198]] AND MOVE" 370 PRINT"THE ICON INSIDE WHILE HOLDING DOWN" 375 PRINT"[198][201][210][197]. [213]SE [[195][210][211][210]] LEFT AND RIGHT OR" 380 PRINT"[[211][200][198][212] [193]-[218]] TO SELECT PATTERN." 385 PRINT"[F1] RESTORE PATTERN" 390 PRINT"[F3] FLIP PATTERN" 395 PRINT"[F5] INVERT PATTERN" 400 PRINT"[F7] REVERSE PATTERN" 405 PRINT"[206][207][212][197]: [208]ATTERNS ARE LOADED/CREATED VIA" 410 PRINT"SPRITE EDITOR!":RETURN 415 F=2:GOSUB55 420 PRINT"[208]RESS [[205]] AND USE THE JOYSTICK TO" 425 PRINT"MOVE ALL POINTS TOGETHER.":RETURN 430 F=8:GOSUB55 435 PRINT"[208]RESS [[211][200][198][212]-[207]] TO ENTER COMPASS MODE." 440 PRINT"[212]HE DISTANCE FROM THE PEN TO POINT" 445 PRINT"[194](CENTER) WILL DETERMINE THE RADIUS." 450 PRINT"[208]RESSING THE JOYSTICK LEFT OR RIGHT" 455 PRINT"WILL ROTATE PEN CLOCKWISE AND" 460 PRINT"COUNTER-CLOCKWISE, REPECTIVELY." 465 PRINT"[203][197][217][211]:[^] ANGLE ON/OFF, [1-9] ACCURACY" 470 PRINT"[[193]] PLOTS POINT [193], [[195]] PLOTS POINT [195]":RETURN 475 F=2:GOSUB55 480 PRINT"[212]O UNDO THE LAST FUNCTION PRESS [[213]]" 485 PRINT"IMMEDIATELY AFTER THAT FUNCTION.":RETURN 490 F=4:GOSUB55 495 PRINT"[212]O ZOOM IN ON A CERTAIN SECTION OF" 500 PRINT"THE SCREEN PRESS [[218]], MOVE WINDOW" 505 PRINT"WITH JOYSTICK AND PRESS [198][201][210][197]." 510 PRINT"[208]RESS [[211][200][198][212] [218]] FOR A LARGER ZOOM AREA":RETURN 515 F=12:GOSUB55 520 PRINT"[208]RESSING [[215]] WILL ENTER WINDOW EDIT." 525 PRINT"[F1] COPY([207][210]) [F2] SLANT X" 530 PRINT"[F3] FLIP [F4] SLANT Y" 535 PRINT"[F5] INVERT [F6] STRETCH X" 540 PRINT"[F7] REVERSE [F8] STRETCH Y" 545 PRINT"[[195][205][196][210]] [F1] WILL [193][206][196] TWO WINDOWS" 550 PRINT"[^] ROTATES WINDOW 90 DEGREES" 555 PRINT"[[195][210][211][210]] SCROLL, [[213]]NDO, [[211]]AVE, [[204]]OAD" 560 PRINT"[[199]] LOADS A 3-BLOCK [208][211] GRAPHIC" 565 PRINT"[[211][208][193][195][197]] SELECTS WINDOW/SCREEN SCROLL" 570 PRINT"[[195][205][196][210]][[211][208][193][195][197]] TOGGLES EXTEND/NORMAL" 575 PRINT"[202][207][217][211][212][201][195][203]+[198][201][210][197] CHANGES WINDOW SIZE":RETURN 580 F=8:GOSUB55 585 PRINT"[208]RESS [[212]] TO ENTER TYPE MODE." 590 PRINT"[F1] [195][200][210] SET 1 [F2] 8 X 8 [195][200][210] SIZE" 595 PRINT"[F3] [195][200][210] SET 2 [F4] 7 X 8 [195][200][210] SIZE" 600 PRINT"[F5] [195][200][210] SET 3 [F6] 6 X 8 [195][200][210] SIZE" 605 PRINT"[F7] [195][200][210] SET 4 [F8] 5 X 8 [195][200][210] SIZE" 610 PRINT"[[211][200][198][212]][[210][197][212][213][210][206]] RETURNS TO NEXT LINE" 615 PRINT"[213]SE [[195][210][211][210]] KEYS TO MOVE CURSOR" 620 PRINT"[[196][197][204]] WILL DELETE TEXT.":RETURN 625 F=3:GOSUB55 630 PRINT"[212]O LOAD A PREVIOUSLY SAVED SCREEN" 635 PRINT"PRESS [[211][200][198][212] [204]], TYPE IN THE FILE NAME" 640 PRINT"AND HIT RETURN.":RETURN 645 F=3:GOSUB55 650 PRINT"[212]O SAVE A SCREEN TO DISK PRESS" 655 PRINT"[[211][200][198][212] [211]], TYPE IN THE FILE NAME AND" 660 PRINT"HIT RETURN.":RETURN 665 F=12:GOSUB55 670 PRINT"[[211][200][198][212] *] ENTERS SPRITE STAMP MODE." 675 PRINT"[*] ENTERS SPRITE DRAWING MODE." 680 PRINT"[213]SE [[193]-[218]] OR [[195][210][211][210]] LEFT/RIGHT TO" 681 PRINT"SELECT WHICH SPRITE." 685 PRINT"[213]SE THE [202][207][217][211][212][201][195][203] TO MOVE AND" 690 PRINT"[198][201][210][197] TO STAMP THE IMAGE." 695 PRINT"[F1] RESTORE SPRITE" 700 PRINT"[F3] FLIP SPRITE" 705 PRINT"[F5] INVERT SPRITE" 710 PRINT"[F7] REVERSE SPRITE" 725 PRINT"[[211][208][193][195][197]] TOGGLES DRAW/ERASE" 730 PRINT"[211]PRITES MUST BE LOADED/CREATED FIRST!":RETURN 735 F=5:GOSUB55 740 PRINT"[212]YPE [[195][212][210][204] 1] TO ENTER PAINT MODE." 745 PRINT"[[195][212][210][204] 1-8]/[[195][205][196][210] 1-8] SELECTS COLOR." 750 PRINT"[[211][208][193][195][197]] TOGGLES FORE/BACK-GROUND." 755 PRINT"[200]OLDING DOWN [198][201][210][197] WHILE MOVING THE" 760 PRINT"[202][207][217][211][212][201][195][203] WILL PAINT THE SCREEN.":RETURN 765 F=1:GOSUB55 770 PRINT"[212]YPING [[195][204][210]] WILL CLEAR THE SCREEN":RETURN 775 F=5:GOSUB55 780 PRINT"[200]OLD DOWN [[195][212][210][204]] AND PRESS THE" 785 PRINT"FOLLOWING TO CHANGE COLORS:" 790 PRINT"[[194]] CHANGES BACKGROUND" 795 PRINT"[[198]] CHANGES FOREGROUND" 800 PRINT"[[208]] CHANGES PEN COLOR":RETURN 805 F=2:GOSUB55 810 PRINT"[212]YPE [[195][212][210][204] [196]] TO CHANGE ALL COLORS" 815 PRINT"BACK TO DEFAULT.":RETURN 820 F=4:GOSUB55 825 PRINT"[213]SE [[195][212][210][204] [211]] OR [[200][207][205][197]] TO ACCESS THE" 830 PRINT"SPRITE EDITOR. [193]LL COMMANDS ARE" 835 PRINT"DOCUMENTED ON SCREEN EXCEPT [[195][204][210]]" 840 PRINT"WHICH CLEARS A SPRITE.":RETURN 845 F=4:GOSUB55 850 PRINT"[213]SE [[195][212][210][204] [195]] OR [[210][213][206]] TO ACCESS THE" 855 PRINT"CHARACTER EDITOR. [193]LL COMMANDS ARE" 860 PRINT"DOCUMENTED ON SCREEN EXCEPT [[195][204][210]]" 865 PRINT"WHICH CLEARS A CHARACTER.":RETURN 870 F=2:GOSUB55 875 PRINT"[213]SE THE [[195][210][211][210]] KEYS TO COARSE SCROLL" 880 PRINT"THE SCREEN.":RETURN 885 F=2:GOSUB55 890 PRINT"[212]YPE [[195][212][210][204] [201]] TO MANUALLY INPUT A" 895 PRINT"A SCREEN TO THE BUFFER.":RETURN 900 F=2:GOSUB55 905 PRINT"[212]YPE [$] TO DISPLAY THE CURRENT DISK" 910 PRINT"DIRECTORY.":RETURN 915 F=2:GOSUB55 920 PRINT"[212]O LOAD THE PRINT PROGRAM TYPE" 925 PRINT"[[195][205][196][210] [208]] AND ANSWER THE PROMPT WITH [217]":RETURN 930 F=2:GOSUB55 935 PRINT"[212]YPING [[211][200][198][212] [209]] WILL PROMPT YOU TO" 940 PRINT"QUIT [200][201]-[210][197][211] [211][203][197][212][195][200] TO [204][207][193][196][211][212][193][210]/[194][193][211][201][195].":RETURN 945 PRINT"[147] [200][201]-[210][197][211] [211][203][197][212][195][200] [201][201] [200][197][204][208] " 950 PRINT"USE 'JOYSTICK' TO MOVE/'FIRE' TO SELECT" 955 PRINT"[176][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][178][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][174]" 960 FORA=.TO17:PRINT"[221][146]"C$(A)TAB(19)"[221][146]"C$(A+18)TAB(38)"[221]":NEXT 965 PRINT"[173][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][177][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][189]";:RETURN 970 POKE646,X:PRINT"[147]S[217]53235:G[207]145"; 975 POKE198,1:POKE631,13:END 980 PRINT"[147]"CHR$(14)CHR$(8) 985 A=PEEK(702):X=PEEK(700):Y=PEEK(701) 990 POKE53281,Y:POKE53280,Y:POKE646,X 995 DIM A,X,Y,B,C,D,E,F,G,CX,CY,CP 1000 N=32:DIM C$(36),RV$(1) 1005 J=56320:M=127:L=111:U=15 1010 CX=211:CY=214:CP=58732:K=197:E=57 1015 RV$(0)="[146]":RV$(1)="" 1020 FORA=.TO36:READC$(A):NEXT 1025 GOTO70 1030 DATA DRAW/ERASE 1035 DATA BLOCK ERASE 1040 DATA PLOT POINTS 1045 DATA REMOVE POINTS 1050 DATA PLOT PEN 1055 DATA EXCHANGE A AND B 1060 DATA DISTANCE 1065 DATA RECTANGLE 1070 DATA PARALLELOGRAM 1075 DATA LINE 1080 DATA CIRCLE 1085 DATA ELLIPSE 1090 DATA FILL OBJECT 1095 DATA MOVE POINTS 1100 DATA COMPASS 1105 DATA UNDO 1110 DATA ZOOM EDIT 1115 DATA WINDOW EDIT 1120 DATA TYPE TEXT 1125 DATA LOAD SCREEN 1130 DATA SAVE SCREEN 1135 DATA SPRITE STAMP/DRAW 1140 DATA PAINT 1145 DATA CLEAR 1150 DATA SCREEN COLORS 1155 DATA DEFAULT COLORS 1160 DATA SPRITE EDITOR 1165 DATA CHARACTER EDITOR 1170 DATA SCROLL SCREEN 1175 DATA INPUT SCREEN 1180 DATA DIRECTORY 1185 DATA LOAD PRINT PROGRAM 1190 DATA QUIT HI-RES 1195 DATA 1200 DATA "[208][210][197][211][211] [_] TO [197][216][201][212]" 1205 DATA "[200][197][204][208] [208][210][207][199][210][193][205]!" 1210 DATA