home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
FM Towns: Free Software Collection 3
/
FREEWARE.BIN
/
towns_os
/
run_run
/
run.bas
< prev
next >
Wrap
BASIC Source File
|
1980-01-02
|
13KB
|
478 lines
10 '*****************************************************************
20 ' るんるんホリディ V1.0
30 ' -------------------------
40 ' 林 泰 志
50 ' 1990.5.5//8 作成
60 ' -------------------------
70 ' 開発機材: FM-TOWNS M1 + 2Mbyte-RAM/VCARD2/HDD401
80 ' Nikon F2 + MD2 (180mm f2.8/35mm f2.5)KR-64
90 '*****************************************************************
100 '
200 SCREEN@ 0
300 CLS
400 FOR I=0 TO 15
500 PALETTE I,[0,0,0],1 :NEXT I
600 'CLS
700 'CLS
800 'CLS
900 'CLS
1000 'CLS
1100 'CLS
1200 LOAD@ "PAINT16\TULIP.TIF",(0,0)
1300 FOR A=0 TO 255
1400 PALETTE 10,[0,A,0],0
1500 PALETTE 12,[A,0,0],0
1600 PALETTE 14,[A,A,0],0
1700 PALETTE 9,[0,0,A],0
1800 FOR W=0 TO 10
1900 NEXT W
2000 NEXT A
2100 J=0
2200 FOR T=0 TO 170
2300 PALETTE 7,[T,T,T],0
2400 IF J>140 THEN GOTO 2900
2500 PALETTE 5,[0,J,J],0
2600 J=J+1
2700 'PALETTE 5,[J,0,J],0
2800 'PALETTE 5,[J,0,J],0
2900 NEXT T
3000 W=0
3100 W=0 : FOR W=0 TO 40000
3200 NEXT W
3300 FOR A=0 TO 255
3400 S=255-A
3500 PALETTE 10,[0,S,0],0
3600 PALETTE 12,[S,0,0],0
3700 PALETTE 14,[S,S,0],0
3800 PALETTE 9,[0,0,S],0
3900 FOR W=0 TO 10
4000 NEXT W
4100 NEXT A
4200 J=0
4300 FOR T=0 TO 170
4400 R=170-T
4500 PALETTE 7,[R,R,R],0
4600 IF J>140 THEN GOTO 5000
4700 H=140-J
4800 PALETTE 5,[0,H,H],0
4900 J=J+1
5000 NEXT T
5100 'PRINT "表示したぞ!!"
5200 FOR W=0 TO 1000
5300 NEXT W
5400 CLS
5500 FOR P=0 TO 255
5600 FOR Z=0 TO 15
5700 PALETTE Z,[P,P,P],0
5800 NEXT Z
5900 ' FOR W=0 TO 10
6000 ' NEXT W
6100 NEXT P
6200 LOAD@ "paint16\top.tif"
6300 T=0:R=0:K=0:Q=0
6400 FOR S=0 TO 255
6500 P=255-S
6600 PALETTE 14,[255,255,P],0
6700 PALETTE 13,[255,P,255],0
6800 PALETTE 12,[255,P,P],0
6900 PALETTE 11,[P,255,255],0
7000 PALETTE 10,[P,255,P],0
7100 PALETTE 9,[P,P,255],0
7200 IF R>50 THEN GOTO 7600
7300 T=255-R
7400 PALETTE 7,[T,T,T],0
7500 R=R+1
7600 IF Q>200 THEN GOTO 8100
7700 K=255-Q
7800 PALETTE 8,[K,K,255],0
7900 Q=Q+1
8000 ' PALETTE 6,[P,P,P],0
8100 NEXT S
8200 MOUSE 0
8300 MOUSE 1,60,60,1
8400 MOUSE 4,179,119,457,357
8500 'GOTO 8000
8600 'X=MOUSE(4,0)
8700 'Y=MOUSE(5,0)
8800 'PRINT ""X","Y""
8900 'GOTO 8200
9000 H=MOUSE(2,0)
9100 IF H=-1 THEN GOTO 9400
9200 GOTO 9000
9300 'アプリケーションに処理を移します。
9400 'PRINT "タイトル処理は終了しました。おめでとうございます!!。"
9500 '************************************************'
9600 '画面32
9700 'CLS
9800 SCREEN@ 1
9801 'QX1=0 : QY1=0 : QX2=319 : QY2=239
9802 'QX=ABS(QX1-QX2)+1
9803 'QY=ABS(QY1-QY2)+1
9804 'A=2
9805 'SIZEA=INT((2*QX*QY+(A+1))/A)
9806 'DIM M(SIZEA)
9900 LOAD@ "paint32\mat.TIF",(0,0)
9901 'PUT@A (0,0)-(319,239),DD
10000 LOAD@ "paint32\system.tif",(50,40)
10100 QX1=0 : QY1=0 : QX2=150 : QY2=180 :GX1=0 : GY1=0 : GX2=59 : GY2=74
10200 GX=ABS(GX1-GX2)+1 : QX=ABS(QX1-QX2)+1
10300 GY=ABS(GY1-GY2)+1 : QY=ABS(QY1-QY2)+1
10400 A=2
10500 SIZE=INT((2*GX*GY+(A+1))/A) : SIZEA=INT((2*QX*QY+(A+1))/A)
10600 DIM DI1(SIZE)
10700 DIM DI2(SIZE)
10800 DIM DI3(SIZE)
10900 DIM DI4(SIZE)
11000 DIM DI5(SIZE)
11100 DIM DI6(SIZE)
11200 DIM DI7(SIZE)
11300 DIM DI8(SIZE)
11400 DIM DI9(SIZE)
11500 DIM DI10(SIZE)
11600 DIM DIA(SIZEA)
11700 '*********************************
11800 MOUSE 5
11900 MOUSE 0
12000 MOUSE 1,60,60,1
12100 MOUSE 4,51,53,153,166 'システムウインドウのマウス範囲指定
12200 LP=MOUSE(5,0)
12300 'PRINT ""LP""
12400 IF LP<65 GOTO 13000
12500 IF LP<81 GOTO 13100
12600 IF LP<96 GOTO 21400
12700 IF LP<117 GOTO 29500
12800 IF LP<135 GOTO 37600
12900 IF LP<158 GOTO 45700 '終了
13000 GOTO 12100 'システムウインドウのマウスプーリング
13100 'PRINT "了解しました"
13200 '********************************アニメウインドウの表示
13300 '********************************ハングルアニメ
13400 LOAD@ "paint32\hangu.dat",DIA
13500 AX1=130 : AY1=20 : AX2=280 :AY2=200
13600 PUT@A (AX1,AY1)-(AX2,AY2),DIA
13700 LOAD@ "paint32\h11.dat",DI1
13800 X1=143 : Y1=32 : X2=202 : Y2=106 : W=400
13900 PUT@A (X1,Y1)-(X2,Y2),DI1
14000 MOUSE 4,133,23,276,197 'システムウインドウのマウス範囲指定
14100 LOAD@ "paint32\h12.dat",DI2
14200 LOAD@ "paint32\h13.dat",DI3
14300 LOAD@ "paint32\h14.dat",DI4
14400 LOAD@ "paint32\h15.dat",DI5
14500 LOAD@ "paint32\h16.dat",DI6
14600 LOAD@ "paint32\h17.dat",DI7
14700 LOAD@ "paint32\h18.dat",DI8
14800 LOAD@ "paint32\h19.dat",DI9
14900 LOAD@ "paint32\h20.dat",DI10
15000 '***マウスプーリング*******
15100 YP=MOUSE(5,0)
15200 XP=MOUSE(4,0)
15300 'PRINT ""XP","YP""
15400 IF XP>143 THEN IF XP<201 THEN IF YP>32 THEN IF YP<105 THEN GOTO 16000
15500 IF XP>239 THEN IF XP<270 THEN IF YP>176 THEN IF YP<194 THEN GOTO 15700
15600 GOTO 15100 'システムウインドウのマウスプーリング
15700 LOAD@ "paint32\system.tif",(50,40)
15800 GOTO 12100
15900 '*********************************************画像表示
16000 'X1=163 : Y1=32 : X2=222 : Y2=106 : W=400
16100 'YP=0 : XP=0
16200 PUT@A (X1,Y1)-(X2,Y2),DI1
16300 FOR Y=0 TO W
16400 '
16500 '
16600 'NEXT
16700 PUT@A (X1,Y1)-(X2,Y2),DI2
16800 FOR Y=0 TO W
16900 '
17000 '
17100 PUT@A (X1,Y1)-(X2,Y2),DI3
17200 FOR Y=0 TO W
17300 '
17400 '
17500 NEXT
17600 PUT@A (X1,Y1)-(X2,Y2),DI4
17700 FOR Y=0 TO W
17800 '
17900 '
18000 NEXT
18100 PUT@A (X1,Y1)-(X2,Y2),DI5
18200 FOR Y=0 TO W
18300 '
18400 '
18500 NEXT
18600 PUT@A (X1,Y1)-(X2,Y2),DI6
18700 FOR Y=0 TO W
18800 '
18900 '
19000 NEXT
19100 PUT@A (X1,Y1)-(X2,Y2),DI7
19200 FOR Y=0 TO W
19300 '
19400 '
19500 NEXT
19600 PUT@A (X1,Y1)-(X2,Y2),DI8
19700 FOR Y=0 TO W
19800 '
19900 '
20000 NEXT
20100 PUT@A (X1,Y1)-(X2,Y2),DI9
20200 FOR Y=0 TO W
20300 '
20400 '
20500 NEXT
20600 PUT@A (X1,Y1)-(X2,Y2),DI10
20700 FOR Y=0 TO W
20800 '
20900 NEXT Y
21000 YP=MOUSE(5,0)
21100 XP=MOUSE(4,0)
21200 IF XP>143 THEN IF XP<201 THEN IF YP>107 THEN IF YP<120 THEN GOTO 15100
21300 GOTO 16200
21400 '********************************mii
21500 LOAD@ "paint32\mii.dat",DIA
21600 AX1=130 : AY1=20 : AX2=280 :AY2=200
21700 PUT@A (AX1,AY1)-(AX2,AY2),DIA
21800 LOAD@ "paint32\m31.dat",DI1
21900 X1=143 : Y1=32 : X2=202 : Y2=106 : W=400
22000 PUT@A (X1,Y1)-(X2,Y2),DI1
22100 MOUSE 4,133,23,276,197 'システムウインドウのマウス範囲指定
22200 LOAD@ "paint32\m32.dat",DI2
22300 LOAD@ "paint32\m33.dat",DI3
22400 LOAD@ "paint32\m34.dat",DI4
22500 LOAD@ "paint32\m35.dat",DI5
22600 LOAD@ "paint32\m36.dat",DI6
22700 LOAD@ "paint32\m37.dat",DI7
22800 LOAD@ "paint32\m38.dat",DI8
22900 LOAD@ "paint32\m39.dat",DI9
23000 LOAD@ "paint32\m40.dat",DI10
23100 '***マウスプーリング*******
23200 YP=MOUSE(5,0) 'a
23300 XP=MOUSE(4,0)
23400 'PRINT ""XP","YP""
23500 IF XP>143 THEN IF XP<201 THEN IF YP>32 THEN IF YP<105 THEN GOTO 24100 'b
23600 IF XP>239 THEN IF XP<270 THEN IF YP>176 THEN IF YP<194 THEN GOTO 23800 'c
23700 GOTO 23200 'システムウインドウのマウスプーリング 'a
23800 LOAD@ "paint32\system.tif",(50,40) 'c
23900 GOTO 12100
24000 '*********************************************画像表示
24100 'X1=163 : Y1=32 : X2=222 : Y2=106 : W=400 'b
24200 'YP=0 : XP=0
24300 PUT@A (X1,Y1)-(X2,Y2),DI1 'd
24400 FOR Y=0 TO W
24500 '
24600 '
24700 'NEXT
24800 PUT@A (X1,Y1)-(X2,Y2),DI2
24900 FOR Y=0 TO W
25000 '
25100 '
25200 PUT@A (X1,Y1)-(X2,Y2),DI3
25300 FOR Y=0 TO W
25400 '
25500 '
25600 NEXT
25700 PUT@A (X1,Y1)-(X2,Y2),DI4
25800 FOR Y=0 TO W
25900 '
26000 '
26100 NEXT
26200 PUT@A (X1,Y1)-(X2,Y2),DI5
26300 FOR Y=0 TO W
26400 '
26500 '
26600 NEXT
26700 PUT@A (X1,Y1)-(X2,Y2),DI6
26800 FOR Y=0 TO W
26900 '
27000 '
27100 NEXT
27200 PUT@A (X1,Y1)-(X2,Y2),DI7
27300 FOR Y=0 TO W
27400 '
27500 '
27600 NEXT
27700 PUT@A (X1,Y1)-(X2,Y2),DI8
27800 FOR Y=0 TO W
27900 '
28000 '
28100 NEXT
28200 PUT@A (X1,Y1)-(X2,Y2),DI9
28300 FOR Y=0 TO W
28400 '
28500 '
28600 NEXT
28700 PUT@A (X1,Y1)-(X2,Y2),DI10
28800 FOR Y=0 TO W
28900 '
29000 NEXT Y
29100 YP=MOUSE(5,0)
29200 XP=MOUSE(4,0)
29300 IF XP>143 THEN IF XP<201 THEN IF YP>107 THEN IF YP<120 THEN GOTO 23200 'a
29400 GOTO 24300 'd
29500 '********************************sea
29600 LOAD@ "paint32\sea.dat",DIA
29700 AX1=130 : AY1=20 : AX2=280 :AY2=200
29800 PUT@A (AX1,AY1)-(AX2,AY2),DIA
29900 LOAD@ "paint32\s1.dat",DI1
30000 X1=143 : Y1=32 : X2=202 : Y2=106 : W=400
30100 PUT@A (X1,Y1)-(X2,Y2),DI1
30200 MOUSE 4,133,23,276,197 'システムウインドウのマウス範囲指定
30300 LOAD@ "paint32\s2.dat",DI2
30400 LOAD@ "paint32\s3.dat",DI3
30500 LOAD@ "paint32\s4.dat",DI4
30600 LOAD@ "paint32\s5.dat",DI5
30700 LOAD@ "paint32\s6.dat",DI6
30800 LOAD@ "paint32\s7.dat",DI7
30900 LOAD@ "paint32\s8.dat",DI8
31000 LOAD@ "paint32\s9.dat",DI9
31100 LOAD@ "paint32\s10.dat",DI10
31200 '***マウスプーリング*******
31300 YP=MOUSE(5,0) 'a
31400 XP=MOUSE(4,0)
31500 'PRINT ""XP","YP""
31600 IF XP>143 THEN IF XP<201 THEN IF YP>32 THEN IF YP<105 THEN GOTO 32200 'b
31700 IF XP>239 THEN IF XP<270 THEN IF YP>176 THEN IF YP<194 THEN GOTO 31900 'c
31800 GOTO 31300 'システムウインドウのマウスプーリング 'a
31900 LOAD@ "paint32\system.tif",(50,40) 'c
32000 GOTO 12100
32100 '*********************************************画像表示
32200 'X1=163 : Y1=32 : X2=222 : Y2=106 : W=400 'b
32300 'YP=0 : XP=0
32400 PUT@A (X1,Y1)-(X2,Y2),DI1 'd
32500 FOR Y=0 TO W
32600 '
32700 '
32800 'NEXT
32900 PUT@A (X1,Y1)-(X2,Y2),DI2
33000 FOR Y=0 TO W
33100 '
33200 '
33300 PUT@A (X1,Y1)-(X2,Y2),DI3
33400 FOR Y=0 TO W
33500 '
33600 '
33700 NEXT
33800 PUT@A (X1,Y1)-(X2,Y2),DI4
33900 FOR Y=0 TO W
34000 '
34100 '
34200 NEXT
34300 PUT@A (X1,Y1)-(X2,Y2),DI5
34400 FOR Y=0 TO W
34500 '
34600 '
34700 NEXT
34800 PUT@A (X1,Y1)-(X2,Y2),DI6
34900 FOR Y=0 TO W
35000 '
35100 '
35200 NEXT
35300 PUT@A (X1,Y1)-(X2,Y2),DI7
35400 FOR Y=0 TO W
35500 '
35600 '
35700 NEXT
35800 PUT@A (X1,Y1)-(X2,Y2),DI8
35900 FOR Y=0 TO W
36000 '
36100 '
36200 NEXT
36300 PUT@A (X1,Y1)-(X2,Y2),DI9
36400 FOR Y=0 TO W
36500 '
36600 '
36700 NEXT
36800 PUT@A (X1,Y1)-(X2,Y2),DI10
36900 FOR Y=0 TO W
37000 '
37100 NEXT Y
37200 YP=MOUSE(5,0)
37300 XP=MOUSE(4,0)
37400 IF XP>143 THEN IF XP<201 THEN IF YP>107 THEN IF YP<120 THEN GOTO 31300 'a
37500 GOTO 32400 'd
37600 '********************************car
37700 LOAD@ "paint32\car.dat",DIA
37800 AX1=130 : AY1=20 : AX2=280 :AY2=200
37900 PUT@A (AX1,AY1)-(AX2,AY2),DIA
38000 LOAD@ "paint32\c11.dat",DI1
38100 X1=143 : Y1=32 : X2=202 : Y2=106 : W=400
38200 PUT@A (X1,Y1)-(X2,Y2),DI1
38300 MOUSE 4,133,23,276,197 'システムウインドウのマウス範囲指定
38400 LOAD@ "paint32\c12.dat",DI2
38500 LOAD@ "paint32\c13.dat",DI3
38600 LOAD@ "paint32\c14.dat",DI4
38700 LOAD@ "paint32\c15.dat",DI5
38800 LOAD@ "paint32\c16.dat",DI6
38900 LOAD@ "paint32\c17.dat",DI7
39000 LOAD@ "paint32\c18.dat",DI8
39100 LOAD@ "paint32\c19.dat",DI9
39200 LOAD@ "paint32\c20.dat",DI10
39300 '***マウスプーリング*******
39400 YP=MOUSE(5,0) 'a
39500 XP=MOUSE(4,0)
39600 'PRINT ""XP","YP""
39700 IF XP>143 THEN IF XP<201 THEN IF YP>32 THEN IF YP<105 THEN GOTO 40300 'b
39800 IF XP>239 THEN IF XP<270 THEN IF YP>176 THEN IF YP<194 THEN GOTO 40000 'c
39900 GOTO 39400 'システムウインドウのマウスプーリング 'a
40000 LOAD@ "paint32\system.tif",(50,40) 'c
40100 GOTO 12100
40200 '*********************************************画像表示
40300 'X1=163 : Y1=32 : X2=222 : Y2=106 : W=400 'b
40400 'YP=0 : XP=0
40500 PUT@A (X1,Y1)-(X2,Y2),DI1 'd
40600 FOR Y=0 TO W
40700 '
40800 '
40900 'NEXT
41000 PUT@A (X1,Y1)-(X2,Y2),DI2
41100 FOR Y=0 TO W
41200 '
41300 '
41400 PUT@A (X1,Y1)-(X2,Y2),DI3
41500 FOR Y=0 TO W
41600 '
41700 '
41800 NEXT
41900 PUT@A (X1,Y1)-(X2,Y2),DI4
42000 FOR Y=0 TO W
42100 '
42200 '
42300 NEXT
42400 PUT@A (X1,Y1)-(X2,Y2),DI5
42500 FOR Y=0 TO W
42600 '
42700 '
42800 NEXT
42900 PUT@A (X1,Y1)-(X2,Y2),DI6
43000 FOR Y=0 TO W
43100 '
43200 '
43300 NEXT
43400 PUT@A (X1,Y1)-(X2,Y2),DI7
43500 FOR Y=0 TO W
43600 '
43700 '
43800 NEXT
43900 PUT@A (X1,Y1)-(X2,Y2),DI8
44000 FOR Y=0 TO W
44100 '
44200 '
44300 NEXT
44400 PUT@A (X1,Y1)-(X2,Y2),DI9
44500 FOR Y=0 TO W
44600 '
44700 '
44800 NEXT
44900 PUT@A (X1,Y1)-(X2,Y2),DI10
45000 FOR Y=0 TO W
45100 '
45200 NEXT Y
45300 YP=MOUSE(5,0)
45400 XP=MOUSE(4,0)
45500 IF XP>143 THEN IF XP<201 THEN IF YP>107 THEN IF YP<120 THEN GOTO 39400 'a
45600 GOTO 40500 'd
45700 SCREEN@ 0
45800 LOAD@"paint16\close.tif",(0,0)
45900 FOR C=0 TO 5000
46000 NEXT C
46100 SYSTEM