|
̾¾Îdgb —
DigiBoard
¥¤¥ó¥Æ¥ê¥¸¥§¥ó¥È¥·¥ê¥¢¥ë¥«¡¼¥É¥É¥é¥¤¥Ð
½ñ¼°options "NDGBPORTS=8" device
dgb0 at isa? tty port 0x220 iomem 0xfc0000 iosiz ? flags 0x0
ÃͤÏÁ´Éô¤¿¤À¤ÎÎã¤Ç¤¹¡£
NDGBPORTS
¥ª¥×¥·¥ç¥ó¤Ï¡¢¥·¥¹¥Æ¥à¤Ë¥¤¥ó¥¹¥È¡¼¥ë¤µ¤ì¤Æ¤¤¤ë
Á´¤Æ¤Î¥«¡¼¥É¾å¤Î¥Ý¡¼¥È¿ô¤Î¹ç·×¤òÄêµÁ¤·¤Þ¤¹¡£
¿ô¤¬ÄêµÁ¤µ¤ì¤Æ¤¤¤Ê¤¤¾ì¹ç¤Ï·×»»¤Ë¤è¤Ã¤Æµá¤á¤é¤ì¤Þ¤¹:
flags ¤Î°ÕÌ£:
¥Ç¥Ð¥¤¥¹ÈÖ¹æ:
²òÀâdgb
¥É¥é¥¤¥Ð¤Ï
EIA RS-232C (CCITT V.24)
ɸ½à¤Ë½àµò¤·¡¢ÈóƱ´ü¥¤¥ó¥¿¥Õ¥§¡¼¥¹¤òÈ÷¤¨¤¿
DigiBoard PC/Xe
¥·¥ê¡¼¥º¤È
PC/Xi
¥·¥ê¡¼¥º¤Î
¥¤¥ó¥Æ¥ê¥¸¥§¥ó¥È¥·¥ê¥¢¥ë¥Þ¥ë¥Á¥Ý¡¼¥È¥«¡¼¥É¤ò¥µ¥Ý¡¼¥È¤·¤Þ¤¹¡£
³Æ¥é¥¤¥ó¤ÎÆþ½ÐÎϤϰʲ¼¤Î¥Ü¡¼¥ì¡¼¥È¤Î¤É¤ì¤«°ì¤Ä¤ËÀßÄê¤Ç¤¤Þ¤¹; 50, 75, 110, 134.5, 150, 300, 600, 1200, 1800, 2400, 4800, 9600, 19200, 38400, 57600, ¹¹¤Ë¿·¤·¤¤¥«¡¼¥É¤Î¥Ð¡¼¥¸¥ç¥ó¤Ç¤Ï 115200¡£ ¥É¥é¥¤¥Ð¤Ï³ä¤ê¹þ¤ß¤ò»È¤ï¤º¡¢``¥Ý¡¼¥ê¥ó¥°¥Ù¡¼¥¹''¤ÇÆ°¤¤Þ¤¹¡£ ¤³¤Î¤³¤È¤Ï¥É¥é¥¤¥Ð¤¬ DigiBoard ¥«¡¼¥É¤ÎÀ¸À®¤¹¤ë³ä¤ê¹þ¤ß¤Ç¤Ê¤¯¡¢ ¥¯¥í¥Ã¥¯³ä¤ê¹þ¤ß¤ò»ÈÍѤ¹¤ë¤³¤È¤ò°ÕÌ£¤·¤Æ¤ª¤ê¡¢ ¥«¡¼¥É¤Î¾õÂÖ¤ò 1 É䢤¿¤ê 25 ²ó¥Á¥§¥Ã¥¯¤·¤Þ¤¹¡£ ¤³¤ÎÊýË¡¤Ï¼ÂÍÑŪ¤Ç¤¹¡£¤Ê¤¼¤Ê¤é¡¢ DigiBoard ¥«¡¼¥É¤ÏÂ礤ÊÆþ½ÐÎϥХåե¡ (¥Ý¡¼¥È¤¢¤¿¤ê 1 KByte °Ê¾å) ¤È¡¢ Ãí°Õ¤ÎɬÍפʥݡ¼¥È¤ò¸úΨÎɤ¯¸«¤Ä¤±¤é¤ì¤ë¥Ï¡¼¥É¥¦¥§¥¢¤ò »ý¤Ã¤Æ¤¤¤ë¤«¤é¤Ç¤¹¡£ ¤³¤Î¥Ý¥ê¥·¤òÍѤ¤¤ë¤³¤È¤Ç¤ß¤é¤ì¤ëÌäÂêÅÀ¤Ï¡¢SLIP ¤ä PPP ¤Î¥ì¥¹¥Ý¥ó¥¹¤¬ ÃÙ¤¯¤Ê¤ë¤È¤¤¤¦¤³¤È¤À¤±¤Ç¤¹¡£ ¥«¡¼¥Í¥ëÀßÄê¥Õ¥¡¥¤¥ë¤Î³Æ¹Ô¤Ë¤Ï sio(4) ¥É¥é¥¤¥Ð¤Î¤è¤¦¤Ë¥Ý¡¼¥È¤òµ½Ò¤¹¤ë¤Î¤Ç¤Ï¤Ê¤¯¡¢¥«¡¼¥É¤òµ½Ò¤·¤Þ¤¹¡£ flags ¥¡¼¥ï¡¼¥É¤ò¥«¡¼¥Í¥ëÀßÄê¥Õ¥¡¥¤¥ë¤Î³Æ device dgb ¹Ô¤ÇÍѤ¤¤ë¤È¡¢¥¤¥ó¥¿¥Õ¥§¡¼¥¹¤Î·ëÀþ¤òÊѹ¹¤·¤¿¤ê¡¢PC/Xe ¥«¡¼¥É¤Ç 8 K ¥á¥â¥ê¥¦¥£¥ó¥É¥¦¸ß´¹¥â¡¼¥É (64K ¥á¥â¥ê¥¦¥£¥ó¥É¥¦) ¤ò»ÈÍѤ·¤¿¤ê ¤Ç¤¤Þ¤¹¡£8K ¥á¥â¥ê¥¦¥£¥ó¥É¥¦¤ò»ÈÍѤ¹¤ë¤È¡¢Æþ½ÐÎϥХåե¡¤¬¾®¤µ¤¯¤Ê¤ë ¤È¤¤¤¦¤ï¤±¤Ç¤Ï¤Ê¤¤¤³¤È¤ËÃí°Õ¤·¤Æ¤¯¤À¤µ¤¤¡£¤¿¤À¡¢Á´¤Æ¤Î¥Ð¥Ã¥Õ¥¡¤¬ Ʊ¤¸¥á¥â¥ê¥¢¥É¥ì¥¹¤Ë¥Þ¥Ã¥×¤µ¤ì¡¢É¬Íפ˱þ¤¸¤ÆÀÚ¤êÂؤï¤ë¤È¤¤¤¦¤À¤±¤Î ¤³¤È¤Ç¤¹¡£ port Ãͤϥ«¡¼¥É¤Î¥¸¥ã¥ó¥Ñ¤ÇÀßÄꤵ¤ì¤¿ port ÃͤÈƱ¤¸¤Ç¤Ê¤±¤ì¤Ð¤Ê¤ê¤Þ¤»¤ó¡£ PC/Xi ¥«¡¼¥É¤Ç¤Ï iomem ÃͤˤĤ¤¤Æ¤âƱ¤¸¤³¤È¤¬¤¤¤¨¤Þ¤¹¡£¤³¤ÎÃͤϡ¢¥«¡¼¥É¤Î¥¸¥ã¥ó¥Ñ¤Ç ÀßÄꤵ¤ì¤¿¥á¥â¥ê¥¢¥É¥ì¥¹¤ÈƱ¤¸¤Ç¤Ê¤±¤ì¤Ð¤Ê¤ê¤Þ¤»¤ó¡£ PC/Xe ¥«¡¼¥É¤Ç¤Ï¥¸¥ã¥ó¥Ñ¤ò¤³¤ÎÌÜŪ¤Ç»È¤¦É¬ÍפϤ¢¤ê¤Þ¤»¤ó¡£ ¼Â¤Î¤È¤³¤í¡¢¤½¤Î¤è¤¦¤Êµ¡Ç½¤ò»ý¤Ã¤¿¥¸¥ã¥ó¥Ñ¤Ï¸ºß¤·¤Þ¤»¤ó¡£ ¥«¡¼¥Í¥ëÀßÄê¥Õ¥¡¥¤¥ë¤Î iomem ¤Ë»ÈÍѤ·¤¿¤¤¥¢¥É¥ì¥¹¤ò½ñ¤¯¤À¤±¤ÇÎɤ¤¤Î¤Ç¤¹¡£¥«¡¼¥É¤Ï¡¢¤½¤Î¥¢¥É¥ì¥¹¤ò »È¤¦¤è¤¦¤Ë¥×¥í¥°¥é¥à¤µ¤ì¤Þ¤¹¡£ ¥¤¥ó¥¹¥È¡¼¥ë¤µ¤ì¤¿ DigiBoard ¤Ï¤ß¤Ê¡¢ Ʊ¤¸¥á¥â¥ê¥¢¥É¥ì¥¹ÈÏ°Ï (¾¤Î¥«¡¼¥É¤Î¤¿¤á¤Î¥á¥â¥ê¤äʪÍý¥á¥â¥ê¤ò½ü¤¯) ¤ò »ÈÍѤ·¤Þ¤¹¡£ÂçÍÆÎÌ¥á¥â¥ê (256K ¤ä 512K ¤Þ¤¿¤ª¤½¤é¤¯ 128K ¤Ç¤â) ¤ò »ý¤Ã¤¿ DigiBoard ¤ÏºÇ½é¤Î 1 ¥á¥¬¥Ð¥¤¥È°Ê³°¤Î¥á¥â¥ê¥¢¥É¥ì¥¹¤Ë¥Þ¥Ã¥× ¤µ¤ì¤Ê¤±¤ì¤Ð¤Ê¤ê¤Þ¤»¤ó¡£ ¥³¥ó¥Ô¥å¡¼¥¿¤¬ 15 ¥á¥¬¥Ð¥¤¥È°Ê¾å¤Î¥á¥â¥ê¤ò»ý¤Ã¤Æ¤¤¤¿¾ì¹ç¡¢ ºÇ½é¤Î 1 ¥á¥¬¥Ð¥¤¥È¤Î¥¢¥É¥ì¥¹¶õ´Ö°Ê³°¤Ë¤Ï¡¢DigiBoard ¤ò¥Þ¥Ã¥×¤Ç¤¤ë ¶õ´Ö¤Ï¸ºß¤·¤Þ¤»¤ó¡£ ¤³¤Î¾ì¹ç¥³¥ó¥Ô¥å¡¼¥¿¤ÎÁí¥á¥â¥êÎ̤ò¸º¤é¤¹É¬Íפ¬¤¢¤ë¤«¤â¤·¤ì¤Þ¤»¤ó¡£ ¤·¤«¤·Â¿¤¯¤Î¥Þ¥·¥ó¤Ç¤Ï¤è¤êÎɤ¤ÊýË¡¤òÄ󶡤·¤Æ¤¤¤Þ¤¹¡£ ¤½¤¦¤·¤¿¥Þ¥·¥ó¤Ç¤Ï¡¢BIOS ÀßÄê¤òÍѤ¤¤Æ¡¢16 ÈÖÌܤΥᥬ¥Ð¥¤¥È (¥¢¥É¥ì¥¹ 0xF00000 - 0xFFFFFF) ¤ò ``̵¸ú'' ¤Ë¤¹¤ë¤³¤È¤¬¤Ç¤¤Þ¤¹¡£ ¤³¤ÎÀßÄê¤Ë¤è¤ê¡¢DigiBoard ¤Î¥¢¥É¥ì¥¹¶õ´Ö¤ò¤³¤Î ``·ê'' ¤ËÀßÄꤹ¤ë¤³¤È¤¬ ¤Ç¤¤ë¤è¤¦¤Ë¤Ê¤ê¤Þ¤¹¡£
¤Þ¤¿ ¥í¥Ã¥¯ termios ¤Î¾õÂ֤ϡ¢¥Ç¡¼¥¿¥Ç¥Ð¥¤¥¹¤Î termios ¾õÂÖ¤ÎÊѹ¹¤ò ÉÔ²Äǽ¤Ë¤¹¤ë¥Õ¥é¥°¤È¤·¤Æ ¿¶Éñ¤¤¤Þ¤¹¡£Î㤨¤Ð CRTSCTS ¤Î¤è¤¦¤Ê¥Õ¥é¥°ÊÑ¿ô¤ò¥í¥Ã¥¯¤¹¤ë¤Ë¤Ï¡¢ ¥í¥Ã¥¯¾õÂ֥ǥХ¤¥¹¤Ç stty crtscts ¤ò¼Â¹Ô¤·¤Þ¤¹¡£ ®ÅÙ¤äÆüìʸ»ú¤ÎÀßÄê¤ò¥í¥Ã¥¯¤¹¤ë¤Ë¤Ï¡¢ ¥í¥Ã¥¯¾õÂ֥ǥХ¤¥¹¾å¤ÎÂбþ¤¹¤ëÃͤò 0 ¤Ç¤Ê¤¤ÃͤËÀßÄꤹ¤ë¤È¤è¤¤¤Ç¤¹¡£ ³°Éô¥Ç¥Ð¥¤¥¹¤òÀµ¤·¤¯·ëÀþ¤·¤ÆÀµ¤·¤¤¥×¥í¥°¥é¥à¤ÇÄÌ¿®¤·¤Æ¤¤¤ë¸Â¤ê¤Ï¡¢ ¤Û¤Ü¤É¤Î¤è¤¦¤Ê½é´ü¾õÂ֤Ǥ¢¤Ã¤Æ¤â¡¢¥í¥Ã¥¯¤Ê¤·¤ÇÆ°ºî¤·¤Þ¤¹¡£ ¤½¤¦¤Ç¤Ê¤¤¾ì¹ç¤Ï¡¢¥Ç¥Õ¥©¥ë¥È¤Î½é´ü¾õÂÖ¤òÊѹ¹¤·¡¢¤½¤Î¾õÂ֤˥í¥Ã¥¯¤ò³Ý¤±¤ë ¤³¤È¤Ç¡¢¤¦¤Þ¤¯Æ°¤¯¤è¤¦¤Ë¤Ê¤ë¤³¤È¤â¤¢¤ë¤«¤â¤·¤ì¤Þ¤»¤ó¡£ Æäˡ¢(POSIX) ɸ½à¤Ç¤Ê¤¤¥Õ¥é¥°¤Î½é´ü¾õÂ֤ϡ¢ Àܳ¤µ¤ì¤¿¥Ç¥Ð¥¤¥¹¤Ë¹ç¤¦¤è¤¦¤ËÀßÄꤹ¤Ù¤¤Ç¤¢¤ê¡¢ ¥Ð¥°¤Î¤¢¤ë¥×¥í¥°¥é¥à¤¬¤³¤ì¤é¤Î¥Õ¥é¥°¤òÊѹ¹¤·¤Ê¤¤¤è¤¦¤Ë¡¢ ¥í¥Ã¥¯¤¹¤ëɬÍפ¬¤¢¤ë¤«¤â¤·¤ì¤Þ¤»¤ó¡£ Î㤨¤Ð¡¢¾ï»þ RTS/CTS ¥Ï¥ó¥É¥·¥§¥¤¥¯¤ò¥µ¥Ý¡¼¥È¤¹¤ë¥Ç¥Ð¥¤¥¹¤Ç¤Ï¡¢CRTSCTS ¤Ï ¥ª¥ó¤Î¾õÂ֤ǥí¥Ã¥¯¤·¤Æ¤ª¤¯É¬Íפ¬¤¢¤ê¤Þ¤¹¡£¤Þ¤¿¡¢Á´¤¯¥µ¥Ý¡¼¥È¤·¤Ê¤¤¥Ç¥Ð¥¤¥¹¤Ë ÂФ·¤Æ¤Ï¡¢¥ª¥Õ¤Î¾õÂ֤ǥí¥Ã¥¯¤·¤Æ¤ª¤¯¤Ù¤¤Ç¤¹¡£ CLOCAL ¤Ï¡¢¥¥ã¥ê¥¢¤ò¥µ¥Ý¡¼¥È¤·¤Ê¤¤¥Ç¥Ð¥¤¥¹¤ËÂФ·¤Æ¤Ï¥ª¥ó¤Î¾õÂ֤ǥí¥Ã¥¯¤¹¤ë¤Ù¤¤Ç¤¹¡£ HUPCL ¤Ï¡¢²¿¤é¤«¤ÎÍýͳ¤ÇÀÚÃǤ·¤¿¤¯¤Ê¤¤¾ì¹ç¤Ë¤Ï¥ª¥Õ¤Î¾õÂ֤ǥí¥Ã¥¯¤¹¤ë¤Ù¤¤Ç¤¹¡£ °ìÈÌŪ¤Ë¡¢²¿¤«¤¬´Ö°ã¤Ã¤¿¾õÂ֤ǥí¥Ã¥¯¤¹¤ë¤È¡¢¤È¤Æ¤â°¤¤¤³¤È¤¬µ¯¤³¤ê¤Þ¤¹¡£ ¤Þ¤¿¡¢Ê£¿ô¤ÎÀßÄê¤ò¥µ¥Ý¡¼¥È¤¹¤ë¥Ç¥Ð¥¤¥¹¤ËÂФ·¤Æ¤Ï¥í¥Ã¥¯¤ò¹Ô¤Ê¤¦¤Ù¤¤Ç¤Ï¤¢¤ê¤Þ¤»¤ó¡£ Ãå¸Æ¥Ý¡¼¥È¤Ç¤Î CLOCAL ¥Õ¥é¥°¤Ï¡¢login ¤Î¤¢¤ë¼ï¤Î¥»¥¥å¥ê¥Æ¥£¥Û¡¼¥ë¤ò Èò¤±¤ë¤¿¤á¤Ë¥ª¥Õ¤Î¾õÂ֤˥í¥Ã¥¯¤·¤Æ¤ª¤¯¤Ù¤¤Ç¤¹¤¬¡¢Ãå¸Æ¥Ý¡¼¥È¤ò²¿¤«Â¾¤ÎÍÑÅÓ¤Ë »È¤¦¾ì¹ç¤Ë¤Ï¡¢¤³¤ÎÀßÄê¤ò getty ¤Ç¹Ô¤Ê¤¦¤Ù¤¤Ç¤¹¡£ ´ØÏ¢¥Õ¥¡¥¤¥ë
¤³¤ì¤é¤Î¥Ç¥Ð¥¤¥¹Ì¾¤Î 1 ¤Ä¤á¤Îµ¿ÌäÉä¤Ï¥«¡¼¥ÉÈÖ¹æ (0 ¤«¤é 65535 ¤Þ¤Ç 10 ¿Ê¿ô¡£0 ¤ª¤è¤Ó 65535 ¤ò´Þ¤ß¤Þ¤¹) ¤Îά¤Ç¤¹¡£ 2 ¤Ä¤á¤Îµ¿ÌäÉä¤Ï¥Ý¡¼¥ÈÈÖ¹æ ([0-9a-v]¤Î´Ö¤Îʸ»ú) ¤Îά¤Ç¤¹¡£ ¿ÇÃÇ¥½¡¼¥¹¥Õ¥¡¥¤¥ë dgb.c ¤ÎÀèƬ¤Ë¤¢¤ë DEBUG ¤òÄêµÁ¤¹¤ë¤³¤È¤Ë¤è¤ê¡¢ ³ÈÄ¥¤µ¤ì¤¿¿ÇÃǤòÆÀ¤ë¤³¤È¤¬¤Ç¤¤Þ¤¹¡£
´ØÏ¢¹àÌÜstty(1), termios(4), tty(4), MAKEDEV(8), comcontrol(8)Îò»Ëdgb
¥É¥é¥¤¥Ð¤Ï
sio(4)
¥É¥é¥¤¥Ð¤È
Linux ¤Î DigiBoard
¥É¥é¥¤¥Ð¤ËͳÍ褷¤Æ¤ª¤ê¡¢¸½ºß³«È¯·Ñ³Ãæ¤Ç¤¹¡£
¥Ð¥°BREAK Á÷¿®¤Î¼ÂÁõ¤Ï´°Á´¤Ç¤Ï¤¢¤ê¤Þ¤»¤ó¡£ ¤É¤Î¤è¤¦¤Ê¾ì¹ç¤Ç¤â 1/4 ÉäθÇÄêĹ¤Ç BREAK ¤òÁ÷¿®¤·¤Þ¤¹¡£select(2) ¤Î¼ÂÁõ¤Ë¥Ð¥°¤¬¤¢¤ê¤Þ¤·¤¿¡£ ¤³¤ÎÌäÂê¤Ï¸½ºß¤Ï½¤Àµ¤µ¤ì¤Æ¤¤¤Þ¤¹¤¬¡¢¤Þ¤À¹ÈϰϤʥƥ¹¥È¤Ï¤µ¤ì¤Æ¤¤¤Þ¤»¤ó¡£ ditty ¥³¥Þ¥ó¥É¤Ï¤¢¤ê¤Þ¤»¤ó¡£¤½¤Îµ¡Ç½¤Î¿¤¯ (·ëÀþ¸ò´¹¡¢ 115200 ¥Ü¡¼¤Ø¤Î®ÅÙ¸þ¾å¤Ê¤É) ¤Ï¥É¥é¥¤¥Ð¼«¿È¤Ë¼ÂÁõ¤µ¤ì¤Æ¤¤¤Þ¤¹¡£ ¤½¤ì°Ê³°¤Î¤¤¤¯¤Ä¤«¤Îµ¡Ç½¤Ï·ç¤±¤Æ¤¤¤Þ¤¹¡£
Visit the GSP FreeBSD Man Page Interface. |