锘??xml version="1.0" encoding="utf-8" standalone="yes"?>亚洲综合网美国十次,亚洲综合一区国产精品,亚洲av日韩综合一区在线观看http://www.tkk7.com/wilsonny/category/1096.html灝忕埥鐨勫崥瀹?/description>zh-cnMon, 19 Mar 2007 08:47:31 GMTMon, 19 Mar 2007 08:47:31 GMT60Kernel鍚姩榪涚▼鐨勫疄楠?/title><link>http://www.tkk7.com/wilsonny/archive/2007/03/19/104717.html</link><dc:creator>灝忕埥</dc:creator><author>灝忕埥</author><pubDate>Mon, 19 Mar 2007 05:04:00 GMT</pubDate><guid>http://www.tkk7.com/wilsonny/archive/2007/03/19/104717.html</guid><wfw:comment>http://www.tkk7.com/wilsonny/comments/104717.html</wfw:comment><comments>http://www.tkk7.com/wilsonny/archive/2007/03/19/104717.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.tkk7.com/wilsonny/comments/commentRss/104717.html</wfw:commentRss><trackback:ping>http://www.tkk7.com/wilsonny/services/trackbacks/104717.html</trackback:ping><description><![CDATA[ <font color="#ff0000"> <strong>涔熷氨鏄錛屽亣璁?0 --> limit --> FFFF<br />閭d箞濡傛灉涓涓鏄痚xpandupward鐨勶紝浠栫殑offset鍙兘鏄?鍒發(fā)imit錛岃屽鏋滄槸expanddownward鐨勶紝offset灝辨槸浠巐imit鍒癋FFF錛屼笖璇ユ爤鐨勫闀挎柟鍚戞槸limit-->FFFF錛屽嵆錛屾暟鎹湪鍐呭瓨涓繪槸浠庝綆鍦板潃鏀懼埌楂樺湴鍧</strong> </font> <br /> <br />浠婂ぉ鍙楃泭鍖祬.....鎴戝錛屽鏋滀笉鏄湪緗戠粶涓婃悳绱㈠埌鐨勮繖鍙ヨ瘽錛屾垜鑷繁緙栧啓鐨凨ernel榪涚▼鎬庝箞涔熻皟璇曚笉濂姐?br />浠婂ぉ澶珮鍏翠簡錛岀粓浜庢妸Kernel鐨勮繘紼嬫満鍒惰皟鏁村ソ浜嗭紒錛侊紒鎴釜鍥撅紝搴嗙涓涓嬨?br />涓嶈繃鎴浘鏈変釜閿欒錛屽氨鏄簲璇ユ槸Process鐨勶紝鑰屼笉鏄疶hread錛岃繖涓や釜涓滆タ鏈夋湰璐ㄥ尯鍒?br /><p align="center"><img src="http://www.tkk7.com/images/blogjava_net/wilsonny/19081/o_process.JPG" align="center" border="0" /></p><img src ="http://www.tkk7.com/wilsonny/aggbug/104717.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.tkk7.com/wilsonny/" target="_blank">灝忕埥</a> 2007-03-19 13:04 <a href="http://www.tkk7.com/wilsonny/archive/2007/03/19/104717.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item><item><title>鎴戠殑Kernel瀹炵幇浜嗕腑鏂?...http://www.tkk7.com/wilsonny/archive/2007/02/27/101033.html灝忕埥灝忕埥Tue, 27 Feb 2007 15:26:00 GMThttp://www.tkk7.com/wilsonny/archive/2007/02/27/101033.htmlhttp://www.tkk7.com/wilsonny/comments/101033.htmlhttp://www.tkk7.com/wilsonny/archive/2007/02/27/101033.html#Feedback2http://www.tkk7.com/wilsonny/comments/commentRss/101033.htmlhttp://www.tkk7.com/wilsonny/services/trackbacks/101033.html 浠婂ぉ鎴戞妸Kernel娣誨姞浜嗕腑鏂鐞嗙殑閮ㄥ垎銆傜粡榪嘍EBUG浠ュ悗緇堜簬鍙互榪愯浜嗐傚煎緱娉ㄦ剰鐨勬槸錛孎AULTS榪斿洖鏄繑鍥炲埌褰撳墠琛屻?br />



灝忕埥 2007-02-27 23:26 鍙戣〃璇勮
]]>
浠婂ぉ瀵筀ernel榪涜浜嗘墿鍏?/title><link>http://www.tkk7.com/wilsonny/archive/2007/02/26/100719.html</link><dc:creator>灝忕埥</dc:creator><author>灝忕埥</author><pubDate>Mon, 26 Feb 2007 04:54:00 GMT</pubDate><guid>http://www.tkk7.com/wilsonny/archive/2007/02/26/100719.html</guid><wfw:comment>http://www.tkk7.com/wilsonny/comments/100719.html</wfw:comment><comments>http://www.tkk7.com/wilsonny/archive/2007/02/26/100719.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.tkk7.com/wilsonny/comments/commentRss/100719.html</wfw:commentRss><trackback:ping>http://www.tkk7.com/wilsonny/services/trackbacks/100719.html</trackback:ping><description><![CDATA[ <p align="left"> <font size="2">浠婂ぉ瀵筀ernel榪涜浜嗘墿鍏咃紝涓轟簡榪囦袱澶╁疄鐜頒腑鏂満鍒躲傛垜緙栧啓浜嗘墦鍗板僵鑹插瓧絎︾殑kprint鍑芥暟鍜屾墦鍗癐nt鍊肩殑鍑芥暟銆傛湡涓湁浜汢ug錛屼笉榪囬兘淇敼榪囦簡銆?br /><img src="http://www.tkk7.com/images/blogjava_net/wilsonny/19081/o_newop.JPG" align="center" border="0" /></font> </p> <img src ="http://www.tkk7.com/wilsonny/aggbug/100719.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.tkk7.com/wilsonny/" target="_blank">灝忕埥</a> 2007-02-26 12:54 <a href="http://www.tkk7.com/wilsonny/archive/2007/02/26/100719.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item><item><title>浠婂ぉ鏇存柊浜嗘垜鐨勬搷浣滅郴緇烱ernelhttp://www.tkk7.com/wilsonny/archive/2007/02/22/100385.html灝忕埥灝忕埥Thu, 22 Feb 2007 14:56:00 GMThttp://www.tkk7.com/wilsonny/archive/2007/02/22/100385.htmlhttp://www.tkk7.com/wilsonny/comments/100385.htmlhttp://www.tkk7.com/wilsonny/archive/2007/02/22/100385.html#Feedback0http://www.tkk7.com/wilsonny/comments/commentRss/100385.htmlhttp://www.tkk7.com/wilsonny/services/trackbacks/100385.html

