home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
TCE Demo 2
/
TCE_DEMO_CD2.iso
/
demo_cd_.2
/
mags
/
stosser
/
stoser09.arj
/
stoser09.msa
/
TUT.9
/
L3.ASC
< prev
next >
Wrap
Text File
|
1987-04-22
|
1KB
|
37 lines
10 rem **************************
20 rem *** ***
30 rem *** UNSQUASHING FILES ***
40 rem *** ***
50 rem **************************
60 rem
70 rem screen init
80 rem
90 if mode<>0 then mode 0
100 cls : key off : curs off : hide on
110 if length(1)<>0 then goto 260
120 DRV=drive : drive=0 : dir$="A:\"
130 rem
140 rem picking the file to unsquash
150 rem
160 locate 10,10 : print "LOAD PACed FILE" : wait 50
170 if length(7)=0 then reserve as screen 7
180 cls : show on : PKD$=file select$("*.pac")
190 rem
200 rem get size of file to unsquash
210 rem
220 open in #1,PKD$ : LF=lof(#1) : close #1
230 reserve as work 8,LF
240 hide on : bload PKD$,8
250 locate 10,10
260 print PKD$;" IS LOADED" : wait 50
270 cls
280 rem
290 rem unsquashing file in a screen bank
300 rem
310 copy start(8),start(8)+LF to start(7)
320 unsquash 7,LF
330 get palette (7)
340 appear 7
350 centre "programme will end soon"
360 wait 200 : default end