- * c& z& G5 c1 e
- open FDDE DIR 19 {; T$ P) K( o7 d. R6 g- R
- open FDDE TOC 2
/ H3 n* O* v& C4 i8 H, S1 d - ]3 v2 o) @9 {% \/ `, ]% c
- do
9 \1 v& {. \- N5 F. J - getdstring CHUNK 4 2" @2 D1 t. s z% a0 z7 v
- get DUNNO long 2
4 ~5 K% B8 c: t$ o& p/ J( S Y - get DUNNO long 2
+ a: t" m x I! E! H$ A% J3 O4 } - get FILES long 2- f2 K2 M, M3 @( j, F2 R
- get DUNNO long 2) K8 v8 }; G8 H
- get DUNNO long 2
: Q4 F: P. y+ [7 Q4 T - get DUNNO long 2 # new added
* d/ [6 C0 J Q6 l4 J4 x g2 m. { - get DUNNO long 2 # new added
2 T5 w+ e" X! W: G; q8 @ - while CHUNK != "REST"
2 _3 v: y7 T% }# L1 S: e* l2 R
( e6 Y3 d! x3 z% U1 b9 A3 y- savepos NAMEPTR 1
. Z. d- t9 A4 D6 Y, Q) I - for i = 1 to FILES
1 n( @3 M. @% v; o- b5 z - get DUNNO long 2
1 S4 T' e3 U, @ - get SIZE long 2
& e9 F& }& f+ Q+ _0 J - math SIZE >>= 2
$ \0 p. B* M+ ~- @. a - get OFFSET long 2
: q4 S$ X* y1 ~, Y0 L - ' @3 h% W( m. \$ B7 t
- goto NAMEPTR 1
) ?# n. [) z F2 l8 n" a- {7 q - get NAMEOFF long 1. Q) l1 d/ p; `/ n
- savepos NAMEPTR 1# z/ h- }$ c Y7 I3 _( \
- goto NAMEOFF 1# @9 I: g/ @! O4 q; y' v' H; n
- get NAME string 1
# _" U- @( ?. F- ]9 ~; w. i - : y0 T3 F. v; T* ~. W% B& ^- P/ p, V
- log NAME OFFSET SIZE
) U6 A$ x2 r \ - next i
9 H z3 v5 _/ v# u2 W$ Q! _
复制代码 |