浠婂ぉ鏇存柊浜咾ernel錛岀紪鍐欎簡涓涓狵ernel鐨凱rint鍑芥暟錛寁oid kprint(char *); 濂戒箙娌℃湁鏇存柊浜嗭紝鍞夛紝榪囧勾浜嗭紝浜嬫儏澶浜嗭紝娌″姙娉曪紝涓蹭翰鎴氾紝浼氭湅鍙?......



灝忕埥 2007-02-22 22:56 鍙戣〃璇勮
]]>
鎴戠殑KERNEL鐨勬爲(wèi)緇撴瀯鍒楄〃錛堝涔?fàn)浜庢笂鐨勫Q?/title><link>http://www.tkk7.com/wilsonny/archive/2007/02/03/97810.html</link><dc:creator>灝忕埥</dc:creator><author>灝忕埥</author><pubDate>Sat, 03 Feb 2007 15:26:00 GMT</pubDate><guid>http://www.tkk7.com/wilsonny/archive/2007/02/03/97810.html</guid><wfw:comment>http://www.tkk7.com/wilsonny/comments/97810.html</wfw:comment><comments>http://www.tkk7.com/wilsonny/archive/2007/02/03/97810.html#Feedback</comments><slash:comments>3</slash:comments><wfw:commentRss>http://www.tkk7.com/wilsonny/comments/commentRss/97810.html</wfw:commentRss><trackback:ping>http://www.tkk7.com/wilsonny/services/trackbacks/97810.html</trackback:ping><description><![CDATA[ <font size="2">铏界劧榪欒繕涓嶈兘瀹屽叏綆楁槸鑷繁鐨勶紝浣嗘槸鎬葷畻鏈変簡榪涙鍟婏紝鍛靛懙錛屽姞娌癸紝瑕佽璁″嚭鑷繁鐨勬搷浣滅郴緇燂紒錛?/font> <br /> <p align="center"> <img src="http://www.tkk7.com/images/blogjava_net/wilsonny/19081/o_kernelmanifest.JPG" align="center" border="0" /> </p> <img src ="http://www.tkk7.com/wilsonny/aggbug/97810.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.tkk7.com/wilsonny/" target="_blank">灝忕埥</a> 2007-02-03 23:26 <a href="http://www.tkk7.com/wilsonny/archive/2007/02/03/97810.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item><item><title>娌℃湁鎯沖埌鍫嗘爤鐨勯棶棰樹細榪欎箞涓ラ噸錛侊紒http://www.tkk7.com/wilsonny/archive/2007/02/03/97806.html灝忕埥灝忕埥Sat, 03 Feb 2007 15:10:00 GMThttp://www.tkk7.com/wilsonny/archive/2007/02/03/97806.htmlhttp://www.tkk7.com/wilsonny/comments/97806.htmlhttp://www.tkk7.com/wilsonny/archive/2007/02/03/97806.html#Feedback0http://www.tkk7.com/wilsonny/comments/commentRss/97806.htmlhttp://www.tkk7.com/wilsonny/services/trackbacks/97806.html 浠婂ぉ鍙戠幇鑷繁鐨勬搷浣滅郴緇熻櫧鐒跺彲浠ュ湪VMware鍜孷PC涓嬭繍琛岋紝浣嗘槸鍦˙ochs涓嬩細鎶ラ敊錛佺煭鐭殑鍑犵閽熶嬌寰桞ochs浜х敓浜嗗嚑鍗佸厗鐢氳嚦涓婄櫨鍏嗙殑杈撳嚭鏂囦歡銆傚湪鏂囦歡閲岄潰錛屾垜鍙戠幇鎶ラ敊涓昏鏄疘RET鐨勬秷鎭紝璇村爢鏍堜技涔庢湁闂銆傜粡榪囨鏌ヤ唬鐮侊紝鎴戝彂鐜頒簡闂鎵鍦ㄣ傚簲璇ユ槸mov esp,0x100鐨勪竴鍙ワ紝鍐欐垚浜唌ov esp,0100,鏈鍚庝及璁℃槸鍥犱負鍫嗘爤涓嶅閫犳垚浜咮ochs鎶ラ敊銆傜幇鍦ㄦ葷畻璋冭妭濂戒簡錛屾埅涓浘銆傚簡紲濅竴涓嬶紒




