Next Previous Contents

4. TCP/IP Bootprom ¬ÛÃö¤u¨ãµ{¦¡

³o¤@¬q±N§â§Ú­Ì¬° TCP/IP BootPROM ©Ò¼gªºµ{¦¡§@¤@¨Ç»¡©ú.

4.1 MENUEDIT

³o¬O¦b DOS ¤U°õ¦æªºµ{¦¡, ¥Î¨Ó½s¿èµ¹ TCP/IP Bootprom ªº¶}¾÷¿ï³æ±Ô­zÀÉ. ¥¦«Ü²³æ, ¤£¹L¤ñ­ì¼t ©Ò´£¨Ñªº¶}¾÷¿ï³æ±Ô­zÀɨӪº¤è«K. ±z¥i¥H«ö F1 ¬Ý¨ì¤@¨Ç½u¤W»¡©ú. ¦pªG±z·Q­n¥[±j¥Lªº¥\¯à ( ¤ñ ¦p¥[¤J°Å¶K¥\¯à), §Ú·|«Ü¼Ö·Nµoªí±zªº·sª©¥».

­ì©lµ{¦¡¬° Pascal »yªk¥i¦b ³o¨ú±o.

4.2 BPHDBOOT

¦¹ boot image ±N¸ü¤JµwºÐªº master boot record ¨Ã°õ¦æ¥¦.

³o­Ó boot image ¹ï©ó¨º¨Ç»Ý­n­«·s¶}¾÷¤~¯à§¹¦¨©Ò¦³³]©wªº§@·~¨t²Î¬O¬Û·í¤è«Kªº. ¥¦¤]¥i¥H¥Î¦b ·í±z­n±j­¢²M²zµwºÐªº®É­Ô.

­ì©lµ{¦¡¬° Assembler »yªk¥i¦b ³o¨ú±o.

4.3 BPCLEAN

¦¹ boot image ±N­«·s¼g¤JµwºÐªº master boot record, ¥]§tµwºÐªº¤À³Îªí. ¦¹¥~, ¥¦¥i¥H§Ö³t®æ¦¡¤Æ DOS (FAT16) ¸ê®Æ¤À³Î°Ï (¦ýµLªk¨Ï¥¦¥i¶}¾÷). ¦]¬°ª©ÅvªºÃö«Y, §Ú­Ì¥²¶·­«·s³W¹º§Ú­Ìªº master boot record »P FAT16 ¶}¾÷ºÏ°Ï, °£¤F¤@¨Ç»·ºÝ¶}¾÷ªº°T®§¥~, ¥¦­Ì»P¼Ð·Çªº¤À³Î°Ï¤j­P¤W¬O¤@¼Ëªº. ¬°¤F ¨Ï³o­Óµ{¦¡¯à¤u§@, ±z©Î³\»Ý­nÃö±¼ BIOS ¹ï master boot record ªº«OÅ@ (¦]¬°¨C¦¸¶}¾÷³£§ó·s¤@¹M).

³o­Óµ{¦¡¤U¸ü»P³o­Óµ{¦¡¦P¼Ë¥DÀɦWªº¤À³Îªí±Ô­zÀɨä°ÆÀɦW¬° .tab. ³o­ÓÀÉ®×¥i¥H¥]§tªÅ¦æ, µù¸Ñ ¥Ñ°O¸¹¶}©l¦ý¤£±o¶W¹L 512 ­Ó¦r¤¸.

«e¥|­Ó¤£§tªÅ¥Õ¤Îµù¸Ñªº´X¦æÀ³¸Ó¥]§t¥|­ÓµwºÐ¤À³Î°Ïªº±Ô­z. ²Ä¤­­Ó¤£§tªÅ¥Õ¤Îµù¸Ñªº¨º¤@¦æÀ³ ¥]§t¤U¤@­Ó­n¸ü¤Jªº¶}¾÷¼v¹³ÀɦWºÙ.

¤À³Î°Ïªº±Ô­z¦æ¥Ñ¥ÑªÅ®æ©Î tab Áä¨Ó¤À³Î, ¥²¶·¦p¤U³o¤TºØ®æ¦¡:


