΢»úÔ­ÀíÓë½Ó¿Ú¼¼ÊõʵÑ鱨¸æ ÏÂÔر¾ÎÄ

Éè¼Æ˼Ï룺ÿ¼Æʱ1Ã룬ÃèÊöʱ¼äµÄ±äÁ¿¾ÍÓ¦¼Ó1£¬²¢ÇÒÿ¼Æʱ60Ãë×Ô¶¯¹éÁã¡£Òò´Ë£¬¿ÉÀûÓÃ8254µÄ¼ÆÊýÆ÷0ÉèÖÃΪ·½Ê½2£¬ÓÃʵÑéÏäÌṩµÄÐźÅÔ´10KHZ×÷ΪCLK0ʱÖÓ£¬¼ÆÊýֵΪʮ½øÖÆ0£¨¼´×î´ó¼ÆÊýÖµ10000£©£¬ÕâÑùÿ¸ô1Ãë¾Í»áÔÚOUT0¶Ë²úÉú0µ½1µÄÔ¾±ä£¬¸ÃÐźŽÓIRQ×÷ΪÖжÏÇëÇó¡£ÔÚÖжϷþÎñ³ÌÐòÖÐÍê³É¶ÔʱÖÓµÄÐ޸ļ°ÏÔʾ¡£

ʵÑé²½ÖèÈçÏ£º £¨1£© ¸ù¾ÝÉè¼Æ˼Ï룬Éè¼ÆʵÑéÏß·ͼ£¬Íê³ÉÏß·Á¬½Ó¡£ £¨2£© »­³ö³ÌÐòÁ÷³Ìͼ¡£

£¨3£© Ö´ÐÐPCI_BIOS.EXEÎļþ£¬È·¶¨ÊµÑé×°ÖÃÖÐ8254µÄ¸÷¶Ë¿ÚµØÖ·¡£×Ô¼º±àд³ÌÐò£¬±à

Òë¡¢Á¬½Ó£¬Éú³ÉÖ´ÐÐÎļþ¡£ £¨4£© ´ò¿ªÊµÑéÏäµçÔ´£¬ÔËÐгÌÐò£¬¹Û²ìÆÁÄ»µÄÃë±íÏÔʾÊÇ·ñÕý³£¡£ 4¡¢µç×Ó·¢ÉùʵÑé

Éè¼Æ˼Ï룺ÏòÑïÉùÆ÷´«ËͲ»Í¬ÆµÂʵķ½²¨£¬¾ÍÄÜÇý¶¯Ð¡À®°È·¢³ö²»Í¬Òô·ûµÄÒôÏì¡£Òò´Ë£¬ÉèÖÃ8254µÄ¹¤×÷·½Ê½Îª·½Ê½3¡ª¡ª·½²¨ÆµÂÊ·¢ÉúÆ÷£¬¸Ä±ä8254¼ÆÊýͨµÀiµÄ¼ÆÊý³õÖµ£¬¾Í¿É¸Ä±äOUTiÊä³öÐźŵÄƵÂÊ£¬´Ó¶ø¸Ä±äÑïÉùÆ÷·¢³öµÄÒôµ÷¡£µ«Ã¿¸öÒôµ÷·¢ÉùµÄʱ¼ä³¤¶Ì¿ÉÒÔͨ¹ýÑÓʱ³ÌÐòÀ´¿ØÖÆ¡£

1£©ÓÃPC»úÄÚ²¿µÄÑïÉùÆ÷³ª¸è

ÔÚPC»úÄÚ²¿¼¯³ÉÁËÈý¸ö¼ÆÊýÆ÷£¬ËüÃǵŦÄÜ¡¢²Ù×÷ÍêÈ«Óë8254¼æÈÝ¡£Èý¸ö¼ÆÊýÆ÷µÄ¶Ë¿ÚµØÖ··Ö±ðΪ40H¡¢41H¡¢42H£¬¿ØÖƼĴæÆ÷µØַΪ43H¡£µ«Óи÷×ÔרÓù¦ÄÜ£º ? ͨµÀ0ÊÇϵͳµÄʱÖÓ½ÚÅļÆʱÆ÷¡£µ±¼ÆËã»úÀäÆô¶¯Ê±£¬ROM BIOS¶Ô¼ÆÊýÆ÷±à³ÌÒÔ²úÉú?

ԼÿÃë18.2¸ö½ÚÅĵÄÖжÏÐźţ¬¼´55msÏò8259A£¨IR0£©Ìá³öÒ»´ÎÖжÏÇëÇó¡£

ͨµÀ1רÓÃÓÚ²úÉú¶¯Ì¬RAMµÄ¶¨Ê±Ë¢ÐÂÐźš£

? ͨµÀ2ÓÃÀ´¿ØÖÆPC»úÑïÉùÆ÷µÄÉùÒôƵÂÊ¡£ ͼ13-6ÊÇPC»úÖж¨Ê±Æ÷½á¹¹¿òͼ¡£