灝忕埥 2007-02-03 23:10 鍙戣〃璇勮
]]>
浠婂ぉ瀵筀ernel榪涜浜咲EBUG錛屼嬌鐢ㄤ簡C璇█鍜屾眹緙栨販鍚堢紪紼?/title><link>http://www.tkk7.com/wilsonny/archive/2007/02/02/97682.html</link><dc:creator>灝忕埥</dc:creator><author>灝忕埥</author><pubDate>Fri, 02 Feb 2007 14:14:00 GMT</pubDate><guid>http://www.tkk7.com/wilsonny/archive/2007/02/02/97682.html</guid><wfw:comment>http://www.tkk7.com/wilsonny/comments/97682.html</wfw:comment><comments>http://www.tkk7.com/wilsonny/archive/2007/02/02/97682.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.tkk7.com/wilsonny/comments/commentRss/97682.html</wfw:commentRss><trackback:ping>http://www.tkk7.com/wilsonny/services/trackbacks/97682.html</trackback:ping><description><![CDATA[ <p align="center"> <img src="http://www.tkk7.com/images/blogjava_net/wilsonny/19081/o_NewKernel.JPG" align="center" border="0" /> <br /> <br /> <font size="2">铏界劧浠庢暣浣撲笂鏉ョ湅濂藉儚娌℃湁浠涔堝彉鍖栵紝浣嗘槸浠婂ぉ淇敼浜哊澶氫釜BUG錛屾葷畻鏄畬鎴愭眹緙栧拰C璇█鐨勬販鍚堢紪紼嬨傞棶棰樻渶涓ラ噸鐨凚UG鏄疎LF鏂囦歡鐨凱rogramHeader鐨勮鍙栥傛垜娌℃湁鎯沖埌錛岀珶鐒禘LF鏍煎紡鐨凱rogramHeader鏈夌殑绔熺劧孌甸暱搴︿負0錛侊紒榪欏彲鎬庝箞鐞嗚В鍟婏紝鍞夛紝鎵句簺涔︾睄鐪嬬湅鍚с傚紕涓嶆噦鐨勮瘽褰卞搷灝嗘潵寮鍙慘ernel鍟?...</font> </p> <img src ="http://www.tkk7.com/wilsonny/aggbug/97682.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.tkk7.com/wilsonny/" target="_blank">灝忕埥</a> 2007-02-02 22:14 <a href="http://www.tkk7.com/wilsonny/archive/2007/02/02/97682.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item><item><title>鍏充簬C璇█涓璼tatic鍏抽敭瀛楃殑涓浜涚粏鑺?/title><link>http://www.tkk7.com/wilsonny/archive/2007/01/31/97058.html</link><dc:creator>灝忕埥</dc:creator><author>灝忕埥</author><pubDate>Wed, 31 Jan 2007 12:12:00 GMT</pubDate><guid>http://www.tkk7.com/wilsonny/archive/2007/01/31/97058.html</guid><wfw:comment>http://www.tkk7.com/wilsonny/comments/97058.html</wfw:comment><comments>http://www.tkk7.com/wilsonny/archive/2007/01/31/97058.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.tkk7.com/wilsonny/comments/commentRss/97058.html</wfw:commentRss><trackback:ping>http://www.tkk7.com/wilsonny/services/trackbacks/97058.html</trackback:ping><description><![CDATA[ <font size="2">瀹氫箟浜唖tatic 璇ュ彉閲忓氨涓嶅彲浠ヤ負鍏朵粬鏂囦歡鎵鐢ㄤ簡,榪欏潡鍐呭瓨鍖哄煙鏍囪瘑涓虹鏈?榪欐牱鍙互闃叉涓浜涘唴瀛樼殑閿欒鎿嶄綔,澶勪簬鍚屾牱鐨勯亾鐞?澶存枃浠墮噷闈㈡槸涓嶈鍑虹幇static鐨?lt;/CA></font> <img src ="http://www.tkk7.com/wilsonny/aggbug/97058.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.tkk7.com/wilsonny/" target="_blank">灝忕埥</a> 2007-01-31 20:12 <a href="http://www.tkk7.com/wilsonny/archive/2007/01/31/97058.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item><item><title>LOADER緇堜簬杞藉叆KERNEL浜嗭紒錛?/title><link>http://www.tkk7.com/wilsonny/archive/2007/01/31/97051.html</link><dc:creator>灝忕埥</dc:creator><author>灝忕埥</author><pubDate>Wed, 31 Jan 2007 11:20:00 GMT</pubDate><guid>http://www.tkk7.com/wilsonny/archive/2007/01/31/97051.html</guid><wfw:comment>http://www.tkk7.com/wilsonny/comments/97051.html</wfw:comment><comments>http://www.tkk7.com/wilsonny/archive/2007/01/31/97051.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.tkk7.com/wilsonny/comments/commentRss/97051.html</wfw:commentRss><trackback:ping>http://www.tkk7.com/wilsonny/services/trackbacks/97051.html</trackback:ping><description><![CDATA[ <font size="2">浠婂ぉ緙栧啓浜嗕竴涓嬪崍紼嬪簭錛屾渶緇堝畬鎴愪簡LOADER杞藉叆KERNEL騫舵妸鎺у埗鏉冧氦緇欎簡浠LF鏍煎紡瀛樺湪浜庣鐩樹笂鐨凨ERNEL.BIN浜嗐傚煎緱搴嗙鐨勪竴澶╋紝鍥犱負浠ュ悗緇堜簬鍙互浣跨敤C鍜屾眹緙栨販鍚堢紪紼嬩簡錛學(xué)ow~~~~~~~~鎴釜鍥撅紝鍛靛懙銆?br /><p align="center"><img src="http://www.tkk7.com/images/blogjava_net/wilsonny/19081/o_InKernel.JPG" align="center" border="0" /></p></font> <img src ="http://www.tkk7.com/wilsonny/aggbug/97051.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.tkk7.com/wilsonny/" target="_blank">灝忕埥</a> 2007-01-31 19:20 <a href="http://www.tkk7.com/wilsonny/archive/2007/01/31/97051.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item><item><title>浠婂ぉ寮濮嬪啓鎿嶄綔緋葷粺鍒濆鍖朘ernel閮ㄥ垎http://www.tkk7.com/wilsonny/archive/2007/01/31/96989.html灝忕埥灝忕埥Wed, 31 Jan 2007 07:28:00 GMThttp://www.tkk7.com/wilsonny/archive/2007/01/31/96989.htmlhttp://www.tkk7.com/wilsonny/comments/96989.htmlhttp://www.tkk7.com/wilsonny/archive/2007/01/31/96989.html#Feedback0http://www.tkk7.com/wilsonny/comments/commentRss/96989.htmlhttp://www.tkk7.com/wilsonny/services/trackbacks/96989.html 浠婂ぉ寮濮嬪啓瀵笶LF鏍煎紡Kernel杞藉叆鐨勭▼搴忥紝ELF鏂囦歡鏍煎紡鏈韓騫朵笉闅撅紝鍙笉榪囪繖孌甸渶瑕佽鐪熺紪鍐欑▼搴忋備笅闈㈡埅涓浘銆?br />



灝忕埥 2007-01-31 15:28 鍙戣〃璇勮
]]>
Cycar鍚嶇О淇敼...http://www.tkk7.com/wilsonny/archive/2007/01/22/95327.html灝忕埥灝忕埥Mon, 22 Jan 2007 06:02:00 GMThttp://www.tkk7.com/wilsonny/archive/2007/01/22/95327.htmlhttp://www.tkk7.com/wilsonny/comments/95327.htmlhttp://www.tkk7.com/wilsonny/archive/2007/01/22/95327.html#Feedback0http://www.tkk7.com/wilsonny/comments/commentRss/95327.htmlhttp://www.tkk7.com/wilsonny/services/trackbacks/95327.html 鐪嬫潵Cycar瑕佷慨鏀瑰悕瀛椾簡錛孋ycar宸茬粡鏈変漢鐢ㄤ簡錛岃櫧鐒朵笉鏄搷浣滅郴緇熴傚噯澶囦慨鏀瑰悕縐頒負Cycardy......