type  boot?  1st-cyl  1st-head  1st-sect  last-cyl  last-head  last-sect
type  boot?  1st-cyl  1st-head  1st-sect  relative-size
type  boot?  relative-size

©Ò¦³ªº¼Æ¦r³£°²³]¤Q¶i¨î, °£«D¦r­º¦³¥X²{¿ú¦r¸¹, ³o¼Ë¤~·|³Q³]©w¬°¤Q¤»¶i¨î.

·í¤@­Ó¼ÐÅÒªþ¥[¦b¤@­Ó¤À³Î°Ï±Ô­z¥y¤§«á, ¬Û¹ïÀ³ªº¤À³Î°Ï·|³Q®æ¦¡¤Æ¦¨ DOS FAT16 ªº¤À³Î°Ï,µL ½×­ì¥»¬O­þºØ®æ¦¡. ¤À³Î°Ï§Î¦¡ 4 ¸ò 6 ¬O¬Û®eªº, ¦Ó¥B¥¦¦b²M²z¾Ç¥Í©Ò¨Ï¥Îªº¹q¸£®É¬Û·í¦³¥Îªº. ³o ºØ§Ö³t®æ¦¡¤Æ¥u­nªá´X¤Q¬í.

¹w³]­È, bpclean ¬O½sĶ¦¨¤ä´© LBA (¤£¶W¹L 1024 ­ÓºÏ¬W, ¦ý¥i¹F 256 ­ÓºÏÀY). ¬Y¨Ç©_©Çªº BIOS ¤Î¬Y ¨Ç©_©Çªº§@·~¨t²Î¸û³ßÅw¥t¤@ºØ NORMAL ¼Ò¦¡ (¥i¹F 4096 ­ÓºÏ¬W, ¦ý¤£¯à¶W¹L 64 ­ÓºÏÀY); ¦pªG±z »Ý­n³oºØ¼Ò¦¡, ¨º»ò§â LBA ªº©w¸q±q­ì©lµ{¦¡¸Ì§ï¦¨µù¸ÑµM«á­«·s½sĶ¤@¹M.

Assembler »yªkªº­ì©lµ{¦¡½X¦b ³o.

4.4 MRZIP, MRUNZIP and BPUNZIP

MrZip ¬O¤@­Ó¦b DOS ¤U°õ¦æªºµ{¦¡, ¥Î¨Ó«Ø¥ßÀ£ÁYªº DOS FAT 16¤À³Î°Ï. ²Ä¤@¨B, ¥ý¤ÀªRºÏºÐ¾÷ªº¨Ï ¥Îª¬ªp, ¥¦µM«á¥u¹ï¦³¨Ï¥Î¨ìªº¸ê®Æ°µÀ£ÁY, ±µµÛ¥Î¬Û·í§Öªº (¨Ã¤£¬O³Ì¦³®Ä²vªº) ²Î­pªºÀ£ÁYºtºâ ªk«h¨ÓÀ£ÁY¸ê®Æ. ¤w¸g¤ä´© Windows 95 ªºªøÀɦW, ¦ý¬O°ÆÀɦW¬° .SWP ªºÀɮר䣷|Àx¦s. ¦b¦U¦¡¤£ ¦PªºÀÉ®×Ãþ«¬¤¤,¤w¸g¥]§t³\¦h magic numbers, ¥B¤w¸ò­ì©l¸ê®Æ°µ¹LÀˬdªº ³B²z. ·íÀÉ®×®e¶qªº°ª¦ì §Ç¸¹¼Æ¦r¼W¤j®É, ³o­ÓÀˬd½XÀx¦s¦bÀɮתº®e¶qªº§C¦ì§Ç¸¹¼Æ¦r¤¤ . ¦pªG±z¦b«Ø¥ßÀ£ÁY¼v¹³ÀÉ«e§â ±zµwºÐªº§Ç¸¹Âk¹s, «h±z¥i¥H¨Ï¥Î³o­Ó¼Æ¦r¨Ó °lÂܱz¼v¹³Àɪº§ó·s¦¸¼Æ.

¦]¬° MrZip ·|¨Ï¥Îª½±µºÏºÐ¦s¨ú, «Øij±z¦b°õ¦æ«e¥ý§âºÏºÐ¾÷§Ö¨ú°Ïªº¸ê®Æ¦^¦s. Windows 95 ¦ü¥G¬O ¹ï°µ¤@¨î©ÊªººÞ²zª½±µºÏºÐ¦s¨ú².

MrUnzip ¬O¤@­Ó¦b DOS ¤U°õ¦æªºµ{¦¡,¥Î¨Ó¸ÑÀ£ÁYºÏºÐ¼v¹³ÀɨìµwºÐ¾÷¤¤, ¨Ï¥Îª½±µºÏºÐ¦s¨ú. ¤£­n ¸ò¥ô¦ó¨ã¦³§Ö¨ú¥\¯àªºµ{¦¡¤@°_¨Ï¥Î, ¦]¬°¥ú¬O³o­Óµ{¦¡´N¤w¸g§Ö§â DOS µ¹§é¿i¦º¤F... ¤£ºÞ«ç¼Ë, ¦pªG±z­n«ì´_¤@­ÓµLªk¶}¾÷ªº¾÷¾¹¨º»ò¥¦·|¬O±N«Ü¦³¥Îªº.

BpUnzip ¬O¤@­Ó¶}¾÷¼v¹³¥Î¨ÓºÞ²zÀ£ÁYµwºÐªº¼v¹³ÀÉ. ²Ê²¤ªº¨Ó»¡, ¥¦±N¥ÑµwºÐ¾÷ªº¼v¹³¨Ó¶}¾÷¨Ã¥Î ¦P¼Ëªº¦WºÙ, °ÆÀɦW¬° .imz.

