home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
8bitfiles.net/archives
/
archives.tar
/
archives
/
commodore-users-of-norman
/
CUON_##_(07-1985).d64
/
grafix.b
(
.txt
)
< prev
next >
Wrap
Commodore BASIC
|
2019-04-13
|
3KB
|
71 lines
1 N = 50688 : I = 50818
2 IF PEEK (N) <> 169 OR PEEK (N+1) <> 4 THEN GOSUB 100 : LOAD "GRAFIX.O", 8, 1
10 IF A = 1 THEN 2000
30 GOSUB 200
40 IF A$ <> "*" THEN GOSUB 300
50 A = 1
60 IF A$ = "*" THEN 2000
65 LOAD F$, 8, 1
70 END
100 FOR A = 49154 TO 49317
110 READ I : POKE A, I
120 NEXT
130 RETURN
200 POKE 53280, 6 : POKE 53281, 0 : PRINT CHR$ (14) "[159]"
205 A$ = "*"
210 INPUT "[147][215]HICH PICTURE ('*' IF PICTURE IS ALREADYPRESENT)*[157][157][157]"; A$
220 F$ = "???????" + A$ + " " : F$ = LEFT$ (F$, 15)
230 FC = PEEK (53281) : CC = PEEK (646)
240 B = PEEK (53280) : INPUT "[194]ORDER COLOR"; B
250 POKE 53280, B
260 RETURN
300 PRINT "[200]IT A KEY WHEN YOU ARE READY TO LOAD"
305 PRINT A$ "."
310 GET R$ : IF R$ = "" THEN 310
320 PRINT "[204]OADING " A$ "..."
330 RETURN
1000 DATA173,17,208,41,239,141,17,208
1010 DATA162,127,160,64,32,156,192,162
1020 DATA4,160,0,32,161,192,162,131
1030 DATA160,39,32,114,192,162,131,160
1040 DATA40,32,156,192,162,216,160,0
1050 DATA32,161,192,162,135,160,15,32
1060 DATA114,192,173,16,135,141,33,208
1070 DATA173,17,208,9,34,141,17,208
1080 DATA173,22,208,41,223,9,16,141
1090 DATA22,208,173,24,208,9,8,141
1100 DATA24,208,162,96,160,0,32,156
1110 DATA192,162,32,160,0,32,161,192
1120 DATA162,127,160,63,32,114,192,173
1130 DATA17,208,9,16,141,17,208,96
1140 DATA142,1,192,140,0,192,160,0
1150 DATA177,251,145,253,165,252,205,1
1160 DATA192,208,8,165,251,205,0,192
1170 DATA208,1,96,230,251,208,2,230
1180 DATA252,230,253,208,227,230,254,76
1190 DATA122,192,134,252,132,251,96,134
1200 DATA254,132,253,96
2000 REM * * * GRAFIX DUMP
2020 I$ = "" : INPUT "[201]NVERSE IMAGEN[157][157][157]"; I$
2030 POKE I, 0 : IF I$ = "Y" THEN POKE I, 255
2040 D$ = "" : INPUT "[196]OUBLE WIDTHY[157][157][157]"; D$
2050 EC$ = "" : INPUT "[201]S EVERYTHING CORRECTY[157][157][157]"; EC$
2055 IF EC$ = "N" THEN 2000
2060 CC = PEEK (646) : BC = PEEK (53281)
2070 OPEN 4, 4
2080 PRINT# 4, CHR$ (27) "[212]17";
2090 PRINT# 4, CHR$ (14); : IF D$ = "N" THEN PRINT# 4, CHR$ (15) CHR$ (15);
2100 CLOSE 4
2110 SYS 49154
2120 SYS N
2140 POKE 53265, PEEK (53265) AND 223
2150 POKE 53272, (PEEK (53272) AND 240) OR 4
2160 POKE 646, CC : POKE 53281, BC
2170 PRINT CHR$ (14) "[147]* * * DONE!!! * * *"
2180 AO$ = "" : INPUT "[193]NOTHER OUTPUTN[157][157][157]"; AO$
2190 IF AO$ = "Y" THEN 2210
2200 END
2210 SP$ = "" : INPUT "[211]AME PICTUREY[157][157][157]"; SP$
2220 IF SP$ = "N" THEN RUN
2230 GOTO 2000