灝忕埥 2007-01-22 14:02 鍙戣〃璇勮
]]>
浠婂ぉ瀵規(guī)垜鐨勨滃噯鎿嶄綔緋葷粺鈥濊繘琛屼簡淇敼http://www.tkk7.com/wilsonny/archive/2007/01/21/95145.html灝忕埥灝忕埥Sun, 21 Jan 2007 08:20:00 GMThttp://www.tkk7.com/wilsonny/archive/2007/01/21/95145.htmlhttp://www.tkk7.com/wilsonny/comments/95145.htmlhttp://www.tkk7.com/wilsonny/archive/2007/01/21/95145.html#Feedback0http://www.tkk7.com/wilsonny/comments/commentRss/95145.htmlhttp://www.tkk7.com/wilsonny/services/trackbacks/95145.html 鎴戝噯澶囨妸鑷繁鐨勭郴緇熷懡鍚嶄負Cycar錛屽悕瀛楃殑鐢辨潵錛熸潵鑷袱涓崟璇嶏紝Cyber鍜孋ardinal錛屽垎鍒槸鏁板瓧鍜岄潪甯擱噸瑕侊紙綰㈣。涓繪暀錛夌殑鎰忔濄傚笇鏈涙垜鐨勮繖涓郴緇熷皢鏉ヨ兘澶熻秺鏉ヨ秺powerfull銆傜洰鍓嶆潵璇達紝榪欎釜涓嶈兘綆楁槸鑷繁鐨勬搷浣滅郴緇燂紝鍥犱負瀹冪己灝戝緢澶氫笢瑗匡紝浣嗘槸錛岃繖浜涘洖鎱㈡參鎵╁厖鐨勩傚悓鏃訛紝浠栫洰鍓嶅彲浠ョ畻鏄寜鐓с婅嚜宸卞姩鎵嬪啓鎿嶄綔緋葷粺銆嬩竴姝ヤ竴姝ヤ笅鏉ョ殑錛屾病鏈夊師鍒涚殑涓滆タ銆傚鏋滈潪瑕佺粰瀹冧竴涓増鏈彿鐨勮瘽錛岄偅涔堝畠鐨勭増鏈彿鏄?-10.0錛屽洜涓烘垜榪樻湁鍗佸垎鐨勪笢瑗塊渶瑕佸涔?fàn)鍜岄鎮(zhèn)熷Q岀劧鍚庢參鎱㈠疄鐜拌嚜宸辯殑鎿嶄綔緋葷粺銆傛渶緇堝疄鐜?.0.1鐗堟湰銆傚懙鍛靛懙銆傛埅涓浘銆?br />



灝忕埥 2007-01-21 16:20 鍙戣〃璇勮
]]>
浠婂ぉ鐨凩oader瀹為獙鎬葷畻DEBUG瀹屾垚http://www.tkk7.com/wilsonny/archive/2007/01/18/94691.html灝忕埥灝忕埥Thu, 18 Jan 2007 08:22:00 GMThttp://www.tkk7.com/wilsonny/archive/2007/01/18/94691.htmlhttp://www.tkk7.com/wilsonny/comments/94691.htmlhttp://www.tkk7.com/wilsonny/archive/2007/01/18/94691.html#Feedback2http://www.tkk7.com/wilsonny/comments/commentRss/94691.htmlhttp://www.tkk7.com/wilsonny/services/trackbacks/94691.html 浠婂ぉ鐨勭▼搴忕紪鍐欏掍笉鏄緢闀挎椂闂達紝浣嗘槸DEBUG鑺變簡鎴戝ソ闀挎椂闂達紝鍏蜂綋鍓嶅嚑嬈″穿婧冪殑鍘熷洜娌℃湁鎵懼嚭鏉ワ紝浣嗘槸鏈緇堝彲浠ヨ繍琛屼簡銆?br />鎴釜鍥劇墖錛岀劧鍚庢槸姹囩紪紼嬪簭銆?br />



org 0x100
[bits 16]
jmp loaderStart

_GRAPH_SEG_OFFSET_ equ 0xb800

_RootEntCnt_ equ 0xe0

BS_OEMName db 'XXXXXXXX'
BPB_BytsPerSec dw 0x200
BPB_SecPerClus db 1
BPB_RsvdSecCnt dw 1
BPB_NumFATs db 2
BPB_RootEntCnt dw _RootEntCnt_
BPB_totSec16 dw 0xb40
BPB_Media db 0xf0
BPB_FATSz16 dw 9
BPB_SecPerTrk dw 0x12
BPB_NumHeads dw 2
BPB_HiddSec dd 0
BPB_totSec32 dd 0
BS_DrvNum db 0
BS_Reserved1 db 0
BS_BootSig db 0x29
BS_VolID dd 0
BS_VolLab db '11111111111'
BS_FileSysType db 'FAT12聽聽 '

parameters:
聽screenPo dd 0
聽STR_LEN equ 12
聽bootStr db 'Loading...聽 '
聽noLoaderStr db 'No Kernel...'
聽ready db 'Ready聽聽聽聽聽聽 '
聽KernelBase equ 0x8000
聽KernelOffset equ 0x0
聽rootEntryNum db _RootEntCnt_
聽loaderName db 'KERNEL聽 BIN'


loaderStart:
聽mov ax,cs
聽mov ds,ax
聽mov es,ax
聽mov ss,ax
聽mov sp,0100
聽mov ax,_GRAPH_SEG_OFFSET_
聽mov gs,ax

聽mov dh,0
聽call displayStr

聽xor ah,ah
聽mov dl,[BS_DrvNum]
聽int 0x13

聽mov ax,KernelBase
聽mov es,ax
聽mov bx,0
聽mov ax,19
聽mov cl,14
聽call readSector


聽xor edi,edi

anotherFile:
聽xor esi,esi
聽cmp byte [rootEntryNum],0
聽je noLoader

nextChar:
聽mov al,byte [es:edi]
聽cmp byte [ds:loaderName+si],al
聽jne notThisFile
聽cmp si,10
聽je found
聽inc esi
聽inc edi
聽jmp nextChar

聽notThisFile:
聽shr edi,5
聽inc edi
聽shl edi,5
聽dec byte [rootEntryNum]
聽jmp anotherFile

noLoader:
聽mov dh,1
聽call displayStr
聽jmp $

found:
聽mov dh,2
聽call displayStr

聽mov ax,word [es:edi+(0x10)]
聽mov cl,1

聽push ax
聽mov ax,KernelBase
聽mov es,ax
聽mov ebx,KernelOffset
聽pop ax

聽readEntry:

聽cmp ax,0xfff
聽je readEnd
聽push ax
聽add ax,19+14-2
聽call readSector
聽pop ax

聽add ebx,512
聽call getFATEntry

聽jmp readEntry
聽readEnd:

聽jmp toProtectMode

displayStr:
聽; dh: String index
聽push cx
聽push ax
聽push bx
聽push esi
聽push edi
聽mov cx,STR_LEN
聽mov edi,dword [screenPo]
聽mov esi,bootStr
聽xor eax,eax
聽mov al,dh
聽mov bl,STR_LEN
聽mul bl
聽add esi,eax
聽.1:
聽lodsb
聽mov [gs:edi],al
聽inc edi
聽inc edi
聽loop .1

聽mov dword [screenPo],edi
聽pop edi
聽pop esi
聽pop bx
聽pop ax
聽pop cx
聽ret

readSector: ;ax: starting sector cl:number of sectors
聽; ah 0x2聽聽聽聽聽聽聽聽聽 al:number of sector to read
聽; 聽聽聽聽聽bx: es:bx
聽; ch:cylinder聽聽聽cl:start sector
聽; dh:head聽num聽聽聽dl:Drive
聽push bp
聽mov bp,sp
聽push cx
聽push dx
聽push ax