´ÓͼÖпɼûÑïÉùÆ÷ÊÇ·ñ·¢ÉùÊܼÆÊýÆ÷2µÄÊä³ö¶ËOUT2ºÍ¶Ë¿Ú61HµÄD0¡¢D1λµÄ¹²Í¬¿ØÖÆ£¬µ±ÈýÕ߶¼Îª1ʱ£¬ÑïÉùÆ÷²Å¿É·¢Éù¡£Òò´Ë£¬³ÌÐòµÄÉè¼Æ˼·ÊÇ£º£¨1£©ÏȽ«61H¶Ë¿ÚµÄD1¡¢D0Á½Î»ÖÃ1£¬´ò¿ªÑïÉùÆ÷£»£¨2£©ÉèÖüÆÊýÆ÷2Ϊ¹¤×÷·½Ê½3£»£¨3£©Óɱí8-4¸ø³öµÄÿ¸öÒô·û¶ÔÓ¦µÄʱ¼ä³£Êý£¨¼´¼ÆÊý³õÖµ£©·Ö±ðËͼÆÊýÆ÷2£¬ÒÔÈ·¶¨Òôµ÷£¬Ê¹OUT0²úÉú²»Í¬ÆµÂʵķ½²¨£¬´Ó¶ø¸Ä±äÑïÉùÆ÷·¢ÉùµÄÒôµ÷¡££¨4£©³ÌÐòÍ˳öʱ»Ö¸´¶Ë¿Ú61HÔ­À´µÄÖµ¡£

13-6

ʵÑé²½ÖèÈçÏ£º

£¨1£© ·ÖÎö²Î¿¼³ÌÐò£¬»­³ö³ÌÐòÁ÷³Ìͼ¡£

£¨2£© ±àд³ÌÐò£¬±àÒë¡¢Á¬½Ó£¬Éú³ÉÖ´ÐÐÎļþ¡£

33

£¨3£© ´ò¿ªÊµÑéÏäµçÔ´£¬ÔËÐгÌÐò£¬ñöÌýÒôÀÖ¡£

£¨4£© ÈôÒôÀÖ½ÚÅÄ·¢Éúʱ¼ä½Ï³¤»ò½Ï¶Ì£¬¿ÉÒÔÐÞ¸ÄÑÓʱ×Ó³ÌÐòµÄ¼ÆÊýÖµ£¬µ÷Õû·¢Éùʱ¼äµ½

×î¼Ñ¡£

2£©ÓÃʵÑéϵͳÑïÉùÆ÷³ª¸è

ÓÃÐźÅÔ´1MHZ×÷ΪÑïÉùÆ÷·¢Éù»ù׼ʱÖÓ½Ó8254µÄCLK0£¬¼ÆÊýÆ÷0ÉèÖÃΪ¹¤×÷·½Ê½3£¬Óɱí8-4¸ø³öµÄÿ¸öÒô·û¶ÔÓ¦µÄʱ¼ä³£Êý£¨¼´¼ÆÊý³õÖµ£©·Ö±ðËͼÆÊýÆ÷0£¬ÒÔÈ·¶¨Òôµ÷£¬OUT0²úÉú²»Í¬ÆµÂʵķ½²¨Á¬½ÓÑïÉùÆ÷SPK¶Ë×ÓÇý¶¯ÑïÉùÆ÷²úÉúÒôÀÖ¡£ ʵÑé²½ÖèÈçÏ£º

£¨1£© ¸ù¾ÝÉè¼Æ˼Ï룬Éè¼ÆʵÑéÏß·ͼ£¬Íê³ÉÏß·Á¬½Ó¡£ £¨2£© »­³ö³ÌÐòÁ÷³Ìͼ£¬×Ô¼º±àд³ÌÐò¡£

£¨3£© Ö´ÐÐPCI_BIOS.EXEÎļþ£¬È·¶¨ÊµÑé×°ÖÃÖÐ8254µÄ¸÷¶Ë¿ÚµØÖ·¡£±à¼­³ÌÐò£¬±àÒë¡¢

Á¬½Ó£¬Éú³ÉÖ´ÐÐÎļþ¡£

£¨4£© ´ò¿ªÊµÑéÏäµçÔ´£¬ÔËÐгÌÐò£¬ñöÌýÒôÀÖ¡£

£¨5£© ÈôÒôÀÖ½ÚÅÄ·¢Éúʱ¼ä½Ï³¤»ò½Ï¶Ì£¬¿ÉÒÔÐÞ¸ÄÑÓʱ×Ó³ÌÐòµÄ¼ÆÊýÖµ£¬µ÷Õû·¢Éùʱ¼äµ½×î¼Ñ¡£

ËÄ£®ÊÕ»ñÌå»á¡£

ÔÚ×îºóÒ»´Î΢»úÔ­ÀíʵÑéÖУ¬×ܽáÁËÒÔǰʵÑéµÄ²»×ãºÍ½Ìѵ£¬ 8254¶¨Ê±¼ÆÊýÆ÷Ó¦ÓÃʵÑéÖУ¬½øÐеñȽÏ˳Àû£¬ÑéÖ¤ÁË׼ȷ½á¹û£¬ÄܱȽÏÊìÁ·µÄ²Ù×÷DOS½çÃ棬¶Ô³ÌÐòµÄ´úÂëÓÐÒ»¶¨µÄÈÏʶ¡£»úÏäµÄÁ¬½Ó¹ý³Ì£¬±È½Ï¸´ÔÓ£¬µ«×¢Òâ³öºÍÈç²¢ÐÐÏßÉϵÄÒ»Ò»¶ÔÓ¦¡£¶ÔÀíÂÛÒ²ÓмÒÁ˽ÏΪÇåÎúµÄÈÏʶ¡£

34