­º¥ý, ¥¦·|¥ýŪ¨ú¤À³Î°Ïªí¨ÃÀˬd

±µµÛ¥¦·|Ū¨ú²Ä¤@­Ó¥¼¥Î¨ìªººÏ¬Wªº²Ä¤@­ÓºÏ°Ï¨ÃÀˬd¬O§_¤w¸g¦³¤@­Ó¼v¹³ªí. ¦pªG¤£¬O³o¼Ë, ©Î ªÌ¼v¹³ªí¤º®e¦³ÂI¥Ù¬Þ, ©ÎªÌ¨â­Ó shift Áä³£³Q«ö¤U®É (¤@ºØ¯S§Oªº general-cleaning «H¸¹), ³o­Ó¼v¹³ªí ±N·|³Q²M°£.

¦pªG¼v¹³ªíÁÙ¨S¦³¥]§t©Ò»Ýªº¼v¹³, ¥¦·|³z¹L TFTP ³q°T¨ó©w¸ü¤J¨Ã¥[¦b¼v¹³ªí¤º. ¦pªG¦b«e­±©Ò¸ü ¤Jªº¼v¹³¤§«á, ¨S¦³¨¬°÷ªºªÅ¶¡¨Ó¦s©ñªº¼v¹³¸ê®Æ®É, «hªº¼v¹³ÀÉ·|³Q¬å±¼. ¦pªG¼v¹³Àɤw¸g¦s ¦b¼v¹³ªí¤¤, ³Ì·sªº¶}¾÷¼v¹³ºÏ°Ï (¥]§tÀˬd½X) ±N·|³z¹L TFTP ³q°T¨ó©w¸ü¤J¨Ã¥B»P¥Ø«e±o¼v¹³ÀÉ °µ¤ñ¸û. ¦pªG¥¦­Ì¤£§¹¥þ¤@­P, «hÀ£ÁY¼v¹³·|¦A­«·s¸ü¤J¤@¦¸.

³o­Ó¼v¹³±µµÛ·|³Q¸ÑÀ£ÁY, ©Ò¦³ªº magic numbers ³£¦A½T»{, ¨ÃÀˬd¸ÑÀ£ÁY«áªº¸ê®Æ. ¦pªG¸ÑÀ£ÁY¥¢ ±Ñ, ©ÎªÌÀˬdµ²ªG»P³Ì·sªº¶}¾÷ºÏ°Ï¤£§k¦X, «h¼v¹³ÀɱN·|­«·s¸ü¤J¨Ã­×¥¿¤@¦¸. §_«h, µ{¦¡·|§â±± ¨îÅv¥æµ¹¶}¾÷ºÏ°Ï, §@·~¨t²Î´N·|±Ò°Ê.

