home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
No Fragments Archive 4: The Falcon Archive
/
nf_archive_four_v1.0.iso
/
ARCHIVE
/
DEMOS
/
LAZER
/
LAZEROS.ZIP
/
LAZEROS
/
MAIN
/
ONEFILE5.BAK
(
.txt
)
< prev
next >
Wrap
GFA-BASIC Atari
|
1995-10-03
|
936b
|
52 lines
DIM buf|(2000000)
DIM index#(100),len#(100)
ptr#=V:buf|(0)
len#=0
'
READ output$
PRINT "Output filename: ";output$
PRINT
'
cnt#=0
DO
READ f$
EXIT IF f$="***"
PRINT f$;" ",
OPEN "i",#1,f$
l#=LOF(#1)
PRINT l#
BGET #1,ptr#+len#,l#
CLOSE #1
index#(cnt#)=len#
len#(cnt#)=l#
len#=len#+l#
'
len#=(len#+8) AND &H0
'
INC cnt#
LOOP
'
PRINT
PRINT "Total length: ";len#
'
m$=""
FOR i#=0 TO cnt#-1
m$=m$+MKL$(index#(i#)+cnt#*8)
m$=m$+MKL$(len#(i#))
NEXT i#
'
'
OPEN "o",#1,output$
BPUT #1,V:m$,LEN(m$)
BPUT #1,ptr#,len#
CLOSE #1
'
~INP(2)
'
DATA "h:\dba\dba.dat"
DATA "h:\dba\knob.mod"
DATA "h:\dba\back.prg"
DATA "h:\dba\3d.prg"
DATA "h:\dba\rot.prg"
DATA "***"