聽mov dl,[BPB_SecPerTrk]
聽div dl
聽mov cl,ah
聽inc cl

聽mov ch,al
聽shr ch,1

聽mov dh,al
聽and dh,1

聽mov dl,byte [BS_DrvNum]

聽.1:
聽mov ah,2
聽mov al,byte [bp-2]
聽int 0x13
聽jc .1
聽聽
聽pop ax
聽pop dx
聽pop cx
聽pop bp
聽ret

getFATEntry:
聽FATBaseInMem equ 0x7000
聽;ax is the entry number
聽;return ax is the next entry

聽push es
聽push bx
聽push dx
聽push cx

聽mov bx,FATBaseInMem
聽mov es,bx

聽mov bx,3
聽mul bx ;dx:ax
聽mov bx,2
聽div bx ;dx is the rest
聽push dx

聽xor dx,dx
聽mov bx,[BPB_BytsPerSec]
聽div bx
聽mov cl,2
聽xor bx,bx
聽add ax,1
聽call readSector
聽mov bx,dx; mov byte index

聽pop dx
聽xor ax,ax
聽cmp dx,0
聽jne oddPart

聽mov ax,word [es:bx]
聽and ax,0x0fff

聽jmp after
聽oddPart:

聽mov ax,word [es:bx]
聽shr ax,4


聽after:
聽pop cx
聽pop dx
聽pop bx
聽pop es

聽ret


toProtectMode:
聽jmp start

%macro Descriptor 3
聽dw %2 & 0xffff
聽dw %1 & 0xffff
聽db (%1 >> 16) & 0xff
聽dw ((%2 & 0x0f0000) >> 8) | (%3 & 0xf0ff)
聽db (%1 >> 24) & 0xff
%endmacro

DummyGDT: Descriptor 0,0,0
CodeGDT: Descriptor 0,0xfffff,1100000010011010b
DataGDT: Descriptor 0,0xfffff,1000000010010010b
ScreenGDT: Descriptor 0xb8000,0xffff,0000000010010010b

GDTPtr dw $-DummyGDT-1
聽dd 0x9000*0x10+DummyGDT

CodeSelector equ CodeGDT-DummyGDT
DataSelector equ DataGDT-DummyGDT
ScreenSelector equ ScreenGDT-DummyGDT

start:
聽call killMotor
聽cli
聽mov dh,2
聽call displayStr

聽lgdt [GDTPtr]

聽in al,0x92
聽or al,10b
聽out 0x92,al

聽mov eax,cr0
聽or eax,1
聽mov cr0,eax

聽jmp dword CodeSelector:(0x9000*0x10+ProtectMode)

killMotor:
聽push dx
聽mov dx,0x3f2
聽mov al,0

聽out dx,al
聽pop dx
聽ret


[bits 32]
ProtectMode:
聽mov ax,ScreenSelector
聽mov gs,ax
聽xor edi,edi
聽.again:
聽inc byte [gs:edi]
聽jmp .again



灝忕埥 2007-01-18 16:22 鍙戣〃璇勮
]]>
int 13h 涓嶈兘灝嗘暟鎹鍏ユ樉瀛樼殑鍘熷洜http://www.tkk7.com/wilsonny/archive/2007/01/17/94409.html灝忕埥灝忕埥Wed, 17 Jan 2007 05:38:00 GMThttp://www.tkk7.com/wilsonny/archive/2007/01/17/94409.htmlhttp://www.tkk7.com/wilsonny/comments/94409.htmlhttp://www.tkk7.com/wilsonny/archive/2007/01/17/94409.html#Feedback0http://www.tkk7.com/wilsonny/comments/commentRss/94409.htmlhttp://www.tkk7.com/wilsonny/services/trackbacks/94409.html 鍦ㄦ垜璁や負錛岃鍐欑鐩樼殑BIOS涓柇13H鏄敤鏉ュ悜鍙敤鍐呭瓨錛堝唴瀛楾YPE涓?錛変腑瀛樺叆鏁版嵁鐨勩傝櫧鐒剁洰鍓嶅浜嶺86緇撴瀯鐨勬樉瀛樻満鍒朵笉鏄壒鍒殑浜嗚В錛屼絾鏄樉瀛樼殑TYPE鏄?錛岃繖涔熷氨鎰忓懗鐫涓嶈兘澶熻鎿嶄綔緋葷粺浠繪剰浣跨敤銆傝繖鏍鳳紝INT 13H涔熷氨涓嶈兘澶熺洿鎺ユ妸紓佺洏鏁版嵁杞瓨鍒版樉瀛橀噷闈€傚鏋滈渶瑕佹妸瀹冪殑鏁版嵁鏄劇ず鍒板睆騫曚笂闈紝鍙互閫氳繃涓嬮潰鐨勬柟寮忥細

紓佺洏-->鍙敤鍐呭瓨-->鏄懼瓨

搴旇鏄繖鏍峰惂錛岀幇鍦ㄦ垜浠呬粎鏄劅鎬х悊瑙o紝闇瑕佸皢鏉ョ湅涓浜涙繁鍏ョ殑涔︾睄鏉ヤ簡瑙c?/font>



