-
Notifications
You must be signed in to change notification settings - Fork 1
/
init2.src
executable file
·34 lines (28 loc) · 952 Bytes
/
init2.src
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
'------------------------------------------------------------
' init2 - loader loader
'------------------------------------------------------------
'$include:'com.def'
'$include:'com.inc'
'$include:'wh.def'
'------------------------------------------------------------
' update program
'------------------------------------------------------------
sub Init.UpdateProgram
private ret$[1024]
private programs$(10)[20]
programs$(0)=APP.LoaderName$
programs$(1)=APP.ProgramName$
programs$(2)=APP.ProgramName2$
programs$(3)=APP.ProgramName3$
cls
locate 1,1
print "プログラムをダウンロードしています..."
ret$=Com.Ftp.DownloadProgram$(programs$,4)
print "設定値ファイルをダウンロードしています..."
ret$=Com.Ftp.DownloadData$(APP.CConfigName$,"16,64")
beep 1
end sub
'------------------------------------------------------------
Main
call Init.UpdateProgram
chain "init.pd4"