home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Mods Anthology 2
/
Music-AmigaModsAnthology-2of4-Psychodk.mcsteam.iso
/
Tools
/
Amiga
/
Misc
/
xList_v1.06
/
xList_Sources
/
xlistgui.63.asm
< prev
next >
Wrap
Assembly Source File
|
1996-02-12
|
18KB
|
969 lines
; xList-GUI v1.06 (12.02.96), an user-friendly (and cheap) GUI frontend for
; xList (allow recursivity...)
; revision 63 - recoded in ezasm
incdir include:
include dos/dos.i
include reqtools/reqtools.i
include exec/execbase.i
GOOD_FILE equ 1
NOT_PICKED equ 0
VARSIZE equ 8
GVF_GLOBAL_ONLY = $100
;STRUCTURE xListGUI_Vars,0
_DOSBase equ -4
_ReqToolsBase equ -8
xl_wbstartup equ -12
xl_filereq equ -16
xl_membase equ -20
xl_fib equ -24
xl_size equ -28
xl_lock equ -32
xl_oldlock equ -36
xl_tmplock equ -40
xl_txtdirlock equ -44
xl_txtlock equ -48
xl_introfile equ -52
xl_introdir equ -56
xl_seg equ -60
xl_endfile equ -64
xl_enddir equ -68
xl_txtfh equ -72
xl_txtbuffer equ -76
xl_oldlock2 equ -80
xl_rdargs equ -84
xl_dirptr equ -88
xl_testlock equ -92
xl_noroot equ -96
xl_append equ -100
xl_endtxt equ -104
xl_introtxt equ -108
xl_argsarray equ -112
xl_listfh equ -116
xl_varbuff equ -120
xl_dirtoscan equ -124
xl_prvarargv equ -128
xl_bigtotal equ -132
xl_onedirtot equ -136
xl_varfh equ -140
xl_bigvarbuff equ -144
xl_statfh equ -148
xl_slavelock equ -152
xl_switch equ -160
xl_typecom_buff equ -416
xl_rtbuffer equ -544
xl_fibstruct equ -960
xl_vbuf equ -992
xl_bvbuf equ -1024
SECTION text,CODE
link a5,#-1024
movea.l a5,a1
moveq #0,d7
move.l #255,d1
_l1 move.l d7,-(a1)
dbf d1,_l1
movea.l $4.w,a6
lea _c0(pc),a1
moveq #37,d0
jsr -552(a6)
move.l d0,_DOSBase(a5)
beq _l0
lea _c1(pc),a1
moveq #0,d0
jsr -552(a6)
move.l d0,_ReqToolsBase(a5)
beq _l0
progstart
bra.b pstart
version
dc.b '$VER:'
title
dc.b ' xList-GUI v1.06 (12.02.96)',0
even
pstart
moveq #0,d0
bsr getwbmsg
lea xl_rtbuffer(a5),a0
move.l a0,xl_membase(a5)
lea xl_fibstruct(a5),a0
move.l a0,xl_fib(a5)
lea xl_vbuf(a5),a0
move.l a0,xl_varbuff(a5)
lea xl_bvbuf(a5),a0
move.l a0,xl_bigvarbuff(a5)
testprg
lea xlistname(pc),a0
movea.l _DOSBase(a5),a6
move.l a0,d1
move.l #ACCESS_READ,d2
jsr -84(a6)
move.l d0,xl_slavelock(a5)
bne _l2
lea segname(pc),a0
move.l a0,d1
move.l #ACCESS_READ,d2
jsr -84(a6)
move.l d0,xl_slavelock(a5)
bne ulockprg
lea prgdir(pc),a0
move.l a0,d1
move.l #ACCESS_READ,d2
jsr -84(a6)
move.l d0,xl_lock(a5)
beq _l3
move.l xl_lock(a5),d1
jsr -126(a6)
move.l d0,xl_oldlock(a5)
lea segname(pc),a0
move.l a0,d1
move.l #ACCESS_READ,d2
jsr -84(a6)
move.l d0,xl_slavelock(a5)
bne ulockprg
_l3
lea body8(pc),a1
lea button8(pc),a2
bsr disp_req
bra replymsg
_l2
ulockprg
movea.l _DOSBase(a5),a6
move.l xl_slavelock(a5),d1
jsr -90(a6)
findseg ; if xList is not yet resident
lea segname(pc),a0
movea.l _DOSBase(a5),a6
move.l a0,d1
moveq #0,d2
moveq #0,d3
jsr -780(a6)
tst.l d0
bne _l4
lea xlistname(pc),a0
move.l a0,d1
jsr -150(a6)
move.l d0,xl_seg(a5)
bne _l5
lea segname(pc),a0
move.l a0,d1
jsr -150(a6)
move.l d0,xl_seg(a5)
move.l xl_oldlock(a5),d1
jsr -126(a6)
_l5
move.l xl_seg(a5),d7
beq _l6
lea segname(pc),a0
movea.l _DOSBase(a5),a6
move.l a0,d1
move.l d7,d2
moveq #1,d3
jsr -774(a6)
_l6
_l4
readargs
lea stattxt(pc),a0
movea.l _DOSBase(a5),a6
move.l a0,d1
move.l #MODE_NEWFILE,d2
jsr -30(a6)
move.l d0,xl_statfh(a5)
bsr deletebigvar
bsr getbig
lea template(pc),a0
lea xl_argsarray(a5),a1
move.l a0,d1
move.l a1,d2
moveq #0,d3
jsr -798(a6)
move.l d0,xl_rdargs(a5)
beq replymsg
move.l xl_argsarray(a5),d7
beq _l7
moveq #1,d7
move.l d7,xl_switch(a5)
movea.l xl_argsarray(a5),a0
move.l (a0)+,xl_dirtoscan(a5)
move.l a0,xl_dirptr(a5)
bra phase2
_l7
req1
movea.l _ReqToolsBase(a5),a6
move.l #RT_FILEREQ,d0
sub.l a0,a0
jsr -30(a6)
move.l d0,xl_filereq(a5)
bne _l8
lea body1(pc),a1 ; out of memory
lea button1(pc),a2
bsr disp_req
bra freeargs
_l8
frallocated
clr.l xl_txtdirlock(a5)
clr.l xl_txtlock(a5)
clr.l xl_introfile(a5)
clr.l xl_introdir(a5)
clr.l xl_endfile(a5)
clr.l xl_enddir(a5)
welcome
lea body2(pc),a1
lea button2(pc),a2
bsr disp_req
tst.l d0
beq freereq2 ; quit
moveq #1,d7
cmp.l d7,d0
beq req4txt ; proceed
; d0 = #1 popupfr
lea body6(pc),a1 ; about
lea button6(pc),a2
bsr disp_req
lea body7(pc),a1 ; ` about2
lea button7(pc),a2
bsr disp_req
bra.b welcome
req4txt
lea body9(pc),a1 ; proceed, intro, end
lea button9(pc),a2
bsr disp_req
moveq #1,d7
cmp.l d7,d0
beq popupfr ; dir req
moveq #2,d7
cmp.l d7,d0
beq reqintro ; intro
reqend ; end
bsr choose
tst.l d0
beq req4txt
move.l xl_txtdirlock(a5),xl_enddir(a5)
move.l xl_txtlock(a5),xl_endfile(a5)
bra.b req4txt
reqintro
bsr choose
tst.l d0
beq req4txt
move.l xl_txtdirlock(a5),xl_introdir(a5)
move.l xl_txtlock(a5),xl_introfile(a5)
bra req4txt
popupfr
movea.l xl_membase(a5),a2
clr.l (a2)
movea.l _ReqToolsBase(a5),a6
movea.l xl_filereq(a5),a1
lea text1(pc),a3
lea tags1(pc),a0
jsr -54(a6)
tst.l d0
bne picked
lea body3(pc),a1
lea button3(pc),a2
bsr disp_req
tst.l d0
bne welcome
move.l xl_introfile(a5),d7
beq _l9
movea.l _DOSBase(a5),a6
move.l d7,d1
jsr -90(a6)
_l9
move.l xl_endfile(a5),d7
beq _l10
movea.l _DOSBase(a5),a6
move.l d7,d1
jsr -90(a6)
_l10
bra freereq2
choose
movea.l xl_membase(a5),a2
clr.l (a2)
movea.l _ReqToolsBase(a5),a6
movea.l xl_filereq(a5),a1
lea text2(pc),a3
lea _t0,a0
jsr -54(a6)
tst.l d0
beq _l11
movea.l xl_filereq(a5),a1
movea.l _DOSBase(a5),a6
move.l rtfi_Dir(a1),d1
move.l #ACCESS_READ,d2
jsr -84(a6)
move.l d0,xl_txtdirlock(a5)
beq _l12
move.l xl_txtdirlock(a5),d1
jsr -126(a6)
move.l d0,xl_oldlock2(a5)
move.l xl_membase(a5),d1
move.l #ACCESS_READ,d2
jsr -84(a6)
move.l d0,xl_txtlock(a5)
bne _l13
move.l xl_oldlock2(a5),d1
jsr -126(a6)
move.l d0,d1
jsr -90(a6)
moveq #NOT_PICKED,d0
rts
_l13
movea.l _DOSBase(a5),a6
move.l xl_oldlock2(a5),d1
jsr -126(a6)
move.l d0,d1
jsr -90(a6)
moveq #GOOD_FILE,d0
rts
_l12
moveq #NOT_PICKED,d0
rts
_l11
moveq #NOT_PICKED,d0
rts
picked
movea.l xl_filereq(a5),a0
move.l rtfi_Dir(a0),xl_dirtoscan(a5)
movea.l xl_dirtoscan(a5),a1
tst.l (a1)
bne _l14
movea.l _DOSBase(a5),a6
move.l xl_membase(a5),d1
move.l #128,d2
jsr -564(a6)
tst.l d0
beq _l15 ; success ! very likely to append
move.l xl_membase(a5),xl_dirtoscan(a5)
_l15
_l14
phase2
movea.l _DOSBase(a5),a6
move.l xl_dirtoscan(a5),d1
move.l #ACCESS_READ,d2
jsr -84(a6)
move.l d0,xl_lock(a5)
bne _l16
move.l xl_switch(a5),d7
bne befloop
lea body4(pc),a1
lea button4(pc),a2
bsr disp_req
tst.l d0
beq freereq2
bra req1
_l16
dirlocked
movea.l _DOSBase(a5),a6
move.l xl_lock(a5),d1
jsr -126(a6)
move.l d0,xl_oldlock(a5)
lea outname(pc),a0
move.l a0,d1
move.l #ACCESS_READ,d2
jsr -84(a6)
tst.l d0
beq noprev
move.l d0,d1
jsr -90(a6)
move.l xl_switch(a5),d7
beq _l17
move.l xl_append(a5),d7
bne noprev
bra.b testdest
_l17
append_req
lea body5(pc),a1
lea button5(pc),a2
bsr disp_req
tst.l d0
beq current
moveq #1,d7
cmp.l d7,d0
beq noprev
testdest
lea outname2(pc),a0
movea.l _DOSBase(a5),a6
move.l a0,d1
move.l #ACCESS_READ,d2
jsr -84(a6)
move.l d0,xl_testlock(a5)
beq _l18
move.l xl_testlock(a5),d1
jsr -90(a6)
lea outname2(pc),a0
add.b #1,14(a0)
bra.b testdest
_l18
rename
lea outname(pc),a0
lea outname2(pc),a1
movea.l _DOSBase(a5),a6
move.l a0,d1
move.l a1,d2
jsr -78(a6)
noprev ; ****** Beginning of the serious stuff ******\\\\\\\\\\\\\\\\\\\\\
bsr printintro
clr.l xl_introfile(a5)
lea comline1(pc),a0 ; List >T:xltmp1 lformat "xList >>RAM:xList_out
movea.l _DOSBase(a5),a6
move.l a0,d1
moveq #0,d2
moveq #0,d3
jsr -222(a6)
lea tmpname(pc),a0
move.l a0,d1
move.l #ACCESS_READ,d2
jsr -84(a6)
move.l d0,xl_tmplock(a5)
beq current
move.l d0,d1
move.l xl_fib(a5),d2
jsr -102(a6)
movea.l xl_fib(a5),a0
tst.l fib_Size(a0)
bne _l19
move.l xl_tmplock(a5),d1
jsr -90(a6)
lea dummycom(pc),a0
move.l a0,d1
moveq #0,d2
moveq #0,d3
jsr -222(a6)
bsr printend
clr.l xl_endfile(a5)
bra current
_l19
nonull
movea.l _DOSBase(a5),a6
move.l xl_tmplock(a5),d1
jsr -90(a6)
move.l xl_switch(a5),d7
beq rootreq
move.l xl_noroot(a5),d7
beq root
bra.b com2
rootreq
lea body11(pc),a1
lea button11(pc),a2
bsr disp_req
tst.l d0
beq com2
root
lea dummycom(pc),a0
movea.l _DOSBase(a5),a6
move.l a0,d1
moveq #0,d2
moveq #0,d3
jsr -222(a6)
com2
lea comline2(pc),a0
; dc.b 'Sort >NIL: T:xl_tmp1 to T:xl_tmp4',10,'Execute >NIL:'
; dc.b ' T:xl_tmp4',0
movea.l _DOSBase(a5),a6
move.l a0,d1
moveq #0,d2
moveq #0,d3
jsr -222(a6)
bsr printend
lea tmpname(pc),a0
move.l a0,d1
jsr -72(a6)
lea sortedname(pc),a0
move.l a0,d1
jsr -72(a6)
current
movea.l _DOSBase(a5),a6
move.l xl_oldlock(a5),d1
jsr -126(a6)
move.l d0,d1
jsr -90(a6)
befloop ; scanning finished, next dir (CLI) or mainmenu (GUI)
bsr gettotal ; stats stuff
move.l xl_switch(a5),d7
beq frallocated
movea.l xl_dirptr(a5),a0
move.l (a0)+,xl_dirtoscan(a5)
beq freeargs
move.l a0,xl_dirptr(a5)
bra phase2 ; scan the next dir
;************************** misc subroutines
getwbmsg
move.l 4.w,a6
movea.l ThisTask(a6),a2
tst.l pr_CLI(a2)
bne _l20
movea.l $4.w,a6
lea pr_MsgPort(a2),a0
jsr -384(a6)
lea pr_MsgPort(a2),a0
jsr -372(a6)
move.l d0,(a5)
_l20
rts
disp_req ; subroutine for RT requesters
movea.l _ReqToolsBase(a5),a6
sub.l a3,a3
sub.l a4,a4
lea tags2(pc),a0
jsr -66(a6)
move.l d0,d0
rts
printintro ; unlock, currentdir
move.l xl_introtxt(a5),d7
beq _l21
movea.l _DOSBase(a5),a6
move.l d7,d1
move.l #ACCESS_READ,d2
jsr -84(a6)
tst.l d0
beq _l22
move.l d0,d1
jsr -90(a6)
movea.l xl_introtxt(a5),a2
lea comline3(pc),a0
bsr appendcom
_l22
rts
_l21
itfromgui
move.l xl_introfile(a5),xl_txtlock(a5)
bne _l23
rts
_l23
bra printtxt2
printend
move.l xl_endtxt(a5),d7
beq _l24
movea.l _DOSBase(a5),a6
move.l d7,d1
move.l #ACCESS_READ,d2
jsr -84(a6)
tst.l d0
beq _l25
move.l d0,d1
jsr -90(a6)
movea.l xl_endtxt(a5),a2
lea comline3(pc),a0
bsr appendcom
_l25
rts
_l24
etfromgui
move.l xl_endfile(a5),xl_txtlock(a5)
bne _l26
rts
_l26
printtxt2 ; lock in xl_txtlock
lea comline3(pc),a0
bsr appendsub
move.l #255,d3
sub.l d0,d3
movea.l _DOSBase(a5),a6
move.l xl_txtlock(a5),d1
move.l a1,d2
jsr -402(a6)
lea xl_typecom_buff(a5),a0
move.l a0,d1
moveq #0,d2
moveq #0,d3
jsr -222(a6)
move.l xl_txtlock(a5),d1
jsr -90(a6)
rts
appendcom ; a0 - beg a2 - end
bsr appendsub
move.l a2,a0 ; append argument
.loop2
move.b (a0)+,(a1)+
bne.b .loop2
lea xl_typecom_buff(a5),a0
movea.l _DOSBase(a5),a6
move.l a0,d1
moveq #0,d2
moveq #0,d3
jsr -222(a6)
rts
appendsub
lea xl_typecom_buff(a5),a1
moveq #-1,d0
.loop
addq #1,d0
move.b (a0)+,(a1)+ ; copy beginning of command in memory
bne.b .loop
tst.b -(a1)
return
rts
**************************************
gettotal
; check if env:xltotal is here - if yes: get it - add to maintotal - del it -
; (maintotal's will be added to have the real total, in case of multiple dirs)
lea varfname(pc),a0
movea.l _DOSBase(a5),a6
move.l a0,d1
move.l #ACCESS_READ,d2
jsr -84(a6)
move.l d0,xl_slavelock(a5)
beq _l27
move.l xl_slavelock(a5),d1
jsr -90(a6)
lea varname(pc),a0
move.l a0,d1
move.l xl_varbuff(a5),d2
move.l #VARSIZE,d3
move.l #GVF_GLOBAL_ONLY,d4
jsr -906(a6)
lea xl_onedirtot(a5),a0
move.l xl_varbuff(a5),d1
move.l a0,d2
jsr -816(a6)
lea mtotfmt(pc),a0
lea xl_dirtoscan(a5),a1
move.l xl_statfh(a5),d1
move.l a0,d2
move.l a1,d3
jsr -354(a6)
move.l xl_statfh(a5),d1
moveq #0,d2
move.l #OFFSET_END,d3
jsr -66(a6)
bsr getbig
lea varfname(pc),a0
move.l a0,d1
jsr -72(a6)
lea basevar(pc),a0
move.l a0,d1
jsr -72(a6)
_l27
rts
deletebigvar
lea bigvfname(pc),a0
movea.l _DOSBase(a5),a6
move.l a0,d1
jsr -72(a6)
rts
getbig
lea bigvfname(pc),a0
movea.l _DOSBase(a5),a6
move.l a0,d1
move.l #ACCESS_READ,d2
jsr -84(a6)
tst.l d0
bne _l28
lea bigvname(pc),a0
move.l a0,d1
move.l xl_varbuff(a5),d2
move.l #VARSIZE,d3
move.l #GVF_GLOBAL_ONLY,d4
jsr -900(a6)
rts
_l28
gzdh
movea.l _DOSBase(a5),a6
move.l d0,d1
jsr -90(a6)
lea bigvname(pc),a0
move.l a0,d1
move.l xl_bigvarbuff(a5),d2
move.l #VARSIZE,d3
move.l #GVF_GLOBAL_ONLY,d4
jsr -906(a6)
lea xl_bigtotal(a5),a0
move.l xl_bigvarbuff(a5),d1
move.l a0,d2
jsr -816(a6)
move.l xl_onedirtot(a5),d0
add.l d0,xl_bigtotal(a5)
lea bigvfname(pc),a0
move.l a0,d1
move.l #MODE_NEWFILE,d2
jsr -30(a6)
move.l d0,xl_varfh(a5)
beq _l29
lea xl_bigtotal(a5),a1
lea fmtvar(pc),a0
move.l xl_varfh(a5),d1
move.l a0,d2
move.l a1,d3
jsr -348(a6)
move.l xl_varfh(a5),d1
jsr -36(a6)
_l29
rts
freereq2
move.l xl_filereq(a5),d7
beq _l30
movea.l _ReqToolsBase(a5),a6
movea.l d7,a1
jsr -36(a6)
_l30
freeargs
move.l xl_rdargs(a5),d7
beq _l31
movea.l _DOSBase(a5),a6
move.l d7,d1
jsr -858(a6)
_l31
replymsg
move.l xl_statfh(a5),d7
beq _l32
movea.l _DOSBase(a5),a6
move.l d7,d1
move.l xl_fib(a5),d2
jsr -390(a6)
movea.l xl_fib(a5),a0
tst.l fib_Size(a0)
beq _l33
move.l xl_bigtotal(a5),d7
beq _l34
lea totstat(pc),a0
lea xl_bigtotal(a5),a1
move.l xl_statfh(a5),d1
move.l a0,d2
move.l a1,d3
jsr -354(a6)
_l34
movea.l _DOSBase(a5),a6
move.l xl_statfh(a5),d1
jsr -36(a6)
bra _l35
_l33
movea.l _DOSBase(a5),a6
move.l xl_statfh(a5),d1
jsr -36(a6)
lea stattxt(pc),a0
move.l a0,d1
jsr -72(a6)
_l35
_l32
move.l xl_wbstartup(a5),d7
beq _l36
movea.l $4.w,a6
jsr -132(a6)
movea.l d7,a1
jsr -378(a6)
_l36
CLIExit
_l0
movea.l $4.w,a6
move.l _DOSBase(a5),d7
beq.s _l37
movea.l d7,a1
jsr -414(a6)
_l37
move.l _ReqToolsBase(a5),d7
beq.s _l38
movea.l d7,a1
jsr -414(a6)
_l38
unlk a5
moveq #0,d0
rts
_c0 dc.b "dos.library",0
_c1 dc.b "reqtools.library",0
ds.l 0
_t0 dc.l $0
;-----------------------------------------------------------------------
tags1
dc.l RTFI_Flags,FREQF_NOFILES
dc.l TAG_END
tags2
dc.l RT_Underscore,'_'
dc.l RTEZ_ReqTitle,title
dc.l RTEZ_Flags,4 ; centertext
dc.l TAG_END
prgdir
dc.b 'PROGDIR:',0
xlistname
dc.b 'c:'
segname
dc.b 'xList',0
tmpname
dc.b 'T:xl_tmp1',0
sortedname
dc.b 'T:xl_tmp4',0
stattxt
dc.b 'RAM:xl_stats.txt',0
;stattxt2
; dc.b 'RAM:xl_stats.txt.a',0 ; 17(an)
outname
dc.b 'RAM:xList_out',0
outname2
dc.b 'RAM:xList_out.a',0 ; 14(an)
dummycom
dc.b 'xList >>RAM:xList_out LF=4 DL COF',0
comline1
dc.b 'List >T:xl_tmp1 lformat "xList >>RAM:xList_out *"%s%s*" '
dc.b 'LF=4 DL COF" dirs all',0
dc.b ' '
comline2
dc.b 'Sort >NIL: T:xl_tmp1 to T:xl_tmp4',10,'Execute >NIL:'
dc.b ' T:xl_tmp4',0
comline3
dc.b 'Type >>RAM:xList_out ',0
varfname
dc.b 'ENV:'
varname
dc.b 'xlsumtot',0
bigvfname
dc.b 'ENV:'
bigvname
dc.b 'xlbigtot',0
basevar
dc.b 'ENV:xltotal',0
mtotfmt
dc.b ' %-30s %5s files',10,0
totstat
dc.b ' ------------------------------------------',10
dc.b ' TOTAL: %5ld files'
flush
dc.b 10,0
fmtvar
dc.b '%N',0
dosname
dc.b 'dos.library',0
rtname
dc.b 'reqtools.library',0
body1
dc.b 'Out of memory!',0
button1
dc.b '_!?!',0
body2
dc.b 'Welcome to the xList-GUI !',10,10
dc.b 'You''ll have to choose a',10
dc.b 'directory to be recursively',10
dc.b 'scanned, like a "MODS:" partition.',10,10
dc.b 'Then you''ll have to wait until',10
dc.b 'this requester is poped up again,',10
dc.b 'allowing you to scan several dirs.',10
dc.b 'The last created list is always',10
dc.b '''RAM:xList_out'', other lists are',10
dc.b 'named like ''xList_out.a'',''.b'',...',0
button2
dc.b '_Let''s go!| About... |_Quit',0
body3
dc.b 'Bad luck! Nothing selected.',0
button3
dc.b '_Main menu|_Bye',0
body4
dc.b 'Unable to lock your dir.',0
button4
dc.b '_Try another one|_Quit this lame prog',0
button4b
dc.b '_Sorry',0
body5
dc.b 'Do you want to:',10
dc.b '- append this dir to the existing file ?',10
dc.b '- write to a new file, by renaming the existing file',10
dc.b 'to a new name ?',10
dc.b '(of course, your previous lists WON''T be overwritten!)',0
button5
dc.b '_Append|_New file|A_bort',0
body6
dc.b 'This tool belongs to the xList project,',10
dc.b 'started by Reez/Osmose on July 1995,',10
dc.b 'with the BiG help of the followings:',10
dc.b 'The Cyborg/NGC & Gryzor',10,10
dc.b 'And thanx to these great guys:',10
dc.b 'U.D. Mueller, for (especially) the XPK package',10
dc.b 'Nico F. & Magnus H., for the ReqTools stuff',10
dc.b 'Joe Siebenmann, for EZAsm',0
button6
dc.b 'I wanna ctc _you!',0
body7
dc.b 'Feel free to write me at: (Answer Guaranteed!!!)',10,10
dc.b 'David Le Corfec',10
dc.b '57 rue C.J. Romain',10
dc.b '94170 Le Perreux / Marne',10
dc.b 'FRANCE',10,10
dc.b 'Email: <lecorfec@diva.univ-mlv.fr>',10,10
dc.b 'On IRC: Reez, mainly on #amigafr (Hi Net-mates!)',0
button7
dc.b '_OK I see...',0
body8
dc.b 'Cannot find ''xList'' in C: or',10
dc.b 'in the current directory.',10
dc.b 'Be sure to install it properly !',0
button8
dc.b '_Be right back...',0
body9
dc.b 'Here you can choose intro and end texts for your list',0
button9
dc.b '_Next step!|Choose _Intro|Choose _End',0
button10
dc.b '_Uh?',0
body11
dc.b 'Add a listing of the root directory ?',10
dc.b '(the directory you selected)',0
button11
dc.b 'Oh _yeah!|_No, thanx.',0
text1
dc.b 'Select a directory to list:',0
text2
dc.b 'Select text:',0
template
dc.b 'DIR(S)/M,IT=INTROTEXT/K,ET=ENDTEXT/K,APPEND/S,NOROOT/S',0
END