home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
8bitfiles.net/archives
/
archives.tar
/
archives
/
genie-commodore-file-library
/
C64Educational
/
MAKE-A-FACE
(
.txt
)
< prev
next >
Wrap
Commodore BASIC
|
2019-04-13
|
8KB
|
343 lines
1000 REM ***MAKE A FACE***
1070 REM THIS PROGRAM WILL LET KIDS MAKE FACES
1080 POKE53281,1:POKE53280,8: PRINT"[147][151]";
1085 PRINT"[147] MAKE A FACE"
1086 FORT=1TO2500:NEXT
1090 PRINT"[147]":FOR I=1 TO 4
1100 PRINT "";
1110 NEXT I
1120 :
1130 REM LOOP
1140 GOSUB 1220:REM CALL PRINT OUTLINE
1145 GOSUB 4000:REM CALL CHOOSE HAIR
1150 GOSUB 1430:REM CALL CHOOSE EYES
1160 GOSUB 2200:REM CALL CHOOSE NOSE
1170 GOSUB 2760:REM CALL CHOOSE MOUTH
1190 PRINT" [157][157][157][157][157][157] "
1191 PRINT" "
1192 PRINT" PRESS F7 [146] TO MAKE ANOTHER FACE "
1193 PRINT" "
1195 GETAF$:IFAF$=""THEN1195
1196 IFAF$="[136]"THEN1090
1197 GOTO1195
1200 GOTO 1130:REM ENDLOOP
1220 REM PROC PRINT OUTLINE
1230 PRINT"[147]"
1240 PRINT" [206][183][183][183][183][183][183][183][183][205] "
1250 PRINT" [206] [205] "
1260 PRINT" [206] [205] "
1270 PRINT" [206] [205] "
1280 PRINT" [206] [205] "
1290 PRINT" [206] [205] "
1300 PRINT" [206][205][165] [170][206][205]"
1310 PRINT" [180] [165] [170] [170]"
1320 PRINT" [205] [165] [170] [206]"
1330 PRINT" [205][165] [170][206] "
1340 PRINT" [205] [206] "
1350 PRINT" [205] [206] "
1360 PRINT" [205] [206] "
1370 PRINT" [205] [206] "
1380 PRINT" [205] [206] "
1390 PRINT" [205][175][175][175][175][175][175][175][175][206] "
1400 PRINT" [221] [221]
1401 [153]" (null) (null)"
1410 [142]:[143] ENDPROC
1420 :
1430 [143] PROC CHOOSE EYES
1440 [153]"CHOOSECMDCMDCMDCMDCMDCMDEYES"
1450 [153] "1. SPECS 4. SHADY 7. CLOSED 0. SHADES"
1451 [153] "2. SAD 5. WORRY 8. MAD +. CROSS "
1452 [153] "3. CLOWN 6. SHY 9. WILD -. JOLLY "
1453 [161]N$:[139]N$[178]""[167]1453
1454 [139][198](N$)[178]43[167]N[178]10:[137]1460
1455 [139][198](N$)[178]45[167]N[178]11:[137]1460
1457 [139][198](N$)[179]48[176][198](N$)[177]57[167]1453
1458 N[178][197](N$)
1460 [153]""
1470 [145]N[170]1[137]1480,1550,1620,1690,1760,1830,1900,1970,2040,2080,2090,2110
1475 [142]
1480 [153][166]8)"NEWNEWNEWNEWNEWNEWNEWNEWNEWNEWNEWNEWNEWNEWNEWNEWNEWNEW"
1490 [153][166]12)" WAIT "
1500 [153][166]12)" WAIT "
1510 [153][166]12)"(null) WAITSTEP (null) WAITSTEP"
1520 [142]
1550 [153][166]12)"(null)USR(null) (null)USR(null)"
1570 [153][166]6)"ANDANDANDANDAND(null)(null)USR(null)(null)(null)(null)(null)(null)USR(null)(null)ANDANDANDANDAND"
1580 [153][166]11)"(null)(null)AND(null)(null) (null)(null)AND(null)(null)"
1590 [153][166]12)"(null)AND(null) (null)AND(null)":[142]
1620 [153][166]10)"USRUSRUSRUSR(null)(null)WAIT STEPWAITSTEPUSRUSRUSRUSR"
1630 [153][166]11)"RIGHT$RIGHT$RIGHT$RIGHT$ (null)(null)(null)(null)"
1640 [153][166]11)"<TAB(CONT(null)POKETAB(> <TAB(CONT(null)POKETAB(>"
1650 [153][166]11)"(null)(null) MID$MID$":[142]
1690 [153][166]12)"ON(null)USR(null) (null)USR(null)"
1710 [153][166]12)"(null)(null)(null) (null)(null)(null)"
1720 [153][166]12)"LEN(null)LEN LEN(null)LEN"
1730 [153][166]12)"(null)(null)(null) (null)(null)(null)"
1740 [153]"POKE":[142]
1760 [153][166]12)"(null)USRUSR(null)CLOSE (null)USRUSR(null)"
1770 [153][166]12)"ANDANDANDAND CLOSEANDANDANDAND"
1780 [153][166]12)"SGN (null) SGN (null)"
1790 [153][166]12)"(null)ANDAND(null) CLOSE(null)ANDAND(null)"
1800 [142]
1830 [153][166]11)" WAITSTEP (null) WAIT"
1840 [153][166]14)"(null) (null)":[142]
1900 [153][166]12)"(null)MID$(null)(null) (null)MID$(null)(null)"
1910 [153][166]12)"FN THEN FNCLOSECLOSETHEN"
1920 [153][166]12)"(null)ANDANDSQR (null)ANDANDSQR"
1930 [142]
1970 [153]:[153]:[153]
1990 [153][166]10)"(null)ANDANDANDAND(null) (null)ANDANDANDAND(null)"
2000 [153][166]11)"(null)(null)(null)(null) MID$MID$MID$MID$ "
2010 [142]
2040 [153][166]14)"(null) (null)"
2050 [153][166]15)"(null) (null)"
2060 [153][166]13)"<(null)> <(null)>":[142]
2070 [142]
2080 [153][166]11)"STEP (null)WAIT STEP (null)"
2082 [153][166]10)"STEPWAITSTEP (null)(null)WAIT STEPWAITSTEP (null)(null)"
2084 [153][166]9)"STEPWAITSTEP(null)TAB((null)(null)(null)WAIT STEPWAITSTEP(null)TAB((null)(null)(null)"
2085 [153][166]9)"TAB(THEN (null) FNTAB( TAB(THEN (null) FNTAB("
2087 [153][166]11)"(null)AND(null) (null)AND(null)"
2088 [153]"POKE":[142]
2090 [153][166]11)" (null) (null) "
2092 [153][166]9)" (null)USRUSRUSR(null) (null)USRUSRUSR(null)"
2094 [153][166]9)"< (null) (null) CLOSECLOSECLOSE>CLOSE"
2095 [153][166]9)" (null)ANDANDAND(null) (null)ANDANDAND(null) ":[142]
2110 [153][166]9)"LIST(null)(null)(null)(null)(null)(null)CLOSE (null)(null)(null)(null)(null)(null)POKE
2120 PRINTSPC(10)"[213][192][192][192][201] [213][192][192][192][201]
2130 [153][166]10)"DEFSTEP (null)STEP (null)WAIT
2140 PRINTSPC(10)"[223] [146][169][223] [146][169]
2160 [153]"POKE":[142]
2180 [143] ENDPROC
2190 :
2200 [143] PROC PRINT NOSE
2210 [153]"CHOOSECMDCMDCMDCMDCMDCMDNOSE"
2220 [153] "1. LUMPY 4. ROMAN 7. BUTTON 0. BROAD "
2221 [153] "2. SKINNY 5. BROKEN 8. PIG +. LONG "
2222 [153] "3. CLOWN 6. SLOPE 9. PUNK -. CHERRY"
2223 [161]NU$:[139]NU$[178]""[167]2223
2224 [139][198](NU$)[178]43[167]NU[178]10:[137]2230
2225 [139][198](NU$)[178]45[167]NU[178]11:[137]2230
2227 [139][198](NU$)[179]48[176][198](NU$)[177]57[167]2223
2228 NU[178][197](NU$)
2230 [153] ""
2240 [145]NU[170]1[137]2250,2300,2350,2400,2460,2500,2550,2581,2590,2600,2650,2700
2245 [142]
2250 [153]
2260 [153][166]14)"(null) (null)
2270 PRINTSPC(13)"([213][201][175][175][213][201])"
2280 RETURN
2300 PRINTSPC(15)" [221][221]"
2310 PRINTSPC(15)"[213][203][202][201]"
2320 PRINTSPC(14)"[213][203] [202][201]"
2330 PRINTSPC(14)"[202][203][202][203][202][203]"
2340 RETURN
2350 PRINTSPC(16)"[221][221]"
2360 PRINTSPC(16)"[221][221]"
2370 PRINTSPC(15)"([221][221])"
2380 PRINTSPC(16)"[202][203]":RETURN
2400 PRINT""
2410 PRINTSPC(15)"[169] [223]"
2420 PRINTSPC(15)" "
2430 PRINTSPC(15)"[223] [146][169][151]":RETURN
2460 PRINTSPC(17)"[205]"
2470 PRINTSPC(17)"[167]"
2475 PRINTSPC(15)"([175][186])"
2480 RETURN
2500 PRINTSPC(16)"[202][201] "
2510 PRINTSPC(17)"[221]"
2520 PRINTSPC(15)"[213] [202][201]"
2530 PRINTSPC(15)"[202][192][192][203]":RETURN
2550 PRINT
2560 PRINTSPC(16)"[170]"
2570 PRINTSPC(17)"[205]"
2580 PRINTSPC(15)"( [206])":RETURN
2581 PRINT
2582 PRINT
2583 PRINTSPC(15)"(..)":RETURN
2590 PRINT
2591 PRINTSPC(14)"[206][183][183][183][183][205]"
2592 PRINTSPC(14)"[165][215] [215][167]"
2593 PRINTSPC(14)"[205][175][175][175][175][206]":RETURN
2600 PRINT
2605 PRINTSPC(16)"[180][170]"
2610 PRINTSPC(15)"[206] [205]"
2615 PRINTSPC(11)"[171][192][192][192][209][175][175][209][192][192][192][192]":RETURN
2650 PRINTSPC(15)"[205] [205]
2660 [153][166]16)"(null) (null)ANDANDANDANDAND(null)(null)
2670 PRINTSPC(17) "[205][175][175][175][175][175][175][175][175][186]
2680 [142]
2700 [153][166]15)"(null)USRUSR(null)
2710 PRINTSPC(14)"([180][150] [146][151][170])
2720 [153][166]15)"(null)ANDAND(null)
2730 RETURN
2750 REM ENDPROC
2760 REM PROC CHOOSE MOUTH
2770 PRINT "CHOOSE[157][157][157][157][157][157]MOUTH"
2780 PRINT"1. BUCK 4. SUAVE 7. LIPS 0. SMILE"
2781 PRINT"2. FROWN 5. TEETH 8. TONGUE +. AIEEE"
2782 PRINT"3. CLOWN 6. WHIS'L 9. OPEN -. BEARD"
2783 GETNM$:IFNM$=""THEN2783
2784 IFASC(NM$)=43THENNM=10:GOTO2790
2785 IFASC(NM$)=45THENNM=11:GOTO2790
2787 IFASC(NM$)<48ORASC(NM$)>57THEN2783
2788 NM=VAL(NM$)
2790 PRINT ""
2800 ONNM+1GOTO2810,2860,2920,2970,3030,3090,3160,3220,3280,3340,3380,3390
2810 PRINTSPC(12)"[213] [201]"
2830 PRINTSPC(13)"[205][175][175][175][175][175][175][206]"
2835 PRINTSPC(14)"[205][175][175][175][175][206]"
2840 RETURN
2860 PRINTSPC(14)"[175][175][175][175][175][175]"
2870 PRINTSPC(14)"[167] [167][165] [165]"
2880 PRINTSPC(15)"[205][167][165][206]"
2890 PRINTSPC(16)"[163][163]":RETURN
2920 PRINT
2930 PRINTSPC(14)"[206][183][183][183][183][205]"
2940 PRINTSPC(13)"[206] [205]"
2950 RETURN
2970 PRINT
2980 PRINTSPC(13)"[213][192][192][192][192][192][192][201]"
2990 PRINTSPC(13)"[221][202][195][195][195][195][203][221]"
3000 PRINTSPC(13)"[202][192][192][192][192][192][192][203]"
3010 RETURN
3030 PRINTSPC(14)"[169] [146][169][223] [223]"
3040 PRINTSPC(12)"[175][175][175][175][175][175][175][175][175][175]"
3050 PRINTSPC(20)"[205][205]"
3060 PRINTSPC(14)"[202][192][192][192][192][203] [205][205]"
3070 PRINTSPC(22)"[166]":RETURN
3090 PRINTSPC(11)"[175][175][175][175][175][175][175][175][175][175][175][175]"
3100 PRINTSPC(11)"[205][221][221][221][221][221][221][221][221][221][221][206]"
3110 PRINTSPC(12)"[205][219][219][219][219][219][219][219][219][206]"
3120 PRINTSPC(13)"[183][183][183][183][183][183][183][183]":RETURN
3160 PRINT
3170 PRINTSPC(16)"[213][201]"
3180 PRINTSPC(16)"[202][203]"
3200 RETURN
3220 PRINTSPC(15)"[169][223][169][223]"
3240 PRINTSPC(14)"[169] [223]"
3250 PRINTSPC(14)"[223][163][163][163][163][146][169]"
3260 PRINT"[151]":RETURN
3280 PRINTSPC(13)" [175][175][175][175][175][175]
3290 [153][166]13)"+(null)(null)THENFN(null)(null)FN"
3300 [153][166]13)"+ TAB(TAB(TAB(TAB( FN
3310 PRINTSPC(14)"[205][150][166][166][166][166][151][206] "
3320 PRINTSPC(15)"[150][166][166][166][166][151]"
3325 PRINTSPC(16)"[150][166][166][151]":RETURN
3340 PRINTSPC(15)"[175][175][175][175]"
3350 PRINTSPC(14)"[206][202][203][202][203][205]"
3360 PRINTSPC(14)"[180] [170]"
3370 PRINTSPC(14)"[205][175][175][175][175][206]":RETURN
3380 PRINTSPC(12)"[145] [175][175][175][175][175][175]
3381 [153][166]12)" (null)(null)(null)(null)(null)(null)(null)(null)
3382 PRINTSPC(12)"[169] [223]
3383 [153][166]12)"GET(null)(null)(null)(null)(null)(null)(null)(null)ABS
3384 PRINTSPC(12)"[183][183][183][183][183][183][183][183][183][183]":RETURN
3390 PRINT"[155][145][145]";:FORI=1TO2:PRINTSPC(7)"[206][205]":NEXT
3391 PRINTSPC(7)"[206][206] [206][206][206][205][205][205] [205][205]
3392 [153][166]7)"(null)(null)(null)(null)(null)(null)(null)POKEMID$TANTANTANTAN(null)LIST(null)(null)(null)(null)(null)(null)(null)
3393 PRINTSPC(7)"[206][206][206][206][206][206][206][206][206][206][205][205][205][205][205][205][205][205][205][205]
3394 [153][166]7)"(null)(null)(null)(null)(null)(null)(null)(null)(null)(null)(null)(null)(null)(null)(null)(null)(null)(null)(null)(null)
3395 PRINTSPC(7)"[206][206][206][206][206][206][206][206][206][205][205][205][205][205][205][205][205][205]
3396 [153][166]7)"(null)(null)(null)(null)(null)(null)(null)(null)(null)(null)(null)(null)(null)(null)(null)(null)
3397 PRINTSPC(7)"[206][206][206][206][206][206][206][205][205][205][205][205][205][205]
3398 [153][166]7)"(null)(null)(null)(null)(null)(null)(null)(null)(null)(null)(null)(null)POKE":[142]
3400 [143] ENDPROC
4000 [143] PROC CHOOSE HAIR
4010 [153]"CHOOSECMDCMDCMDCMDCMDCMDHAIR"
4020 [153]"1. BRUSH 4. GREASE 7. LONG 0. AFRO "
4021 [153]"2. CURLS 5. CAP 8. HAT +. YEOW "
4022 [153]"3. CLOWN 6. BALD 9. PUNK -. SANTA"
4030 [161]H$:[139]H$[178]""[167]4030
4035 [139][198](H$)[178]43[167]H[178]10:[137]4060
4037 [139][198](H$)[178]45[167]H[178]11:[137]4060
4040 [139][198](H$)[179]48[176][198](H$)[177]57[167]4030
4050 H[178][197](H$)
4060 [153]""
4070 [145]H[170]1[137]5000,5010,5020,5030,5040,5050,5060,5070,5080,5090,6000,6100
4080 [142]
5000 [153][166]13)"@@@@@@@@CMDCMDCMDCMDCMDCMDCMDCMDCMDCMD@@@@@@@@@@@@"
5001 [153][166]10)"@@@@@@@@@@@@@@"
5002 [153][166]9)"@@@@"[166]8)"@@@@"
5003 [153][166]7)"@@@@"[166]12)"@@@@"
5004 [153][166]6)"@@@@"[166]14)"@@@@"
5005 [153][166]6)"@@@@"[166]14)"@@@@"
5006 [153][166]6)"@@@"[166]16)"@@@"
5007 [153][166]7)"@@"[166]16)"@@"
5008 [153][166]8)"@"[166]16)"@"
5009 [142]
5010 [153][166]12)"(null)(null)(null)(null)(null)(null)(null)(null)(null)(null)"
5011 [142]
5020 [153][166]12)"SYS@@@@@@@@@@CMDCMDCMDCMDCMDCMDCMDCMDCMDCMDCMDCMD@@@@@@@@@@@@@@"
5021 [153][166]8)"@@@@@ @@@@@ @@@@@@"
5022 [153][166]7)"@@@@@ @@ @@@@@"
5023 [153][166]5)"@@@@@@ @ @@@@@@"
5024 [153]" @@@@@@"[166]16)"@@@@@@"
5025 [153]" @@@@@@@@"[166]14)"@@@@@@@@"
5026 [153]" @@@@@@"[166]16)"@@@@@@"
5027 [153]" @@@@@@"[166]18)"@@@@@@"
5028 [153]" @@@@@@"[166]16)"@@@@@@"
5029 [129]T[178]1[164]2:[153]" @@@@@"[166]16)"@@@@@":[130]:[153]"POKE":[142]
5030 [153][166]9)"FORSPC(SPC(SPC(SPC(SPC(SPC(SPC(SPC(SPC(SPC(SPC(SPC(SPC(SPC(SPC(SPC("
5031 [153][166]7)"SPC(SPC(SPC(SPC(SPC(SPC(SPC(SPC(SPC(SPC(SPC(SPC(SPC(SPC(SPC(SPC(SPC(SPC(SPC(SPC("
5032 [153][166]5)"SPC(SPC(SPC(SPC(SPC(SPC(SPC(SPC("[166]8)"SPC(SPC(SPC(SPC(SPC(SPC(SPC(SPC("
5033 [153][166]3)"SPC(SPC(SPC(SPC(SPC(SPC(SPC(SPC(SPC("[166]10)"SPC(SPC(SPC(SPC(SPC(SPC(SPC(SPC(SPC("
5034 [153][166]3)"SPC(SPC(SPC(SPC(SPC(SPC(SPC(SPC("[166]12)"SPC(SPC(SPC(SPC(SPC(SPC(SPC(SPC("
5035 [153][166]5)"SPC(SPC(SPC(SPC(SPC("[166]14)"SPC(SPC(SPC(SPC(SPC("
5036 [153][166]7)"SPC(SPC(SPC("[166]14)"SPC(SPC(SPC(POKE":[142]
5040 [153][166]12)"STEP (null)STEP (null)"
5041 [153][166]11)"STEP (null)"
5042 [153][166]10)"STEP "[166]10)" (null)"
5043 [153][166]9)"STEP "[166]12)" (null)"
5044 [153][166]8)"STEP "[166]14)" (null)"
5045 [153][166]7)"STEP "[166]16)" (null)"
5046 [153][166]7)" "[166]16)" "
5047 [153][166]8)" "[166]16)" "
5048 [153][166]8)" "[166]16)" "
5049 [142]
5050 [153][166]16)"ONFREFRECMDCMDCMDCMDCMDCMDSTEP (null)"
5051 [153][166]11)"STEP D (null)"
5052 [153][166]11)" POKE"
5053 [142]
5060 [153]:[153]:[153]
5061 [129]T[178]1[164]3:[153][166]7)"LIST(null)(null)(null)(null)(null)"[166]10)"(null)(null)(null)(null)(null)POKE":[130]
5062 [142]
5070 [153][166]12)"DEFON TOTOTOTOTOTOTOTOCMDCMDCMDCMDCMDCMDCMDCMDCMD(null)(null)(null)(null)(null)(null)(null)(null)(null)(null)"
5071 [153][166]11)"(null)(null)(null)(null)(null)(null)(null)(null)(null)(null)(null)(null)"
5072 [153][166]10)"(null)(null)(null)(null)(null)(null)(null)(null)(null)(null)(null)(null)(null)(null)"
5073 [153][166]9)"(null)(null)(null)(null)(null)(null)(null)(null)(null)(null)(null)(null)(null)(null)(null)(null)"
5074 [153][166]8)"(null)(null)(null)(null)(null)(null)(null)(null)(null)(null)(null)(null)(null)(null)(null)(null)(null)(null)"
5075 [153][166]7)"(null)(null)(null)(null)(null)(null)(null)(null)(null)(null)(null)(null)(null)(null)(null)(null)(null)(null)(null)(null)"
5076 [129]T[178]1[164]9:[153][166]4)" ++++"[166]14)"SGNSGNSGNSGN ":[130]
5077 [153][166]6)"+++++"[166]12)"SGNSGNSGNSGNSGN"
5078 [153][166]6)"++++++"[166]10)"SGNSGNSGNSGNSGNSGN"
5079 [129]T[178]1[164]2:[153][166]6)"++++++++"[166]6)"SGNSGNSGNSGNSGNSGNSGNSGN":[130]:[153]"POKE":[142]
5080 [153][166]12)"VERIFYSTEP (null)"
5081 [153][166]11)"STEP (null)"
5082 [153]" "
5083 [153][166]10)"POKESPC("[166]12)"SPC("
5084 [153][166]9)"SPC("[166]14)"SPC("
5085 [153][166]8)"SPC("[166]16)"SPC("
5086 [153][166]7)"SPC("[166]18)"SPC("
5087 [142]
5090 [153][166]12)"CLRTANTANTANTANTANTANTANTANTANTAN"
5091 [153][166]10)"TANTANTANTANTANTANTANTANTANTANTANTANTANTAN"
5092 [153][166]8)"TANTANTANTANTANTANTANTANTANTANTANTANTANTANTANTANTANTAN"
5093 [153][166]6)"TANTANTANTANTAN"[166]12)"TANTANTANTANTAN"
5094 [153]" TANTANTANTANTANTAN"[166]14)"TANTANTANTANTANTAN"
5095 [153]" TANTANTANTANTANTANTAN"[166]16)"TANTANTANTANTANTANTANPOKE"
5096 [142]
5100 [143] ENDPROC
6000 [153]" (null)(null)(null)(null)(null)(null)(null)(null)(null)(null)(null)(null)(null)(null)(null)(null)(null)(null)(null)(null)(null)(null)
6010 PRINT" [221][221][221][221][221][221][221][221][221][221][221][221][221][221][221][221][221][221][221][221][221][221]
6020 [153]" (null)(null)(null)(null)(null)(null)(null)(null)(null)(null)(null)(null)(null)(null)(null)(null)(null)(null)(null)(null)(null)(null)
6030 PRINT" [221][221][221][221][221][221][221][221][221][221]
6040 [153]" (null)(null)(null)(null)(null)(null)(null)(null)
6050 PRINT" [221][221][221][221][221][221] "
6060 PRINT" [221][221][221][221]":RETURN
6100 PRINT" [169] [146][169][151][215]
6110 [153]" STEP (null)WAIT "
6120 [153]" STEP (null)POKE
6150 PRINT" [206][183][183][183][183][183][183][183][183][183][183][183][183][183][183][183][183][205] "
6160 PRINT" [205][175][175][175][175][175][175][175][175][175][175][175][175][175][175][175][175][206]":RETURN