¦pªG bpunzip ³z¹L°ÆÀɦW .P ¸ü¤J (¦p win95.P), «h¥¦·|°²³] TFTP ¦øªA¾¹¦b port 59 ¦³¥[±j«¬ªº¤¶­± (¦b¥¿ ³Wªº port 69 ¤§¥~©Òªþ¥[ªº). BpUnzip ±N³z¹L¥¦¥H¸û¤jªº«Ê¥]®æ¦¡¸ü¤J¼v¹³ÀÉ, ³q±`¬O¥H 1408 bytes ¨Ó ¨ú¥N¨C­Ó«Ê¥] 512 bytes (³oºØÂà´«¨Ï¥Î¤j«Ê¥]ªº§Þ¥©¦³ÂI¹³TCP/IP Bootprom©Ò¨Ï¥Îªº).

¦P²z, ¦pªG bpunzip ¬O³z¹L°ÆÀɦW .G ¸ü¤J (¦p win95.GP), «h¥¦±N·|¥ý¤U¸ü¤@­Ó¥H¦P¼Ë¥DÀɦWªº GIF ¹ÏÀÉ (¦p win95.gif) ¨Ã¦b¶}¾÷®É§â¥¦¨q¦bÀç¹õ¤W. ³o­Óµ{¦¡¥u¯à¦b 800x600, 256 ¦âªº¼Ò¦¡¤U¤u§@ (§Y¨Ï GIF ¹ÏÀÉ ¥i¥H§ó¤p©ÎªÌ¨Ï¥Î§ó¤ÖªºÃC¦â). ¦pªG±z·Q­n¬Ý¬Ý¶}¾÷ªº¬yµ{°O¿ý, «h³o­Ó¼ÐÃD¥i¥H«ö ESC Áä²¾°£. ¦pªG±zªºÅã¥Ü¥d¤£¬O VESA ¬Û®e«¬, «h³o­Ó¥\¯à±z¤£¯à¨Ï¥Î. ¥t¥~,ÁÙ­nª`·Nªº¬O³o­Ó¼Ð°Oªº°õ¦æ§¹ ¦¨´Î¬O¨Ï¥Î½Õ¦â½Lªº ³Ì«á¤Q¤»¦â¨ÓÅã¥Ü. ¦pªG¤£·Q¨Ï¥Î³o­Ó¥\¯à, ©ÎªÌ§Æ±æ­×¥¿¥¦. ¶¶«K¤@´£, ¦pªG ±z¤£³ßÅw§Ú­Ì¼Ð°Oªº°õ¦æ§¹¦¨´Î, ±z¥i¥H¦Û¥Ñªº§ïÅÜ¥¦ (¦b GIFDATA.ASM), ¦ý½Ð«O¯d§Ú­Ìªº¦W¦r ¦b¥i¥H¬Ý±o¨ìªº¦a¤è.

¥Ø¦a¤À³Î°Ï¤£»Ý­n§¹¥þ¸ò­ì©lªº¤j¤p¬Û¦P ; ¥¦¥u­n¦³¨¬°÷ªºªÅ¶¡¨Ó¦s©ñ¤À³Î°Ï¤¤,©Ò¦³¨Ï¥Î¨ìªººÏ ¬W. ¦pªG¥Ø¦a¤À³Î°Ï¤p©ó­ì©lªº¤À³Î°Ï, «h ÀÉ®×¹ïµwªí FAT ±N·|¦]¦¹¦ÓµäÁY (¦ýºÏ¬W¤j¤p«h¤£ÅÜ). ¦pªG¥Ø¦a¤À³Î°Ï¤j¤p¤j©ó­ì©l¤À³Î°Ï, «h ÀÉ®×¹ïÀ³ªí FAT ±N·|ºÉ¥i¯àªºÂX¤j. µM¦Ó, ¦pªG¥Ø¦a¤À³Î °Ï¤ñ­ì©l¤À³Î°Ï¤j§ó¦h, ¥i¯à 65518 ­ÓºÏ¬W´N¤£°÷Âл\©Ò¦³ªºªÅ¶¡ (¦]¬°ºÏ¬W¤j¤p¬OµLªk§ïÅܪº). ¹³ ³oºØª¬ªp, bpunzip ±N·|²£¥Íĵ§i,§i¶D¨Ï¥ÎªÌ¦³¤@¨ÇªÅ¶¡¬y¥¢±¼¤F.