灝忕埥 2007-01-17 13:38 鍙戣〃璇勮
]]>
浠婂ぉ鎶夿oot紼嬪簭DEBUG瀹屾垚浜?/title><link>http://www.tkk7.com/wilsonny/archive/2007/01/16/94273.html</link><dc:creator>灝忕埥</dc:creator><author>灝忕埥</author><pubDate>Tue, 16 Jan 2007 10:40:00 GMT</pubDate><guid>http://www.tkk7.com/wilsonny/archive/2007/01/16/94273.html</guid><wfw:comment>http://www.tkk7.com/wilsonny/comments/94273.html</wfw:comment><comments>http://www.tkk7.com/wilsonny/archive/2007/01/16/94273.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.tkk7.com/wilsonny/comments/commentRss/94273.html</wfw:commentRss><trackback:ping>http://www.tkk7.com/wilsonny/services/trackbacks/94273.html</trackback:ping><description><![CDATA[ <p align="center"> <font size="2">浠婂ぉ緇堜簬鎶夿oot紼嬪簭DEBUG瀹屾垚浜嗭紝涓嬩竴姝ユ槸緙栧啓Loader榪涜杞藉叆錛屾垜鎶婃垜鐨刄nit3鏈鍚庝竴涓畬鎴愮殑紼嬪簭鍛藉悕鎴怢oader.com騫舵嫹璐濆埌紓佺洏涓婇潰錛岀粨鏋滃彂鐜拌澆鍏ヨ繍琛屾甯革紒錛侀紦鍔變竴涓嬶紝鍐嶆帴鍐嶅帀錛侊紒<br /></font> <img src="http://www.tkk7.com/images/blogjava_net/wilsonny/19081/o_bootFinal.JPG" align="center" border="0" />聽</p> <img src ="http://www.tkk7.com/wilsonny/aggbug/94273.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.tkk7.com/wilsonny/" target="_blank">灝忕埥</a> 2007-01-16 18:40 <a href="http://www.tkk7.com/wilsonny/archive/2007/01/16/94273.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item><item><title>寮濮嬬紪鍐欒澆鍏ョ▼搴?/title><link>http://www.tkk7.com/wilsonny/archive/2007/01/16/94182.html</link><dc:creator>灝忕埥</dc:creator><author>灝忕埥</author><pubDate>Tue, 16 Jan 2007 04:00:00 GMT</pubDate><guid>http://www.tkk7.com/wilsonny/archive/2007/01/16/94182.html</guid><wfw:comment>http://www.tkk7.com/wilsonny/comments/94182.html</wfw:comment><comments>http://www.tkk7.com/wilsonny/archive/2007/01/16/94182.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.tkk7.com/wilsonny/comments/commentRss/94182.html</wfw:commentRss><trackback:ping>http://www.tkk7.com/wilsonny/services/trackbacks/94182.html</trackback:ping><description><![CDATA[ <font size="2">浠婂ぉ寮濮嬬紪鍐欒澆鍏ョ▼搴廘oader浜嗭紝Loader搴旇璐熻矗杞藉叆鍐呮牳鍜岃煩鍏ヤ繚鎶ゆā寮忥紝鐒跺悗鎶婃帶鍒舵潈浜ょ粰鍐呮牳銆傚唴鏍鎬及璁¤榪囦竴孌墊椂闂存墠鑳界紪鍐欑殑錛屽厛緙栧啓Loader鍚с?br /><br />鎼炰笉鎳備負浠涔堥偅鏈功瑕佹妸鍐呮牳緙栬瘧鎴恊lf鏍煎紡鐨?....鏈夌┖寰楃湅鐪媑cc浜?/font> <img src ="http://www.tkk7.com/wilsonny/aggbug/94182.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.tkk7.com/wilsonny/" target="_blank">灝忕埥</a> 2007-01-16 12:00 <a href="http://www.tkk7.com/wilsonny/archive/2007/01/16/94182.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item><item><title>瀵逛簬int 0x13涓嶈兘杞藉叆鍒版樉瀛樼殑紜紼嬪簭http://www.tkk7.com/wilsonny/archive/2007/01/12/93354.html灝忕埥灝忕埥Fri, 12 Jan 2007 02:56:00 GMThttp://www.tkk7.com/wilsonny/archive/2007/01/12/93354.htmlhttp://www.tkk7.com/wilsonny/comments/93354.htmlhttp://www.tkk7.com/wilsonny/archive/2007/01/12/93354.html#Feedback0http://www.tkk7.com/wilsonny/comments/commentRss/93354.htmlhttp://www.tkk7.com/wilsonny/services/trackbacks/93354.htmlorg 0x7c00

mov ah,0
mov dl,0
int 0x13

mov ax,0x7f0
mov es,ax
mov ah,2
mov ch,0
mov dh,0
mov al,1
mov cl,2
mov dl,0
mov ebx,0
int 0x13

mov ax,0xb800
mov gs,ax
jmp 0x7f00

times 510-($-$$) db 0
dw 0xaa55

again:
.1:
inc byte [gs:8]
jmp .1

times 1024-($-$$) db 0

榪欎釜紼嬪簭鐨勬墽琛屾垚鍔熻鏄庢湁涓孌電殑鍐呭瓨鍦板潃鏄笉鑳藉琚玦nt 0x13璁塊棶鐨勩備絾鏄叿浣撴槸涓轟粈涔堥渶瑕佽繘涓姝ユ濊冦?/p>

灝忕埥 2007-01-12 10:56 鍙戣〃璇勮
]]>
緙栧啓杞藉叆紼嬪簭璇葷鐩樺嚭鐜扮殑闂http://www.tkk7.com/wilsonny/archive/2007/01/12/93342.html灝忕埥灝忕埥Fri, 12 Jan 2007 02:08:00 GMThttp://www.tkk7.com/wilsonny/archive/2007/01/12/93342.htmlhttp://www.tkk7.com/wilsonny/comments/93342.htmlhttp://www.tkk7.com/wilsonny/archive/2007/01/12/93342.html#Feedback0http://www.tkk7.com/wilsonny/comments/commentRss/93342.htmlhttp://www.tkk7.com/wilsonny/services/trackbacks/93342.html
mov ah,0
mov dl,0
int 0x13

mov ax,0x7d00; original: mov ax,0xb800
mov es,ax
mov ah,2
mov ch,0
mov dh,0
mov al,1
mov cl,1
mov dl,0
mov ebx,0
int 0x13

mov ah,0x4c
int 0x21

榪欎箞鐭煭鐨勭▼搴?鍦ㄥ師鍏堟妸紓佺洏絎竴鎵囧尯鐨勬暟鎹澆鍏ュ埌B800錛?000浠庡睆騫曟樉紺哄嚭鏉ュ嵈鎵ц瀹屾垚鍚嶣800錛?000鍗存病鏈夋暟鎹紝鑰屽鏋滀慨鏀逛簡鍦板潃涓?d00鍗村彲浠ワ紝榪欐槸涓轟粈涔堝憿錛?/font>



