- U. B }( V7 k* k/ [' J- open FDDE DIR 1& e- r# _9 C! O& N3 g
- open FDDE TOC 2
; c- _1 e& e$ n B/ c! \; e - . S- C/ ?- R+ n5 V' O8 K4 H
- do 5 l) k# ^6 I2 R* }% l! k
- getdstring CHUNK 4 2
/ W2 l9 ^2 T3 G$ r; J( T+ m/ O: E - get DUNNO long 2
: k, H7 r3 B" t+ g% A - get DUNNO long 2
0 z4 [/ a- M1 T! ]4 ~ - get FILES long 2
$ i6 G5 Q, N6 x - get DUNNO long 2
5 j( P. e9 F9 l$ U, b, c# \ - get DUNNO long 2
9 v+ b6 v2 X1 B# s- W. D; V+ p+ g - get DUNNO long 2 # new added. B( I3 o) }7 ]: _7 W9 d5 W8 b$ i
- get DUNNO long 2 # new added
) T- P8 r! l7 R9 e0 O' C Z - while CHUNK != "REST"
, ?! f6 d4 Q# Y0 L) V - ( y D( \; y' A) l Q
- savepos NAMEPTR 1
& x# q2 ^: W1 z- U; C2 f# u \3 V - for i = 1 to FILES
- e: ~: v: W/ Q - get DUNNO long 2
' M2 x' Y U, ]# t* [ - get SIZE long 24 M; r% D8 _, }0 X% Q! {, [/ {
- math SIZE >>= 2$ y7 i9 V2 M" ?& u. x1 p" H
- get OFFSET long 2
- [# P1 T9 ^% f/ o+ z! {. W - 7 t0 A5 M2 ~ y
- goto NAMEPTR 1& `5 x" N# J5 N* z. b/ K" @
- get NAMEOFF long 1
" R$ B* J7 N. G# i - savepos NAMEPTR 1
- C% |* n% E' `8 }$ Q - goto NAMEOFF 1) e6 U# J9 q) r* u
- get NAME string 1& _5 b* f% j9 w4 W% u; k% B
- ^( c1 ~( c2 ^# ^$ p9 S* l3 D- log NAME OFFSET SIZE; |$ R- M6 O, z6 o ?( t* z
- next i8 {: U+ N. v; j8 j, x y
复制代码 |