³ÌÐòΪ½¨Á¢ÕâÒ»ÖжÏÏòÁ¿±í¶ø±àÖƵijÌÐò¶Î¡£
5-16 ¼òÊö8086ÖжÏϵͳÏìÓ¦¿ÉÆÁ±ÎÖжϵÄÈ«¹ý³Ì¡£
5-17 8259AµÄ³õʼ»¯ÃüÁî×ÖÓÐÄÄЩ?ËüÃǸ÷×ÔÓÐʲôº¬Òå?Äļ¸¸öӦдÈëÆæµØÖ·?Äļ¸¸öӦд ÈëżµØÖ·?
5-18 Èç¹û³õʼ»¯Ê±ÉèÖÃΪ·Ç×Ô¶¯ÖжϽáÊø·½Ê½£¬ÄÇôÔÚÖжϷþÎñ³ÌÐò½«½áÊøʱ±ØÐëÉèÖÃʲô²Ù×÷ÃüÁî?Èç¹û²»ÉèÖÃÕâÖÖÃüÁî»á·¢ÉúʲôÏÖÏó?
5-19 ÔÚÄÄЩÇé¿öÏÂÐëÓÃCLIÖ¸Áî¹ØÖжÏ?ÔÚÄÄЩÇé¿öÏÂÐëÓÃSTIÖ¸ÁÖжÏ?
5-20 8259AµÄ³õʼ»¯ÃüÁî×ֺͲÙ×÷ÃüÁî×ÖÓÐʲô²î±ð?ËüÃÇ·Ö±ð¶ÔÓ¦ÓÚ±à³Ì½á¹¹ÖÐÄÄЩÄÚ²¿¼Ä´æÆ÷?
5-21 8259AµÄÖжÏÆÁ±Î¼Ä´æÆ÷IMRºÍ8086/8088µÄÖжÏÔÊÐí±êÖ¾IFÓÐʲô²î±ð?
5-22 8259AµÄÓÅÏȼ¶×Ô¶¯Ñ»··½Ê½ºÍÓÅÏȼ¶ÌØÊâÑ»··½Ê½ÓÐʲô²î±ð? 5-23 8259AµÄÌØÊâÆÁ±Î·½Ê½ºÍÆÕͨÆÁ±Î·½Ê½Ïà±È£¬ÓÐʲô²»Í¬Ö®´¦?ÌØÊâÆÁ±Î·½Ê½Ò»°ãÓÃÔÚʲô³¡ºÏ?
5-24 8259AÖÐÓм¸ÖÖ½áÊøÖжϴ¦ÀíµÄ·½Ê½?¸÷×ÔÓ¦ÓÃÔÚʲô³¡ºÏ?
5-25 8259AµÄICW2ÉèÖÃÁËÖжÏÀàÐÍÂëµÄÄļ¸Î»?˵Ã÷¶Ô8259A·Ö±ðÉèÖÃICW2Ϊ30H£¬38H£¬36HÓÐʲô²î±ð?
5-26 8259Aͨ¹ýICW4¿ÉÒÔ¸ø³öÄÄЩÖØÒªÐÅÏ¢?ÔÚʲôÇé¿öϲ»ÐèÒªÓÃICW4?ʲôÇé¿öÏÂÒªÉèICW3?
5-27 ÔõÑùÓÃ8259AµÄÆÁ±ÎÃüÁî×ÖÀ´½ûÖ¹IR3ºÍIR5Òý½ÅÉϵÄÇëÇó?ÓÖÔõÑù³·ÏúÕâÒ»½ûÖ¹Ãü
Áî?Éè8259AµÄ¶Ë¿ÚµØַΪ93H£¬94H¡£
5-28 ˵Ã÷ÌØÊâÆÁ±Î·½Ê½µÄʹÓ÷½·¨¡£ÎªÊ²Ã´ÒªÓá°»ò¡±µÄ·½·¨À´ÉèÖÃÆÁ±Î×Ö?
5-29 Éè8259A¹¤×÷ÓÚÓÅÏȼ¶Ñ»··½Ê½£¬µ±Ç°×î¸ßÓÅÏȼ¶ÎªIR4¡£ÏÖÔÚÈôÒªÓÅÏȼ¶×îµÍµÄΪIR1£¬ÔòÓ¦¸ÃÔÙÉèÖÃÄĸö²Ù×÷ÃüÁî×Ö?¾ßÌåµÄֵΪ¶àÉÙ?
5-30 ÔÚ8088¹¹³ÉµÄ×îСģʽϵͳÖУ¬ÓÐһƬ8259A¹¹³ÉÖжϿØÖÆϵͳ¡£ÈôÆä
¶Ë¿ÚµØַΪ180H£¬181H£¬Ö´ÐÐÏÂÁгÌÐò¶Î£º MOV DX£¬180H £»³õʼ»¯ MOV AL£¬00011011B OUT DX£¬AL MOV DX£¬181H
MOV AL£¬10001000B OUT DX£¬AL
MOV AL£¬00001101B OUT DX£¬AL
MOV AL£¬11000010B £»OCW OUT DX£¬AL
1
ÇëÎÊ£º(1)ÖжϽáÊø·½Ê½ÎªÄÄÖÖ·½Ê½?(2)ÖжÏÔ´IR2µÄÖжÏÀàÐͺÅΪ¶àÉÙ?
(3)µ±IR1ºÍIR2ÓÐÖжÏÇëÇ󣬲¢ÇÒIF=1ʱ£¬ÄÜ·ñÒýÆðÖжÏ?
5-31 ij8086ϵͳÖУ¬²ÉÓÃһƬ8259A½øÐÐÖжϹÜÀí¡£É趨8259A¹¤×÷ÔÚȫǶÌ×·½Ê½£¬·¢ËÍEOIÃüÁî½áÊøÖжϣ¬²ÉÓñßÑØ´¥·¢·½Ê½ÇëÇóÖжϣ¬IR
0¶ÔÓ¦µÄ
ÖжÏÏòÁ¿ºÅΪ90H¡£ÁíÍ⣬8259AÔÚϵͳÖеĶ˿ڵØַΪFDDCHºÍFDDEH£¬ÊÔ±àд8259AµÄ³õʼ»¯³ÌÐò¶Î¡£
5-32 ijʱ¿Ì8259AµÄIRRÄÚÈÝΪ08H£¬ËµÃ÷ʲôÎÊÌâ?ijʱ¿Ì8259AµÄISRÄÚÈÝÊÇ08H£¬ËµÃ÷ʲôÎÊÌâ?ijʱ¿ÌIMRÄÚÈÝÊÇ08H£¬ËµÃ÷ʲôÎÊÌâ?ÔÚÁ½Æ¬8259A¼¶ÁªµÄÖжÏϵͳÖУ¬Ö÷ƬµÄIR3Òý½Å×÷Ϊ´ÓƬµÄÖжÏÇëÇóÊäÈ룬Ôò³õʼ»¯Ö÷¡¢´ÓƬʱ£¬ICW3µÄ¿ØÖÆ×Ö·Ö±ðÊÇʲô?
µÚÁùÕ ¿É±à³Ì½Ó¿ÚоƬ
6-1 ½Ó¿ÚµÄÖ÷Òª¹¦ÄÜÓÐÄļ¸ÖÖ?
6-2 Ϊʲô½Ó¿ÚÐèÒªÓеØÖ·ÒëÂëµÄ¹¦ÄÜ?
6-3 ¿É±à³ÌÐò¶¨Ê±/¼ÆÊýÆ÷8253Ñ¡Óöþ½øÖÆÓëÊ®½øÖƼÆÊýµÄÇø±ðÊÇʲô?ÿÖÖ¼ÆÊý·½Ê½µÄ×î´ó¼ÆÊýÖµ·Ö±ðΪ¶àÉÙ?
6-4 ¿É±à³Ì¶¨Ê±/¼ÆÊýÆ÷8253µÄ·½Ê½2Ó뷽ʽ3ÓÐʲôÇø±ð?
6-5 ²¢ÐÐÊäÈë/Êä³ö½Ó¿ÚоƬ8255A¹¤×÷ÓÚ·½Ê½1£¬CPUÈçºÎÒÔÖжϷ½Ê½½«ÊäÈëÉ豸µÄÊý¾Ý¶ÁÈë?
6-6 µ±8255AµÄPC7¡«PC4È«²¿×÷ΪÊä³öÏßʱ£¬±íÃ÷8255AµÄA¶Ë¿Ú¹¤×÷ÔÚÄÄÒ»ÖÖ¹¤×÷·½Ê½?
6-7 ¼òÊö8253¹¤×÷ÔÚ·½Ê½3ʱÊÇÈçºÎ²úÉúÊä³ö²¨ÐεÄ?
6-8¼Ù¶¨ÓÐһƬ8253½ÓÔÚϵͳÖУ¬Æä¶Ë¿ÚµØÖ··ÖÅäÈçÏ£º0#¼ÆÊýÆ÷£º220H1#¼ÆÊýÆ÷£º221H2#¼ÆÊýÆ÷£º222H¿ØÖÆ¿Ú£º223H
(1)ÀûÓÃ0#¼ÆÊýÆ÷¸ß8λ¼ÆÊý£¬¼ÆÊýֵΪ256£¬¶þ½øÖÆ·½Ê½£¬Ñ¡Ó÷½Ê½3¹¤×÷£¬ÊÔ±à³Ì³õʼ»¯¡£
(2)ÀûÓÃ2#¼ÆÊýÆ÷¸ß¡¢µÍ8λ¼ÆÊý£¬¼ÆÊýֵΪ1?000£¬BCD¼ÆÊý£¬Ñ¡Ó÷½Ê½2¹¤×÷£¬ÊÔ±à³Ì³õʼ»¯¡£
6-9É趨ʱ/¼ÆÊýÆ÷8253ÔÚ΢»úϵͳÖеĶ˿ڵØÖ··ÖÅäÈçÏ£º0#¼ÆÊýÆ÷£º340H1#¼ÆÊýÆ÷£º341H2#¼ÆÊýÆ÷£º342H¿ØÖÆ¿Ú£º343H
ÉèÒÑÓÐÐźÅԴƵÂÊΪ1 MHz£¬ÏÖÒªÇóÓÃһƬ8253¶¨Ê±1 s£¬Éè¼Æ³öÓ²¼þÁ¬½Óͼ²¢±à³Ì³õʼ»¯¡£
6-10 Éè8255AÔÚ΢»úϵͳÖУ¬A¿Ú¡¢B¿Ú¡¢C¿ÚÒÔ¼°¿ØÖƿڵĵØÖ··Ö±ðΪ260H¡¢261H¡¢262HÒÔ¼°263H¡£
(1)A×éÓëB×é¾ùÉèΪ·½Ê½0£¬A¿Ú¡¢B¿Ú¾ùΪÊäÈ룬C¿ÚΪÊä³ö£¬ÊÔ±à³Ì³õʼ»¯¡£
(2)ÔÚÉÏÊöÇé¿öÏ£¬Éè²éѯÐźŴÓB¿ÚÊäÈ룬ÈçºÎʵÏÖ²éѯʽÊäÈë(ÊäÈëÐźÅÓÉA¿ÚÊäÈë)Óë²éѯʽÊä³ö(Êä³öÐźÅÓÉC¿ÚÊä³ö)¡£
6-11 ʲô½Ðͬ²½Í¨ÐÅ·½Ê½?ʲô½ÐÒ첽ͨÐÅ·½Ê½?ËüÃǸ÷ÓÐʲôÓÅȱµã?
6-12 ʲô½Ð²¨ÌØÂÊÒò×Ó?ʲô½Ð²¨ÌØÂÊ?É貨ÌØÂÊÒò×ÓΪ64£¬²¨ÌØÂÊΪ1?200²¨ÌØ/Ã룬ÄÇ Ã´Ê±ÖÓƵÂÊÊǶàÉÙ?
6-13 ÉèÒì²½´«Êäʱ£¬Ã¿¸ö×Ö·û¶ÔÓ¦1¸öÆðʼλ¡¢7¸öÐÅϢλ¡¢1¸öÆæżУÑéλºÍ1¸öֹͣ룬Èç¹û²¨ÌØÂÊΪ9?600²¨ÌØ/Ã룬ÔòÿÃëÖÓÄÜ´«ÊäµÄ×î´ó×Ö·ûÊýÊǶàÉÙ?
6-14 ´Ó8251AµÄ±à³Ì½á¹¹ÖУ¬¿ÉÒÔ¿´µ½8251AÓм¸¸ö¼Ä´æÆ÷ºÍÍⲿµç·ÓйØ?Ò»¹²Òª¼¸¸ö¶Ë¿ÚµØÖ·?Ϊʲô?
6-15 8086ϵͳÖвÉȡʲô´ëÊ©À´ÊµÏÖ8λ½Ó¿ÚоƬºÍµÍ8λÊý¾ÝÏßµÄÁ¬½ÓÇÒÂú×ã¶ÔÆæ/ż¶Ë
¿ÚµØÖ·µÄ¶Á/д?ÕâÑù×öµÄµÀÀíÊÇʲô?
6-16 ¶Ô8251A½øÐбà³Ìʱ£¬±ØÐë×ñÊØÄÄЩԼ¶¨?
6-17 Éè¼ÆÒ»¸ö²ÉÓÃÒ첽ͨÐÅ·½Ê½Êä³ö×Ö·ûµÄ³ÌÐò¶Î£¬¹æ¶¨²¨ÌØÂÊÒò×ÓΪ64£¬7¸öÊý¾Ý룬1
¸öֹͣ룬ÓÃżУÑ飬¶Ë¿ÚµØַΪ40H£¬42H£¬»º³åÇøÊ×µØַΪ2000H¡Ã3000H¡£
6-18 D/A±ä»»Æ÷ÓÐÄÄЩ¼¼ÊõÖ¸±ê?ÓÐÄÄЩÒòËضÔÕâЩ¼¼ÊõÖ¸±ê²úÉúÓ°Ïì?
6-19 ij8λD/A±ä»»Æ÷оƬ£¬ÆäÊä³öΪ0 Vµ½+5 V¡£µ±CPU·Ö±ðËͳö80H¡¢40H¡¢10Hʱ£¬Æä¶ÔÓ¦µÄÊä³öµçѹ¸÷Ϊ¶àÉÙ?
6-20 Ó°ÏìD/A±ä»»Æ÷¾«¶ÈµÄÒòËØÓÐÄÄЩ?Æä×ÜÎó²îÓ¦ÈçºÎÇó?
6-21 ÏÖÓÐÁ½¿éDAC0832оƬ£¬ÒªÇóÁ¬½Óµ½IBM PC/XTµÄ×ÜÏßÉÏ£¬ÆäD/AÊä³öµçѹ¾ùÒªÇóΪ0¡«5 V£¬ÇÒÁ½Â·Êä³öÔÚCPU¸üÐÂÊä³öʱӦʹÊä³öµç·ͬʱ·¢Éú±ä»¯£¬ÊÔÉè¼Æ¸Ã½Ó¿Úµç·¡£½Ó¿ÚоƬ¼°µØÖ·×Ô¶¨¡£