Ŀ 業 5.0 Copyrigth (C) 1992,2002 SuperSoft 㦨 । ,祭 , ࠬ஢ (᪮,,ᮡ⢥ - ⢥), ᮧ 㯯 ନ஢ ࠢ ⮬᪮ 뫪 ਭ ᮮ饭. ᮤন 䠩 TOPOLOG.SRC, ࠧ ண ᠭ , ࠧ - ࠢ 뫪. ᬮ७ ᥩ, ࠢ. 1. । ⥬, 뢠 , ਬ ਬ塞 ᫮ 祭. - ᨬ ᨬ ப, ࠧ- "|" ("") 騥 । 樨. - ᫮, 祭 㣫 ᪮ <...>, ।⠢饥 ᮡ ᨬ ப, ஥ - १ 㣨 . ,祭 ᪮ [...],  易⥫. - 㯮冷祭 . "::=" (" । ") 砥, ᫥ ⨧ ஬ ࠢ . 1.1. - 窠 祭 ஢ ⥢ ᮥ. 䨪 ᫥ : <>::=<>[< >[-<祭>]] <>::= COM | TLG | TEL | ATK | NET COM - ⠭ ᫥⥫ ; TLG - ⥫ 02/08; TEL - ⥫ -8; ATK - ⥫ -16; NET - ⥢ ᮥ; < >::= 1 | 2 | 3 | 4 <祭>::=1 ... N ( 1 N) - 祭 쭮 . ஢ TLG, TEL ATK 室 㪠 <祭>. COM1 ... COM4 㪠뢠 <祭> 㦭, ⠪ 㤥 ந஢. NET 㪠뢠 < > <祭> 㦭, ⠪ ந஢. ᫥騥 䨪 : 1). COM1, COM2, COM3, COM4 - ⠭ ᫥⥫ . 2). TLG1-1 ... TLG1-8, TLG2-1 ... TLG2-8, TLG3-1 ... TLG3-8, TLG4-1 ... TLG4-8 - 1- ... 8- 窨 祭 02/08 (. ᠭ 쭮 ⥫䭮 02/08 ன ᮮ⢥騩 < >( ᪮ 㪠 ⠭ ६窨): TLG1 : 360h(S7), 뢠 IRQ5(S3); TLG2 : 350h(S8), 뢠 IRQ11(S4); TLG3 : 330h(S9), 뢠 IRQ12(S5); TLG4 : 270h(S10), 뢠 IRQ15(S6). 3). TEL1-1 ... TEL1-8, TEL2-1 ... TEL2-8, TEL3-1 ... TEL3-8, TEL4-1 ... TEL4-8 - 1- ... 8- 窨 祭 -8; (. ᠭ 쭮 ⥫䭮 -8 ன ᮮ⢥騩 < >: TEL1 : 3F8h, 뢠 IRQ4; TEL2 : 2F8h, 뢠 IRQ3; TEL3 : 3E8h, 뢠 IRQ4; TEL4 : 2E8h, 뢠 IRQ3). 4). ATK1-1 ... ATK1-16, ATK2-1 ... ATK2-16, ATK3-1 ... ATK3-16, ATK4-1 ... ATK4-16 - 1- ... 16- 窨 祭 -16; (. ᠭ 쭮 ⥫䭮 -16 ன ᮮ⢥騩 < >: ATK1 : 350h, 뢠 IRQ10; ATK2 : 330h, 뢠 IRQ10; ATK3 : 310h, 뢠 IRQ10; ATK4 : 2A0h, 뢠 IRQ10). 5). NET - ⥢ ᮥ. 1.2. - 㭪樮쭮 祭 , ।饥 冷 ࠡ⪨ ਭ ᮮ饭. <>::= | | | | | | | | - ; ਭ ᮮ饭 娢, 뫠 - ࠢ । 뢮 ࠢ ( ࠢ . ); 砥 , ஬ 祭  ࠢ 㣮 ; - ࠭ 饣 짮(,-); ਭ ᮮ- 饭 ⮬᪨ । , ᫨ 襭 ଠ- ; ⨬ 筮 ᯮ 祭 ।⨩ (⤥) 裡; - ஫㥬 ࠭ 饣 짮(,-); ਭ ᮮ饭 ⮬᪨ ࠨ । , ᫥ ࠡ⪨ ஬ ࠢ- (-); ⨬ 筮 ।⠢- ⠬ () । ᮮ饭 - 饣 짮; - ᯥ; ਥ 饭; 筮 ᯮ । ᮮ饭 ᯥࠬ ࠢ ; - 㬥஢; ਭ ᮮ饭 娢 ⥪⮢ 䠩 ⥪騥 ⪨ ⤥쭮 ; - ; ᫥ । ᮮ饭 室 ० ਥ; ਭ ᮮ饭 娢 뢮 ࠢ ; - ; ਭ ᮮ饭 娢 뢮 ࠢ ; - ࠢ; ਭ ᮮ饭 娢 뢮 , 饥 "᭮ ",ᮮ⢥饥 - ; ⢨ 㪠 ࠢ 뢮 ࠢ ( ᠭ . ); - 㦥; ਭ ᮮ饭 娢, 뫠 - ࠢ । 뢮 ࠢ ( ࠢ . ); ᫥ ਥ ᮮ饭 砥 ᨣ, ⪫ ⨥ । . 1.3. - 筮 ⢮ , - ⮪ ⢨ . । ᮮ饭 - - ࠢ ( ᥣ - ࢮ ᢮). 祭  - 稨 . . । ᮮ饭 浪 ᫥ ࠧ 䠩 TOPOLOG.SRC. ࠡ뢠 ਭ ᮮ饭 ᮮ⢥⢨ ᢮ . 室 ࠧ묨 . 䨪 ᫥ : <>::=<>-<⮪> <>::= 1 ... 64 ( 1 64) <⮪>::= | | | | - ⢨ ⮪ 饣 짮 ஭ (⮪ "६ ஭ - " 㭪⮬ ⠭樥 饣 짮- ( -); - ⢨ ⮪ ᪮ ⥫஢- ⠭樥 ; - ⢨ ⮪ ᪮ ⥫஢- 뤥 (䨧᪮ ); - ⢨ ⮪ "窠-窠" () 뤥- (䨧᪮ ); - ⥢ ⠫ (ᯮ ⮫쪮 ஬ NET). ࠧ, ࣠ 64 ⮪ ⢨: 1-...64-, 1-...64-, 1-...64-, 1-...64-, 1-...64- 1.4. - ꥪ (ᥫ 㭪, 㫨, ।⨥, 䠬 ⮮⢥ , ॢ .), 饥 ᭮ ᮮ饭, ஥ ᯮ ⮬᪮ 뫪 ਭ ᮮ饭. 䨪 ᫥ : <>::=[<.>+,]<.>[+(<>[,<>])] <.> - ᭮ ᪠, ਬ, 㫨 ⮣ : ; <.> - 饥 ᪠, ਬ, - 稨 ᥫ 㭪 㫨 ⮣ 頤 ⮣ । : + +; ࠭ 㫨 ᥫ 㭪, ਬ: + +. <> - ࢠ ஢; ਬ 室 ࠧ 㫨 ⪨ ⠢ ⤥ 裡; : <>::=[<ਧ1>]<᫮1>-<᫮2> <ਧ1>::= | (易⥫) - ⭠ ஭ 㫨 - ⭠ ஭ 㫨 <᫮1> - ᫮ 255 <᫮2> - ᫮ <᫮1>+63, ਬ : ++(76-102,83-117) 砥 㦨 - ᯥ ⭮ ஭ 76 102 ⭮ - 83 117; +(16-50) 砥 㦨 - 㣮 ࠬ 16 50; : <>::=[<ਧ2>]<᫮> <ਧ2>::= > | < | > | < | > | < > - , 稭 㪠 < - , 稢 㪠 > - , 稭 㪠 < - , 稢 㪠 > - , 稭 㪠 < - , 稢 㪠 <᫮> - ᫮ 2047, ਬ: +(>25) - 㦨 㫨 쭮, 稭 25. ᮢ饭 <> : +(>25,16-48) - 㦨 㫨 ⭮ ஭ 稭 25 ⭮ 16 48. ࠭祭 ࢮ 㪠 ࢠ ஢ 砫 ஬ > 255 ࠧ 砫쭮 筮 ஢ > 63. 設⢥ 砥 ⮣ ॡ- , ᫨ ⠪ , ᫥- 騬 ࠧ. ।, 㫨 ࠫ쭠, । : 1 - 1 - 105, 2 - 86; 2 - 107 - 285, 88 - 232 3 - 287 - 405, 234 - 380. । ࠢ ਧ "<": +(<105,<86) - ⠢ 1; +(<285,<232) - ⠢ 2; +(<405,<380) - ⠢ 3; ਧ ">": +(>287,>234) - ⠢ 3; +(>107,>88) - ⠢ 2; +(>1,>2) - ⠢ 1. , ਬ, 133 ࢠ 㤥 ஢, ࠭ 㤥 . 1.5. - 㦥 ਬ . <>::= * | ? | ^ | ! * - ; ? - ; ^ - ; ! - . - । ᮮ饭 饣 짮 ⢨ ᠬ ᮮ饭 뫪. , ᥣ ࠢ . 㣮 , ஬ 砥  ࠢ, . 稥 ࠡ ⢨ (-). ⮬ 砥 ⢨ (-) १ 㣮 , (-). - 뢮 ਭ ᮮ饭, । 뫪. ᯮ짮 뫪 । ᮮ饭 । 㣮 - . ⢨ । ࠢ ᮮ饭 뢮 ਭ. - , ஥ ᯮ ⮬᪮ 樨, ࠢ. ਬ, 㫨 த ⮬᪮ 樨, "" , 㬥訢 ⢮ ࠢ 筮 ࠡ⪨. - ᮮ饭 । ᯨ᪮ 㪠 ଠ. ᮢ饭 . ਬ, *? ᮢ- . 1.6. - ⢮ , । ᥪ- . <>::= 50 | 100 | 200 | 300 | 600. 1.7. - ஢ 㯠. <>::=<> | <> <> - /; : ⥢ (⨧, ਬ: 131766); (- 姭, ਬ: 12); ஬ (ਬ: 3-252516 - 室 ⠭樨 ᭮ ⠭, 1234-321555 - 室 ⠭ ९ਥ); <> - ࠢ 饣 짮- ; : ⨧, ਬ: 222 522; , ਬ: 02 272112. 1.8. - ᨬ쭠 ப, ᢠ /( ) ,- 饣 ⮪ /(ᮡ⢥ ). ᮤন 20 ᨬ -2, ⮬ ᫥ ॣ஢ 㦥 樨. ॣ஢ 㦥 樨 ᫮묨 : < - "", = - "",@ - "",& - "",$ - "". 1.9. - ᨬ쭠 ப, ᢠ ࠢ ᯮ짮 孮᪨ 楫, ਬ, ࠧ ᮮ饭, ਭ ⨯ . ᮤন 20 ᨬ -2, ⮬ ᫥ ॣ஢ 㦥 樨. ॣ஢ 㦥 樨 ᫮묨 : < - "", = - "",@ - "",& - "",$ - "". 1.10. - ⥢ ਥ ᮮ饭 䠩 㪠 ७. 1.11. - ⥢ । ᮮ饭 䠩 㪠 ७. 2. ᥩ ⮯. 2.1. TOPOLOG.SRC ᮤন ᠭ 㦨- . 2.2. ࠧ 뢠 , 祭 . ⨬ ᫥騥 ᠭ . 2.2.1. ஢ COM, TLG, TEL ATK: <>:<>[/<>],<>[,<>][,<>] <>  易⥫. ᫨ 㪠, 㬮- 砭 砥 <> = . ᨬ 㪠- ᢠ <> = . <>  易⥫. ᫨ 㪠, - ⢨ ந ⮮⢥⠬, , , () ⥫쭮. <> . <>  易⥫. <>, <> <> 易⥫쭮 ⢮ ᠭ . ਬ: TLG1-1 : 1-, 100 砥 , 祭 TLG1 (1- 窠 - ), ਭ 1- 㯯 ⮪ ⢨ , ᪮ - 100 ; COM2 : 5-/, 50, 砥 , 祭 COM2 , ਭ 5- 㯯 (), ।祭 ⢫ ࠭ ਭ ᮮ饭 饣 짮 ஫ , ᪮ - 50 , ᮡ⢥ ⮮⢥ - . 2.2.2. NET: <>:<>[/<>],[< >],[< >] <> <> 易⥫쭮 ⢮ ᠭ . <>  易⥫ ᠭ . ᫨ 㪠, 㬮砭 砥 <> = . < > < >  ⥫묨 ᠭ . ᫨ < > 㪠, ⥢ ਥ, ᫨ 㪠 < >, ⥢ ।. ਬ: NET : 3-/, \\Server\C\Pyramid\*.inp, \\Server\C\Pyramid\message.out 砥 , ࣠ ⥢ ᮥ, ਭ 3- 㯯 - ⥢ ⠫, ।祭 ⢫ ࠭ ਭ ᮮ饭 饣 짮, ⢫ ਥ ᮮ饭 䠩 ७ inp ⥢ ⠫ \\Server\C\Pyramid, । ᮮ饭 ᯮ 䠩 message.out; NET : 1-, ,LPT2 砥 , ࣠ ⥢ ᮥ, ਭ 1- 㯯 - ⥢ ⠫, ।祭 । ᮮ饭 ਭ, 祭 LPT2. 2.3. ࠧ 뢠 ࠢ ⮬- ᪮ 筮 뫪 ਭ ᮮ饭. ᠭ ᫥: [<>]<>:<>[,<>][,<>] <>  易⥫. ᫨ 㪠, ᯨ᪨ ⮬᪮ 筮 뫪. 㪠 , ஥ "" 筮 뫪, 室 㪠 <> = ^ (). ࣠樨 室 㪠 ᮮ⢥⢥ <> = * () <> = ? (). ᪠ ਬ ⠪ <>. <> 室 㪠뢠 , 㪠뢠 . <>  易⥫. ᫨ 㪠, - ⢨ ந ⮮⢥⠬, , , () ⥫쭮. <> . <> <> 易⥫쭮 ⢮ ᠭ . ਬ: #3 : 1-, @3  ࠢ , 㦨 㯯 1-, ⮮⢥ - "@3"; : 3-, 131517, <=$02 131517 @ $ 㦨 㯯 3-, 131517 (), ⮮⢥ - "<=$02 131517 @ $"; : 1-, 149 522 㦨 㯯 1-, 149 522 饣 짮. 2.4. ᫥ ⮢ 䠩 TOPOLOG.SRC 㦭 믮 ணࠬ TOPOLOG.EXE. ⮬ ᮧ 䠩 ATTACH.IDB DIRECT.IDB. ப 䠩 TOPOLOG.SRC, 稭騥 ᨬ ";", ਥ ࠡ뢠.