灝忕埥 2007-01-12 10:08 鍙戣〃璇勮
]]>
浣跨敤GCC鍜孨ASM鍦↙inux涓嬭仈鍚堢紪璇?/title><link>http://www.tkk7.com/wilsonny/archive/2007/01/10/93011.html</link><dc:creator>灝忕埥</dc:creator><author>灝忕埥</author><pubDate>Wed, 10 Jan 2007 14:06:00 GMT</pubDate><guid>http://www.tkk7.com/wilsonny/archive/2007/01/10/93011.html</guid><wfw:comment>http://www.tkk7.com/wilsonny/comments/93011.html</wfw:comment><comments>http://www.tkk7.com/wilsonny/archive/2007/01/10/93011.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.tkk7.com/wilsonny/comments/commentRss/93011.html</wfw:commentRss><trackback:ping>http://www.tkk7.com/wilsonny/services/trackbacks/93011.html</trackback:ping><description><![CDATA[ <p> <font size="2">浠婂ぉ浣跨敤nasm鍜実cc涓璧風(fēng)紪璇戜簡涓涓▼搴?br />鍏堜嬌鐢╪asm緙栬瘧涓涓猘sm鏂囦歡涓篹lf鏍煎紡錛屾眹緙栨枃浠墮噷闈㈡湁鍏ㄥ眬global鐨刜start鍜宖unctionC錛屽皢鏉ヨ繛鎺ョ殑鏃跺欑敤銆傚叾涓繕鏈塭xtern鐢ㄦ潵琛ㄧず澶栭儴C璇█涓殑鍑芥暟銆?br /><br />鎴戠殑紼嬪簭鐨勮皟鐢ㄧ粨鏋勶細 _start(ASM)->funB(C)->funC(ASM)<br />鍏朵腑 ASM鏂囦歡涓細extern funB銆乬lobal _start銆乬lobal funC<br />C鏂囦歡涓0鏄庯細void funC();<br /><br />鍑芥暟鍙傛暟鐨勪紶閫掞細浣跨敤push鏉ヤ紶閫?strong>鍦板潃</strong>錛岃屼笉鏄暟鍊箋傛渶鍚庡弬鏁扮殑娓呯悊闇瑕乧aller鏉ヨ嚜宸辮В鍐熾?/font> </p> <p> <font size="2">闇瑕佺殑鍛戒護琛岋細</font> </p> <p> <font size="2">nasm -f elf -o <em>dest</em>.o聽<em>src</em>.asm </font> </p> <p> <font size="2">gcc -c -o <em>dest2</em>.o <em>src2</em>.c聽聽聽聽聽聽聽聽聽聽 (-c 鐨勬剰鎬濇槸浠呬粎compile)</font> </p> <p> <font size="2">ld -s -o <em>final</em>.o <em>dest</em>.o <em>dest1</em>.o</font> </p> <img src ="http://www.tkk7.com/wilsonny/aggbug/93011.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.tkk7.com/wilsonny/" target="_blank">灝忕埥</a> 2007-01-10 22:06 <a href="http://www.tkk7.com/wilsonny/archive/2007/01/10/93011.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item><item><title>鍏充簬BIOS涓柇璁塊棶紓佺洏http://www.tkk7.com/wilsonny/archive/2007/01/10/92927.html灝忕埥灝忕埥Wed, 10 Jan 2007 07:33:00 GMThttp://www.tkk7.com/wilsonny/archive/2007/01/10/92927.htmlhttp://www.tkk7.com/wilsonny/comments/92927.htmlhttp://www.tkk7.com/wilsonny/archive/2007/01/10/92927.html#Feedback0http://www.tkk7.com/wilsonny/comments/commentRss/92927.htmlhttp://www.tkk7.com/wilsonny/services/trackbacks/92927.html 鍥犱負紓佺洏鐨勫墠512瀛楄妭璐熻矗鍚姩鏈哄櫒錛岃?12瀛楄妭濡傛灉鎯沖畬鎴愬叧浜庝繚鎶ゆā寮忥紝杞藉叆涓柇鍚戦噺錛岀鐩樿鍐欑瓑鍔熻兘鍑犱箮涓嶅彲鑳姐傛墍浠ュ墠512瀛楄妭鍑犱箮閮界敤鏉ヨ澆鍏ョ鐩樹笂鐗瑰畾鐨勪竴涓▼搴忔潵榪涜涓嬩竴姝ョ殑宸ヤ綔銆傝岃澆鍏ョ殑宸ヤ綔甯稿父鏄埄鐢ㄤ腑鏂?x13鏉ヨ繘琛岀殑銆傝岀敱浜庝腑鏂殑闄愬埗錛屾墍浠inux涓嶈兘寮曞1024鎵囧尯浠ュ悗鐨勫唴瀹廣備笉榪囧綋緋葷粺寮曞璧鋒潵浠ュ悗錛屽洜涓洪噸鏂拌澆鍏ヤ簡涓柇鍚戦噺錛屾墍浠ュ師鏉ョ殑int灝變笉鑳藉浣跨敤浜嗐傝屽湪閭f椂鍊欙紝鎿嶄綔緋葷粺灝變嬌鐢ㄧ鍙f潵璇誨啓紓佺洏浜嗭紝灝變笉闇瑕佸啀浣跨敤鍘熸潵鐨凚IOS涓柇浜嗐?/font>



灝忕埥 2007-01-10 15:33 鍙戣〃璇勮
]]>
鎯沖啓涓嚜宸辯殑鎿嶄綔緋葷粺http://www.tkk7.com/wilsonny/archive/2007/01/09/92788.html灝忕埥灝忕埥Tue, 09 Jan 2007 15:58:00 GMThttp://www.tkk7.com/wilsonny/archive/2007/01/09/92788.htmlhttp://www.tkk7.com/wilsonny/comments/92788.htmlhttp://www.tkk7.com/wilsonny/archive/2007/01/09/92788.html#Feedback1http://www.tkk7.com/wilsonny/comments/commentRss/92788.htmlhttp://www.tkk7.com/wilsonny/services/trackbacks/92788.html鐩墠鐮旂┒鎿嶄綔緋葷粺錛屾暣澶╀嬌鐢ㄦ眹緙栬璦錛屽緢鎯沖啓涓嚜宸辯殑鎿嶄綔緋葷粺銆備笉瑕佹眰瀹炵敤鎬э紝鍙眰瀹炵幇鑷繁澶氬勾鐨勬ⅵ鎯熾?/font>

灝忕埥 2007-01-09 23:58 鍙戣〃璇勮
]]>
鐢ㄦ潵鐞嗚В鏄劇ず欏墊蹇電殑姹囩紪紼嬪簭(NASM)http://www.tkk7.com/wilsonny/archive/2005/04/28/3896.html灝忕埥灝忕埥Thu, 28 Apr 2005 14:24:00 GMThttp://www.tkk7.com/wilsonny/archive/2005/04/28/3896.htmlhttp://www.tkk7.com/wilsonny/comments/3896.htmlhttp://www.tkk7.com/wilsonny/archive/2005/04/28/3896.html#Feedback0http://www.tkk7.com/wilsonny/comments/commentRss/3896.htmlhttp://www.tkk7.com/wilsonny/services/trackbacks/3896.html;寰堝涔﹂兘鍦ㄨ鏄劇ず欏碉紝灝辨槸娌℃湁浜鴻鍒板簳鏄劇ず欏電殑姒傚康鍏蜂綋鏄粈涔堢殑銆?BR>;80x86瀛楃鏄劇ず欏墊湁8涓傛湁瀵瑰簲鐨凚IOS涓柇鏉ュ垏鎹㈤〉鐨勶紝欏典笌欏典箣闂存病鏈夌洿鎺ュ叧緋葷殑銆?BR>;褰撶▼搴忓湪澶氫釜欏典腑鍐欑▼搴忔椂錛屽彲浠ュ強鏃跺湴鍦ㄥ悇涓〉涓垏鎹€傚悜灞忓箷鍐欏瓧絎﹀茍涓旀兂瑕佺珛鍒葷湅鍒幫紝涓瀹氳鍐欏埌褰撳墠鏄劇ず鐨勯〉涓?BR>;闃呰涓嬮潰鐨勭▼搴忛渶瑕佹湁寮曞紼嬪簭鐨勭煡璇?BR>
;涓嬮潰鐨勭▼搴忓姛鑳芥槸鍦?涓〉涓啓鍏ヤ笉鍚岀殑瀛楃錛屾渶鍚庡湪鍚勪釜欏典腑鍒囨崲銆?BR>
;******************************************
;Copy Right Xiaoshuang Wang
;B.F.U
;2005
; 杞澆璇蜂繚鐣欐閮ㄥ垎
;******************************************

