home *** CD-ROM | disk | FTP | other *** search
- .. *******************************************
- .. *** Initial *** Set Initialize Data . ***
- .. *** Date : 82-04-19 AM 8:00 ***
- .. *******************************************
- .cursor off
- .define @Ver 1.10
- .define @BackGround Blue
- .define @ForGround White
- .define @ETRed Red
- .define @ETGreen Green
- .define @ETLightGreen LightGreen
- .define @ETMagenta Magenta
- .define @ETYellow Yellow
- .define @ETPath "C:\ET3 "
- .define @Source "A"
- .define @Temp ""
- .define @Target ""
- .define @OagmPath "OAGM"
- .define @UtlPath "UTILITY"
- .define @ETSpace40 " "
- .define @ETSpace60 " "
- .define @HF "H"
- .. ******************************************
- .. * Check 16FONT copy 16 x 15 *
- .. ******************************************
- .define @OAGM "Y"
- .define @ETUTL "Y"
- .define @FK "Y"
- .define @FB "Y"
- .define @FS "Y"
- .define @FF "Y"
- .define @YN "N"
- .define @SSYS 1600000
- .define @SOAGM 328000
- .define @SUTL 335000
- .define @SFK 490000
- .define @SFB 490000
- .define @SFS 490000
- .define @SFF 490000
- .define @TOTAL 0
- .define @ETROM "NONE"
- .Onkey ESC goto Exit
- .set boxfill off
- .set shadow off
- .. *******************************************
- .. *** Start *** Check ET.COM Exist Or Not ?
- .. *******************************************
- .if @_ETExist goto ETExist
- .. *******************************************
- .. *** Check COLOR
- .. *******************************************
- .ginit
- .if @_Color goto SetColor
- .define @BackGround Black
- .define @ForGround Blue
- .define @ETRed 0
- .define @ETLightGreen 0
- .define @ETMagenta 0
- ..define @ETYellow 0
- .define @ETGreen 0
- .label SetColor
- ..gbox n 0 0 22 79 @BackGround f
- .gcls GRABLUE
- .. *******************************************
- .. *** Main Menu ***
- .. *******************************************
- .gbox d 0 0 3 79 @ForGround
- .gbox s 4 0 17 79 @ForGround
- .gbox s 18 0 22 79 @ForGround
- .gwrtstr @ForGround @BackGround 1 30
- ╥╨╠∞╓╨╬─╧╡═│░▓╫░│╠╨≥
- .gwrtstr @ETYellow @BackGround 1 67
- Ver @Ver
- .gwrtstr @ForGround @BackGround 2 16
- (C)Copyright ETen Information System Corp, 1992.
- .gwrtstr @ForGround @BackGround 19 19
- ╦╬╠σ╫╓┐Γ╬¬▒╪╫░╫╓┐Γú¼╞Σ╦√╫╓┐Γ╩╙╨Φ╥¬╤í╘±░▓╫░úí
- .gwrtstr WHITE @ETRed 21 19
- [ENTER]
- .gwrtstr @ForGround @BackGround 21 27
- ╝╠╨°╧┬╥╗╢»╫≈
- .gwrtstr WHITE @ETRed 21 42
- [ESC]
- .gwrtstr @ForGround @BackGround 21 48
- ╜ß╩°░▓╫░│╠╨≥
- .. *******************************************
- .. *** Select ***
- .. *******************************************
- .gbox s 9 18 12 60 @ForGround
- .gwrtstr @ETLightGreen @BackGround 10 25
- ╓╨╬─╧╡═│┤┼┼╠╦∙╘┌╟²╢»╞≈ ? (A/B)
- .label SS0
- .ginkey @Source BLACK LightGray 11 39
- .if @Source !$ AB goto SS0
- .if @Source $ B goto SetSource
- .goto SS1
- .label SetSource
- .define @Source "B"
- .label SS1
- .label A1
- .gwrtstr @ForGround @BackGround 11 20
- @ETSpace40
- .gwrtstr @ForGround @BackGround 10 20
- @ETSpace40
- .gwrtstr @ETLightGreen @BackGround 10 24
- ╦∙╥¬░▓╫░╡─╟²╢»╞≈╝░═Ω╒√─┐┬╝├√│╞ú║
- .gask ETYellow LightGray 11 20 @ETPath
- .. *******************************************
- .. ****** Clear Screen *****
- .. *******************************************
- .gwrtstr @ForGround @BackGround 9 18
- @ETSpace60
- .gwrtstr @ForGround @BackGround 10 18
- @ETSpace60
- .gwrtstr @ForGround @BackGround 11 18
- @ETSpace60
- .gwrtstr @ForGround @BackGround 12 18
- @ETSpace60
- .gwrtstr @ForGround @BackGround 13 18
- @ETSpace60
- .. ***************************
- .gwrtstr @ForGround @BackGround 11 20
- @ETSpace60
- .gbox s 7 7 15 74 @ForGround
- .gwrtstr @ETYellow @BackGround 5 12
- ╟δ╤í╘±╙√░▓╫░╧ε─┐ú║
- .label B0
- .gwrtstr @ETYellow @BackGround 8 9
- (1) ╦╬╠σ╡π╒≤╫╓┐Γú┐(Y/N)
- .ginkey @FS Black LightGray 8 35
- .gwrtstr Red LightGray 8 35
- @FS
- .if @FS !$ YN goto B0
- .. **********************
- .label B1
- .gwrtstr @ETYellow @BackGround 10 9
- (2) ┐¼╠σ╡π╒≤╫╓┐Γú┐(Y/N)
- .ginkey @FK Black LightGray 10 35
- .gwrtstr Red LightGray 10 35
- @FK
- .if @FK !$ YN goto B1
- .. **********************
- .. **********************
- .label B5
- .gwrtstr @ETYellow @BackGround 12 9
- (3) ║┌╠σ╡π╒≤╫╓┐Γú┐(Y/N)
- .ginkey @FB Black LightGray 12 35
- .gwrtstr Red LightGray 12 35
- @FB
- .if @FB !$ YN goto B5
- .. **********************
- .label B6
- .gwrtstr @ETYellow @BackGround 14 9
- (4) ╖┬╦╬╡π╒≤╫╓┐Γú┐(Y/N)
- .ginkey @FF Black LightGray 14 35
- .gwrtstr Red LightGray 14 35
- @FF
- .if @FF !$ YN goto B6
- .. **********************
- .label B7
- .gwrtstr @ETYellow @BackGround 8 44
- (5) OW╝░Oamate│╠╨≥ú┐(Y/N)
- .ginkey @OAGM Black LightGray 8 70
- .gwrtstr Red LightGray 8 70
- @OAGM
- .if @OAGM !$ YN goto B7
- ..***************************
- .label B2
- .gwrtstr @ETYellow @BackGround 10 44
- (6) ╧╡═│╩╡╙├│╠╨≥ ú┐(Y/N)
- .ginkey @ETUTL Black LightGray 10 70
- .gwrtstr Red LightGray 10 70
- @ETUTL
- .if @ETUTL !$ YN goto B2
- .. **********************
- .label B8
- .gwrtstr White @ETGreen 16 28
- ╚╖╢¿┬≡ú┐(╩╟ Y/╖± N)
- .ginkey @YN White @ETGreen 16 50
- .if @YN !$ YN goto B8
- .if @YN $ N goto B0
- ..=================================
- ..====== CHECK SYSTEM DISK ======
- ..=================================
- .label B81
- .define @Temp ""
- .link @Temp @Source :\INSTALL.EXE
- .Exist @Temp
- .if error 33 goto B9
- .goto BA
- .label B9
- .diskspace @Source @TOTAL
- ..Wait
- .beep
- .gwrtstr @ForGround @BackGround 21 18
- @ETSpace60
- .gwrtstr White @ETRed 21 23
- ╟δ╜½╓╨╬─╧╡═│ 1# ┼╠▓σ╚δ @Source ╟²╢»╞≈ úí
- .wait
- .gwrtstr @ForGround @BackGround 21 18
- @ETSpace60
- .goto B81
- .label BA
- ..=================================
- ..====== SUM =================
- ..=================================
- ..if @_ETROM eq "R16" goto SR16
- ..if @_ETROM eq "R1624" goto SR16
- .sum @TOTAL @SSYS
- .label SR16
- .if @FK $ N goto S0
- .sum @TOTAL @SFK
- .label S0
- .if @FB $ N goto S1
- .sum @TOTAL @SFB
- .label S1
- .if @FS $ N goto S2
- .sum @TOTAL @SFS
- .label S2
- .if @FF $ N goto S3
- .sum @TOTAL @SFF
- .label S3
- .if @OAGM $ N goto S4
- .sum @TOTAL @SOAGM
- .label S4
- .if @ETUTL $ N goto S5
- .sum @TOTAL @SUTL
- .label S5
- .diskspace @ETPath @Space
- .if @Space lt @TOTAL goto DiskErr
- .goto P1
- .label DiskErr
- .gcls GRABLACK
- .gwrtstr White @ETRed 20 24
- ┤┼┼╠┐╒╝Σ▓╗╫πú¼╨Φ╥¬ @Total ╫╓╜┌úí
- .Wait
- .goto Exit
- .label P1
- ..=================================
- .gwrtstr @ForGround @BackGround 19 10
- @ETSpace60
- .gwrtstr @ForGround @BackGround 19 23
- @ETSpace60
- .gwrtstr WHITE @ETRed 19 19
- [ENTER]
- .gwrtstr @ForGround @BackGround 19 27
- ╝╠╨°╧┬╥╗╢»╫≈
- .gwrtstr White @ETRed 19 42
- [ESC]
- .gwrtstr @ForGround @BackGround 19 48
- ╜ß╩°░▓╫░│╠╨≥
- .. ****************************
- .gwrtstr @ForGround @BackGround 21 18
- @ETSpace60
- .gwrtstr Black LightGray 21 18
- ╜°╨╨╧╡═│┼╠┐╜▒┤ ⌐º┐╜▒┤╬─╝■:
- .link @Target @ETPath \
- .define @Temp ""
- .link @Temp @Source :\SYS\*.*
- .copy @Temp to @Target @ETLightGreen @BackGround 21 53
- .. ******************************************
- .. * Copy SYS&OAGM *
- .. ******************************************
- .label sy0
- .gwrtstr @ForGround @BackGround 21 18
- @ETSpace60
- .define @Temp ""
- .link @Temp @Source :\SYS\ICPN.TAB
- .Exist @Temp
- .if error 33 goto sy1
- .goto sss
- .label sy1
- .beep
- .gwrtstr White @ETRed 21 21
- ╟δ╜½╓╨╬─╧╡═│ 2# ┼╠▓σ╚δ @Source ╟²╢»╞≈ úí
- .Wait
- .gwrtstr @ForGround @BackGround 21 12
- @ETSpace60
- .goto sy0
- .label sss
- .gwrtstr Black LightGray 21 18
- ╜°╨╨╧╡═│╬─╝■┐╜▒┤ ⌐º┐╜▒┤╬─╝■:
- .locate 22 46
- .define @Target ""
- .link @Target @ETPath \
- .define @Temp ""
- .link @Temp @Source :\SYS\*.*
- .copy @Temp to @Target @ETLightGreen @BackGround 21 53
- ..**********************************************
- .if @OAGM $ N goto D2
- .label D0
- .gwrtstr @ForGround @BackGround 21 18
- @ETSpace60
- .define @Temp ""
- .link @Temp @Source :\OAGM\OAGM.EXE
- .Exist @Temp
- .if error 33 goto D1
- .goto ooo
- .label D1
- .beep
- .gwrtstr White @ETRed 21 21
- ╟δ╜½╓╨╬─╧╡═│ 2# ┼╠▓σ╚δ @Source ╟²╢»╞≈ úí
- .gwrtstr @ForGround @BackGround 21 12
- @ETSpace60
- .goto D0
- .label ooo
- .gwrtstr Black LightGray 21 18
- ╜°╨╨ OW OAMATE ┐╜▒┤ ⌐º┐╜▒┤╬─╝■:
- .locate 22 46
- .define @Target ""
- .link @Target @ETPath \ @OagmPath \
- .define @Temp ""
- .link @Temp @Source :\OAGM\*.*
- .copy @Temp to @Target @ETLightGreen @BackGround 21 53
- .label D2
- .gwrtstr @ForGround @BackGround 21 18
- @ETSpace60
- .. ******************************************
- .. * Copy UTILITY1 *
- .. ******************************************
- .if @ETUTL $ N goto U2
- .label U0
- .gwrtstr @ForGround @BackGround 21 12
- @ETSpace60
- .define @Temp ""
- .link @Temp @Source :\UTILITY\ETFMX.EXE
- .Exist @Temp
- .if error 33 goto U1
- .goto SETUtl
- .label U1
- .beep
- .gwrtstr White @ETRed 21 21
- ╟δ╜½╓╨╬─╧╡═│ 2# ┼╠▓σ╚δ @Source ╟²╢»╞≈ úí
- .Wait
- .gwrtstr @ForGround @BackGround 21 12
- @ETSpace60
- .goto U0
- .label SETUtl
- .gwrtstr Black LightGray 21 18
- ╜°╨╨╩╡╙├│╠╨≥┐╜▒┤ ⌐º┐╜▒┤╬─╝■:
- .locate 22 46
- .define @Target ""
- .link @Target @ETPath \ @UtlPath \
- .define @Temp ""
- .link @Temp @Source :\UTILITY\*.*
- .copy @Temp to @Target @ETLightGreen @BackGround 21 53
- .label U2
- .chdir @ETPath
- .. ******************************************
- .. * Copy FONT HEI FONT *
- .. ******************************************
- .if @FB $ N goto FL2
- .label FL0
- .gwrtstr @ForGround @BackGround 21 18
- @ETSpace60
- .define @Temp ""
- .link @Temp @Source :\FNT\STD2424B
- .Exist @Temp
- .if error 33 goto FL1
- .goto SLI_Font
- .label FL1
- .beep
- .gwrtstr @ForGround @BackGround 20 16
- @ETSpace60
- .gwrtstr @ForGround @BackGround 21 12
- @ETSpace60
- .gwrtstr White @ETRed 21 19
- ╟δ╜½╓╨╬─╧╡═│ 2# ┼╠▓σ╚δ @Source ╟²╢»╞≈ úí
- .Wait
- .goto FL0
- .label SLI_Font
- .gwrtstr Black LightGray 21 17
- ╜°╨╨╫╓┐Γ╜Γ╤╣╦⌡ ----->í╛║┌╠σí┐........ ╟δ╔╘┤²
- .locate 21 10
- .define @Target ""
- .link @Target @ETPath \ STD2424B.FNT
- .define @Temp ""
- .link @Temp @Source :\FNT\STD2424B
- .dos ETUNPACK @Temp @Target
- .gwrtstr @ForGround @BackGround 20 10
- @ETSpace60
- .label FL2
- .. ******************************************
- .. * Copy UTILITY2 *
- .. ******************************************
- .if @ETUTL $ N goto FL3
- .label U20
- .gwrtstr @ForGround @BackGround 21 12
- @ETSpace60
- .define @Temp ""
- .link @Temp @Source :\UTILITY\SETHOT.EXE
- .Exist @Temp
- .if error 33 goto U21
- .goto SETUtl2
- .label U21
- .beep
- .gwrtstr White @ETRed 21 21
- ╟δ╜½╓╨╬─╧╡═│ 3# ┼╠▓σ╚δ @Source ╟²╢»╞≈ úí
- .Wait
- .gwrtstr @ForGround @BackGround 21 12
- @ETSpace60
- .goto U20
- .label SETUtl2
- .gwrtstr Black LightGray 21 18
- ╜°╨╨╩╡╙├│╠╨≥┐╜▒┤ ⌐º┐╜▒┤╬─╝■:
- .locate 22 46
- .define @Target ""
- .link @Target @ETPath \ @UtlPath \
- .define @Temp ""
- .link @Temp @Source :\UTILITY\*.*
- .copy @Temp to @Target @ETLightGreen @BackGround 21 53
- .label FL3
- .chdir @ETPath
- .. ******************************************
- .. * Copy FONT 16x15 FONT *
- .. ******************************************
- .label E0
- .gwrtstr @ForGround @BackGround 21 18
- @ETSpace60
- .define @Temp ""
- .link @Temp @Source :\FNT\STD1615
- .Exist @Temp
- .if error 33 goto E1
- .goto SFONT16
- .label E1
- .beep
- .gwrtstr @ForGround @BackGround 20 16
- @ETSpace60
- .gwrtstr White @ETRed 21 21
- ╟δ╜½╓╨╬─╧╡═│ 3# ┼╠▓σ╚δ @Source ╟²╢»╞≈ úí
- .Wait
- .goto E0
- .label SFONT16
- .gwrtstr Black LightGray 21 17
- ╜°╨╨╫╓┐Γ╜Γ╤╣╦⌡ -----> 16x15╫╓┐Γ ..... ╟δ╔╘┤²
- .locate 22 46
- .define @Target ""
- .link @Target @ETPath \ STD1615.FNT
- .define @Temp ""
- .link @Temp @Source :\FNT\STD1615
- .dos ETUNPACK @Temp @Target
- .label E2
- .gwrtstr @ForGround @BackGround 21 16
- @ETSpace60
- .. ******************************************
- .. * Copy FONT SONG FONT *
- .. ******************************************
- .if @FS $ N goto FK2
- .label FK0
- .gwrtstr @ForGround @BackGround 20 12
- @ETSpace60
- .gwrtstr @ForGround @BackGround 21 12
- @ETSpace60
- .define @Temp ""
- .link @Temp @Source :\FNT\STD2424
- .Exist @Temp
- .if error 33 goto FK1
- .goto SKAI_Font
- .label FK1
- .beep
- .gwrtstr @ForGround @BackGround 20 16
- @ETSpace60
- .gwrtstr White @ETRed 21 19
- ╟δ╜½╓╨╬─╧╡═│ 3# ┼╠▓σ╚δ @Source ╟²╢»╞≈ úí
- .Wait
- .goto FK0
- .label SKAI_Font
- .gwrtstr Black LightGray 21 17
- ╜°╨╨╫╓┐Γ╜Γ╤╣╦⌡ ----->í╛╦╬╠σí┐........ ╟δ╔╘┤²
- .locate 21 10
- .define @Target ""
- .link @Target @ETPath \ STD2424.FNT
- .define @Temp ""
- .link @Temp @Source :\FNT\STD2424
- .dos ETUNPACK @Temp @Target
- .gwrtstr @ForGround @BackGround 20 16
- @ETSpace60
- .label FK2
- .. ******************************************
- .. * Copy FONT KAI FONT *
- .. ******************************************
- .if @FK $ N goto FS2
- .label FS0
- .gwrtstr @ForGround @BackGround 20 12
- @ETSpace60
- .gwrtstr @ForGround @BackGround 21 12
- @ETSpace60
- .define @Temp ""
- .link @Temp @Source :\FNT\STD2424K
- .Exist @Temp
- .if error 33 goto FS1
- .goto SHING_Font
- .label FS1
- .beep
- .gwrtstr @ForGround @BackGround 20 16
- @ETSpace60
- .gwrtstr White @ETRed 21 19
- ╟δ╜½╓╨╬─╧╡═│ 3# ┼╠▓σ╚δ @Source ╟²╢»╞≈ úí
- .Wait
- .goto FS0
- .label SHING_Font
- .gwrtstr @ForGround @BackGround 20 12
- @ETSpace60
- .gwrtstr Black LightGray 21 17
- ╜°╨╨╫╓┐Γ╜Γ╤╣╦⌡ ----->í╛┐¼╠σí┐........ ╟δ╔╘┤²
- .locate 21 10
- .define @Target ""
- .link @Target @ETPath \ STD2424K.FNT
- .define @Temp ""
- .link @Temp @Source :\FNT\STD2424K
- .dos ETUNPACK @Temp @Target
- .gwrtstr @ForGround @BackGround 20 10
- @ETSpace60
- .label FS2
- .. ******************************************
- .. * Copy FONT FANG SONG FONT *
- .. ******************************************
- .if @FF $ N goto FB2
- .label FB0
- .gwrtstr @ForGround @BackGround 20 12
- @ETSpace60
- .gwrtstr @ForGround @BackGround 21 16
- @ETSpace60
- .define @Temp ""
- .link @Temp @Source :\FNT\STD2424F
- .Exist @Temp
- .if error 33 goto FB1
- .goto BLACK_Font
- .label FB1
- .beep
- .gwrtstr @ForGround @BackGround 20 12
- @ETSpace60
- .gwrtstr @ForGround @BackGround 21 16
- @ETSpace60
- .gwrtstr White @ETRed 21 19
- ╟δ╜½╓╨╬─╧╡═│ 3# ┼╠▓σ╚δ @Source ╟²╢»╞≈ úí
- .Wait
- .goto FB0
- .label BLACK_Font
- .gwrtstr @ForGround @BackGround 20 12
- @ETSpace60
- .gwrtstr Black LightGray 21 17
- ╜°╨╨╫╓┐Γ╜Γ╤╣╦⌡ ----->í╛╖┬╦╬í┐........ ╟δ╔╘┤²
- .locate 21 10
- .define @Target ""
- .link @Target @ETPath \STD2424F.FNT
- .define @Temp ""
- .link @Temp @Source :\FNT\STD2424F
- .dos ETUNPACK @Temp @Target
- .gwrtstr @ForGround @BackGround 20 10
- @ETSpace60
- .label FB2
- ..*****************************
- ..* delete garbage *
- ..******************************
- .define @Target ""
- .link @Target @ETPath \ETUNPACK.EXE
- .define @Temp "1"
- .dos PARSE @Target @Temp
- .define @Target ""
- .link @Target @ETPath \PARSE.COM
- .define @Temp "1"
- .dos PARSE @Target @Temp
- .gquit
- .cursor on
- .. *******************************************
- .. *** Run ETSETUP.COM
- .. *******************************************
- .chdir @ETPath
- .define @Temp ""
- .link @Temp @ETPath \ etsetup
- .exec @Temp @ETPath
- .goto Exit
- .label ETExist
- .locate 1,1
- .display Black LightGray
- Chinese System already resident ! Please free it first
- .beep
- .Wait 3
- .display white
- .cursor on
- .label Exit
- .gquit
- .end