¹w³]­È, bpunzip ¬O½sĶ¦¨¤ä´© LBA (¤£¶W¹L 1024 ­ÓºÏ¬W, ¦ý¥i¹F 256 ­ÓºÏÀY). ¬Y¨Ç©_©Çªº BIOS ¤Î¬Y ¨Ç©_©Çªº§@·~¨t²Î¸û³ßÅw¥t¤@ºØ NORMAL ¼Ò¦¡ (¥i¹F 4096 ­ÓºÏ¬W, ¦ý¤£¯à¶W¹L 64 ­ÓºÏÀY); ¦pªG±z »Ý­n³oºØ¼Ò¦¡, ¨º»ò§â LBA ªº©w¸q±q­ì©lµ{¦¡¸Ì§ï¦¨µù¸ÑµM«á­«·s½sĶ¤@¹M.

Assembler »yªkªº­ì©lµ{¦¡½X¦b ³o.

¦pªG¨Ï¥Î Solaris 2.5 ·í TFTP server. ¦b³B²z¶W¹L 16 Megabytes ®É, ·|¦³°ÝÃD. ³o¬O¦]¬°¥¦µLªk³B²z¶W¹L 32768 packets per file ³o¬O¤@­Ó¤wª¾ªº¯äÂÎ, ¦ýª½¨ì¥Ø«e SUN ¤´¥¼´£¨Ñ­×¥¿. §Ú­Ì«Øij±z¨Ï¥Î§ó¦³®Ä ²vªº¥[±j«¬ extended TFTP server (¥¦¤]¤ä´©¨ä¥L§@·~¨t²Î, ´N¦b TCP/IP Bootprom ¤u¨ãºÏ¤ù¤¤).

4.5 NOBREAK

Nobreak.sys ¬Û·í¤p (¤j·§¥u¦³ 350 bytes ) ªºÅX°Êµ{¦¡, ¥¦±N¥[¦b±z config.sys ¤¤ªº¶}©l³B. ¥¦ªº¥Øªº¬O«O Å@¶}¾÷µ{§Ç, ª½¨ì¨Ï¥ÎªÌµn¤J. DOS ¬°³o´£¨Ñ¤@ºØ³]©w (¦W¬° BREAK=OFF), ¦ý¥¦¤£°÷¼É¤O, ¨Ã¥B¦b autoexec.bat ¨SªÙ¥Î. §Ú­ÌªºÅX°Êµ{¦¡¤u§@­ì²z¬O·í¤¤Â_­n¨D²£¥Í®É­×§ïÁä½Lªº±½´y½X, ª½±µ¦b BIOS ¼h¤u§@. ¥H³o¤èªk, ©Ò¦³ªºµ{¦¡¦b¤¤Â_¥¼­P¯à«e³£¦¬¤£¹D¤¤Â_°T®§.

³o­ÓÅX°Êµ{¦¡¥²¶·©ñ¦b config.sys Àɤ¤(©ÎªÌ¨Ï¥Î Undocumented DOS ªº devlod µ{¦¡). ±µµÛ, ¥i¥H³z¹L¶Ç °e Yes ¨ì NOBRK ³o­ÓµêÀÀ¸Ë¸m, ¨Ã¥B¶Ç°e No ¦Ó¸T¯à (¨Æ¹ê¤W, ¥u»Ý­n²Ä¤@­Ó¦r¤¸, Y ©Î N ¤~¬O³Ì­«­n ªº).

¦]¬°³o­ÓÅX°Êµ{¦¡¨Ì¾a BIOS, ©Ò¥H¥¦¥u¯à¦b DOS ¸ò Windows 3.1.¤U¤u§@ Windows 95 «h¦³¥¦¦Û¤vªº §C¶¥Áä½L³B²z¾÷¨î.

Assembler »yªkªº­ì©lµ{¦¡½X¦b ³o.


Next Previous Contents