org 0x7c00

bootStart:
 xor ax,ax
 mov ds,ax
 mov ss,ax
 mov sp,0x7c00
 mov bp,sp
 
 ; Init the DRIVE
 ; Boot drive number is stored in DX(lower part)
 mov [drive],dl

again:

 mov cx,200
 againChar:
 call putString
 loop againChar

 
 mov al,[page]
 inc al
 mov [page],al
 cmp al,0x8
 jne again
 
 mov cx,0x9
 xor al,al
 mov [page],al
 check:
 mov ah,0x05
 int 0x10
 xor ah,ah
 int 0x16
 mov al,[page]
 inc al
 mov [page],al
 loop check
 
db 0xea
dw 0x0000, 0xffff

data db '012345678'

putString:
 mov si,[page]
 mov al,[data+si]
 mov ah,0x0a
 mov bl,0x07
 mov bh,[page]
 int 0x10
retn


;************************
; Here are the data part
;************************
drive db 0
page db 0

times 510-($-$$) db 0
 dw 0xaa55
 



灝忕埥 2005-04-28 22:24 鍙戣〃璇勮
]]>
BIOS涓柇鑾峰緱紓佺洏鏁版嵁鏄庝箞宸ヤ綔鐨勶紵http://www.tkk7.com/wilsonny/archive/2005/04/21/3584.html灝忕埥灝忕埥Thu, 21 Apr 2005 09:47:00 GMThttp://www.tkk7.com/wilsonny/archive/2005/04/21/3584.htmlhttp://www.tkk7.com/wilsonny/comments/3584.htmlhttp://www.tkk7.com/wilsonny/archive/2005/04/21/3584.html#Feedback1http://www.tkk7.com/wilsonny/comments/commentRss/3584.htmlhttp://www.tkk7.com/wilsonny/services/trackbacks/3584.htmlr_getInfo.GIF

鎴戠敤nasm緙栧啓浜嗕竴涓狟in鏂囦歡錛屽埄鐢╒Mware鎶婅繖涓狟in鏂囦歡浣滀負涓涓蔣鐩橀暅鍍忥紝瀹為檯涓婏紝榪欎釜鈥滆蔣鐩樷濆彧鏈?12瀛楄妭銆傜粨鏋滄垜鍒╃敤BIOS涓柇寰楀埌鐨勮繖涓滆蔣鐩樷濈殑鏁版嵁鍗存槸......錛堝涓婂浘錛夈傜畻涓嬫潵錛屽ぇ姒傛湁1.44M鐨勭┖闂達紝鍙疄闄呬笂鍙湁512瀛楄妭鍟娿侭IOS涓柇鑾峰緱紓佺洏鏁版嵁絀剁珶鏄庝箞宸ヤ綔鐨勫憿錛熸殏鏃朵竴涓皽......


灝忕埥 2005-04-21 17:47 鍙戣〃璇勮
]]>
INT 0x10錛屽姛鑳藉彿0x0E錛堟樉紺轟竴涓瓧絎︼級http://www.tkk7.com/wilsonny/archive/2005/04/21/3583.html灝忕埥灝忕埥Thu, 21 Apr 2005 09:27:00 GMThttp://www.tkk7.com/wilsonny/archive/2005/04/21/3583.htmlhttp://www.tkk7.com/wilsonny/comments/3583.htmlhttp://www.tkk7.com/wilsonny/archive/2005/04/21/3583.html#Feedback0http://www.tkk7.com/wilsonny/comments/commentRss/3583.htmlhttp://www.tkk7.com/wilsonny/services/trackbacks/3583.html鍏充簬鏄劇ず涓涓瓧絎﹀埌褰撳墠灞忓箷鐨処NT 0x10錛屽姛鑳?x0E錛?BR>
              楂樺叓浣?nbsp;  浣庡叓浣?BR>              鍔熻兘      ASCII鍙?BR>      AX=  0x0E       
    
               欏靛彿        鍓嶆櫙鑹?BR>      BX=  0x00錛?nbsp;        
   錛堝悇涓〉鏈変粈涔堜笉鍚岋紵錛?/FONT>

灝忕埥 2005-04-21 17:27 鍙戣〃璇勮
]]>
主站蜘蛛池模板: 亚洲乱码卡三乱码新区| 国产精品亚洲二区在线| 国产美女在线精品免费观看| 亚洲老熟女五十路老熟女bbw| 亚洲国产精品自在拍在线播放 | 国产亚洲精久久久久久无码77777| 人妻免费一区二区三区最新| va天堂va亚洲va影视中文字幕 | 亚洲一卡2卡3卡4卡国产网站 | 亚洲人配人种jizz| 亚洲综合精品网站| 老司机在线免费视频| 一级免费黄色大片| 亚洲精品伊人久久久久| 在线亚洲精品福利网址导航| 韩国免费一级成人毛片| 中文字幕视频免费在线观看| 亚洲日本va在线观看| 亚洲爆乳精品无码一区二区三区| 午夜高清免费在线观看| 免费人成黄页在线观看日本| 亚洲AV无码国产剧情| 亚洲熟妇色自偷自拍另类| 亚洲精品无码av天堂| 亚洲第一成年免费网站| 成人电影在线免费观看| 美女被爆羞羞网站免费| 亚洲国产精品人久久电影| 亚洲色偷拍另类无码专区| 日韩在线免费播放| 波多野结衣在线免费观看| 在线观看免费无码视频| 日韩成人毛片高清视频免费看| 亚洲av乱码一区二区三区香蕉| 亚洲爆乳精品无码一区二区三区| 亚洲av日韩av欧v在线天堂| 成人最新午夜免费视频| 国产成人免费在线| 亚洲精品免费观看| 水蜜桃视频在线观看免费播放高清| 色天使亚洲综合一区二区|