- 1 ̾Á°¡§ N88½é¿´¼Ô Åê¹ÆÆü¡§2006/03/30(ÌÚ) 17:52 ID:PePPZBrg
- GPIB¡¡Interface¼Òpci4301
PG¡¡N88Basic¢ªVB6.0 OS¡¡Win2000 ¤Ï¤¸¤á¤Þ¤·¤Æ¡£ ¸½ºßN88Basic¤ÇGPIB¤òÀ©¸æ¤·¤Æ¤¤¤¿¤â¤Î¤òVB6.0¤ÇÀ©¸æ¤·¤è¤¦¤È¤·¤Æ¤¤¤Þ¤¹¡£ N88¤ÎRBYTE¤ËÂбþ¤¹¤ëVB¤Î¥³¡¼¥É¤¬¤ï¤«¤ê¤Þ¤»¤ó¡£
N88¥½¡¼¥¹ RBYTE &H3F,&H20,&H42;M,L ¡¡¡¡¡¡¡¡¡¡¢¢¡¢£¡¨¤¡¢¥ ¤È¤¤¤¦·Á¤Ë¤Ê¤Ã¤Æ¤¤¤Þ¤¹¤¬¡¢¤É¤Î¤è¤¦¤Ê°ÕÌ£¤Ê¤Î¤Ç¤·¤ç¤¦¤«¡£ ¥Ð¥¤¥Ê¥ê¥Ç¡¼¥¿¤òÆɤà¤È¤¤¤¦²òÀâ¤Ï¸«¤Ä¤±¤¿¤Î¤Ç¤¹¤¬¡£¡£ Âбþ¤·¤½¤¦¤ÊDLL´Ø¿ô ¡ÖPciGpibExMastRecvData¡×
£±¡¥¡¡¢¢¡¢£¤Ï²¿¤òɽ¤·¤Æ¤¤¤ë¤Î¤«¡£ £²¡¥¤¡¤¥¤ÏÊÑ¿ô¤Ã¤Ý¤¤¤¬¡¢¡Ö¡¨¡×¤è¤êÁ°¤ÎÊÑ¿ô¤Î¿ô¤È°ìÃפ·¤Æ¤¤¤Ê¤¤¡£ £³¡¥¡Ö¡¨¡×¤Ï²¿¤ò°ÕÌ£¤¹¤ë¤Î¤«¡£
¤É¤Ê¤¿¤«RBYTE¤Ë´Ø¤·¤Æ¡¢²òÀâ¤Î¤¢¤ëHP¤ò¶µ¤¨¤Æ¤¤¤¿¤À¤±¤Þ¤»¤ó¤Ç¤·¤ç¤¦¤«¡£
¤â¤·¤è¤í¤·¤±¤ì¤Ð¤³¤ì¤ËÂбþ¤¹¤ëVB¤Î¥³¡¼¥É¤ò¶µ¤¨¤Æ¤¤¤¿¤À¤±¤ë¤È¤¢¤ê¤¬¤¿¤¤¤Ç¤¹^^
- 2 ̾Á°¡§ ƿ̾£´£¸£¸ Åê¹ÆÆü¡§2006/03/30(ÌÚ) 19:02 ID:???
- Âбþ¤¹¤ë¥³¡¼¥É¤Ï¤ï¤«¤ê¤Þ¤»¤ó¤¬¡¢
£±¡¤£²¡¤£³¤Ï¥Þ¥ë¥Á¥é¥¤¥ó¥á¥Ã¥»¡¼¥¸(ATN=Active)¤Ç¡¢ ¥È¡¼¥«¡¢¥ê¥¹¥Ê¤Î»ØÄê
&H3F : UNLISTEN (¥ê¥¹¥Ê²ò½ü¡Ë &H20 : LA ¥ê¥¹¥Ê¥¢¥É¥ì¥¹»ØÄê(PC¼«¿È) &H42 : TA ¥È¡¼¥«¥¢¥É¥ì¥¹»ØÄê
¥»¥ß¥³¥í¥ó°Ê¹ß£´¡¢£µ ¤Ï³Æ¿ôÃÍÊÑ¿ô¤Ë£±¥Ð¥¤¥È¤º¤Ä¤Î¥Ð¥¤¥Ê¥ê¥Ç¡¼¥¿¼õ¿® ¤Ç¤Ï¤Ê¤¤¤Ç¤·¤ç¤¦¤«¡£
- 3 ̾Á°¡§ N88½é¿´¼Ô Åê¹ÆÆü¡§2006/03/31(¶â) 09:47 ID:Lgtkun0g
- ƿ̾£´£¸£¸¤µ¤óÁᮤΤªÊÖ»ö¤¢¤ê¤¬¤È¤¦¤´¤¶¤¤¤Þ¤·¤¿¡£
¡¡¢¢¡¢£¤Ë´Ø¤·¤Æ¤½¤Î¤è¤¦¤Ê¥Ç¡¼¥¿¤ò¤¤¤Ã¤¿¤óGPIB¤Ë Á÷¿®¤ò¹Ô¤Ã¤Æ¤«¤é¡¢¼õ¿®¤ò¹Ô¤Ã¤Æ¤¤¤ë¤È¤¤¤¦¥¤¥á¡¼¥¸¤Ê¤ó¤Ç¤·¤ç¤¦¤«¡© ¡Ê²¿¤é¤«¤Î¥Ç¡¼¥¿¤ÎÁ÷¿®¤ò¹Ô¤Ã¤Æ¤«¤é¼õ¿®¤ò¹Ô¤¦¡Ë
¤½¤ì¤È¤â¼õ¿®¤ò¹Ô¤¦Á°¤ÎÀßÄê¤È¤¤¤¦¥¤¥á¡¼¥¸¤Ê¤ó¤Ç¤·¤ç¤¦¤«¡£ ¡Ê¼õ¿®¤¹¤ë¤¿¤á¤ÎÀßÄê¤ò¹Ô¤¤¡¢¼õ¿®¤ò¹Ô¤¦¡Ë
¤¡¢¥¤Ë´Ø¤·¤Æ¤Ï¼õ¿®¥Ç¡¼¥¿¤Î1¥Ð¥¤¥ÈÌÜ¡¢2¥Ð¥¤¥ÈÌܤòÀßÄꤹ¤ë¤È¤¤¤¦¤³¤È¤Ç¤¹¤Í¡£
¤Ê¤ó¤É¤â¼ÁÌä¤ò¹Ô¤Ã¤Æ¤·¤Þ¤¤¤¹¤ß¤Þ¤»¤ó¡£
- 4 ̾Á°¡§ ƿ̾£´£¸£¸ Åê¹ÆÆü¡§2006/03/31(¶â) 13:49 ID:???
- £±¡¤£²¡¤£³¤ÏüËö¤ËÂФ¹¤ë¥³¥ó¥È¥í¡¼¥é¤«¤é¤Î»Ø¼¨¤Ç¡¢
Ä̾ï¤Î GPIB ¥«¡¼¥É¤Î API ¤Ç¤ÏľÀܵ½Ò¤¹¤ë¤³¤È¤Ï ¤Þ¤ì¤Ç¤¹¡ÊPC ¤¬¥³¥ó¥È¥í¡¼¥é¤Î¾ì¹ç API ¤Î°ú¿ô¤Ç ¥È¡¼¥«¥¢¥É¥ì¥¹¡¢ ¥ê¥¹¥Ê¥¢¥É¥ì¥¹»ØÄê¤ò¤¹¤ë¤ÈÆâÉô¤Ç¾åµ¤Î¥¥ã¥é¥¯¥¿¤¬ ¼«Æ°À¸À®¤ÆÁ÷½Ð¤µ¤ì¤Þ¤¹¡Ë
£´¡¤£µ¤Ë¤Ä¤¤¤Æ¤Ï¡¢PC ¤¬¼õ¿®Â¦¤Ç¤¹¤Î¤Ç¡¢ ¤ª¤Ã¤·¤ã¤ë¤È¤ª¤ê¤Ç¤¹¡£
- 5 ̾Á°¡§ N88½é¿´¼Ô Åê¹ÆÆü¡§2006/03/31(¶â) 14:35 ID:41izjFp.
- ƿ̾£´£¸£¸¤µ¤ó¤ªÊÖ»ö¤¢¤ê¤¬¤È¤¦¤´¤¶¤¤¤Þ¤¹¡£
>£±¡¤£²¡¤£³¤ÏüËö¤ËÂФ¹¤ë¥³¥ó¥È¥í¡¼¥é¤«¤é¤Î»Ø¼¨¤Ç¡¢ >Ä̾ï¤Î GPIB ¥«¡¼¥É¤Î API ¤Ç¤ÏľÀܵ½Ò¤¹¤ë¤³¤È¤Ï >¤Þ¤ì¤Ç¤¹
¤½¤¦¤Ê¤ó¤Ç¤¹¤«¡£ ľÀܵ½Ò¤¹¤ë¤³¤È¤¬¤Ê¤¤¤È¤¤¤¦¤³¤È¤Ï¡¢API´Ø¿ô¤Ë¤½¤Î¤è¤¦¤Êµ¡Ç½ ¤¬´Þ¤Þ¤ì¤Æ¤¤¤ë¤È¤¤¤¦Ç§¼±¤Ç¤è¤í¤·¤¤¤Ç¤·¤ç¤¦¤«¡©
¤½¤³¤Ç¥Ø¥ë¥×¤è¤ê²¼µ¤Î¤â¤Î¤ò¸«¤Ä¤±¤Þ¤·¤¿¡£ >Declare Function PciGpibExMastRecvData Lib "gpc4304.dll"( _ >ByVal BoardNo As Long, _ >ByRef AdrsTbl As Long, _ >ByRef Length As Long, _ >ByRef Buffer As Any, _ >ByVal Msg As Long _ >) As Long
>¡Ú¥Ñ¥é¥á¡¼¥¿¡Û >BoardNo >¥Ü¡¼¥É¥¢¥¯¥»¥¹ÈÖ¹æ(0¡Á15)¤ò»ØÄꤷ¤Þ¤¹¡£ >AdrsTbl >µ¡´ï¤Î¥¢¥É¥ì¥¹¥Æ¡¼¥Ö¥ë¤Ø¤Î¥Ý¥¤¥ó¥¿¡Ê»²¾ÈÅϤ·¡Ë¤ò»ØÄꤷ¤Þ¤¹¡£ >¥¢¥É¥ì¥¹¥Æ¡¼¥Ö¥ë¤Ø¤Î½ªÃ¼¤Ë¤Ïɬ¤º-1 ¤òÀßÄꤷ¤Þ¤¹¡£ >Length >¼õ¿®¥Ð¥Ã¥Õ¥¡¤Î¥Ð¥¤¥È¥µ¥¤¥º¤¬³ÊǼ¤µ¤ì¤Æ¤¤¤ëÊÑ¿ô¤Ø¤Î¥Ý¥¤¥ó¥¿¡Ê»²¾ÈÅϤ·¡Ë¤ò»ØÄꤷ¤Þ >¤¹¡£ >ËÜ´Ø¿ô¸Æ¤Ó½Ð¤·¸å¡¢¼ÂºÝ¤Ë¼õ¿®¤·¤¿¥Ð¥¤¥È¥µ¥¤¥º¤¬³ÊǼ¤µ¤ì¤Þ¤¹¡£(Ʊ´üÆþ½ÐÎÏ»þ) >¼õ¿®¥Ð¥Ã¥Õ¥¡¤ÎÎΰè¤Ï¡¢É¬¤º¡Ö¼õ¿®¥Ç¡¼¥¿Ä¹¡×¡Ü¡Ö¥Ç¥ê¥ß¥¿¡×ʬ¤ÎÎΰè¤ò³ÎÊݤ¹¤ë¤è¤¦¤Ë >¤·¤Æ¤¯¤À¤µ¤¤¡£ >Buffer >¼õ¿®¥Ð¥Ã¥Õ¥¡Îΰè¤Ø¤Î¥Ý¥¤¥ó¥¿¡Ê»²¾ÈÅϤ·¡Ë¤ò»ØÄꤷ¤Þ¤¹¡£ >¢¨ Visual Basic ¤Î¾ì¹ç¤Ë¤Ï¡¢API ¤ÎDeclare Function ¤ÎÀë¸À¤¬¥Ð¥¤¥È·¿/¿ôÃÍ·¿¤Èʸ»úÎó >·¿¤È¤Ç¤Ï°Û¤Ê¤ê¤Þ¤¹¡£ >¢¨ Visual Basic ¤Ç¤Ï¡¢Ê¸»úÎóÊÑ¿ô¤È¤·¤Æ¸ÇÄêĹʸ»úÎó¤ò»ØÄꤷ¤Æ¤¯¤À¤µ¤¤¡£ >Îã: Dim RecvBuffer As String * 32 ¤Ê¤É >¢¨ Visual Basic ¤ÇÈóƱ´üÁ÷¿®¤ò¹Ô¤¦¾ì¹ç¤Ï¡¢GlobalAlloc ´Ø¿ô¤Ê¤É¤òÍѤ¤¤Æ³ä¤êÅö¤Æ¤¿¥á >¥â¥êÎΰè¤ò»ØÄꤷ¤Æ¤¯¤À¤µ¤¤¡£¾Ü¤·¤¯¤Ï¥µ¥ó¥×¥ë¥×¥í¥°¥é¥à¤ò¤´»²¾È¤¯¤À¤µ¤¤¡£ >Msg >ÈóƱ´üÁ÷¿®´°Î»»þ¤Ë¥¢¥×¥ê¥±¡¼¥·¥ç¥ó¤ËÄÌÃΤµ¤ì¤ë¥á¥Ã¥»¡¼¥¸¤ò»ØÄꤷ¤Þ¤¹¡£ >Ʊ´üÆ°ºî»þ¤Ë¤ÏWM_NULL ¤â¤·¤¯¤Ï0 ¤ò»ØÄꤷ¤Æ¤¯¤À¤µ¤¤
¤³¤³¤ÇAdrsTbl¤Ë&H42(½½¿Ê¿ô¤À¤È66?)¤òÆþ¤ì¤Æ¤¢¤²¤ì¤Ð²ò·è¤Ç¤¤ë¤È¤¤¤¦¤ï¤±¤Ç¤¹¤Í¡ª
¼ÂºÝ¤Î»È¤ï¤ìÊý¤Ï 10¡¡¡¡RBYTE &H3F,&H20,&H42;M,L 20¡¡¡¡IF M<>254 THEN 10 ¤Î¤è¤¦¤Ê·Á¤Ë¤Ê¤Ã¤Æ¤¤¤ë¤¿¤á¡¢³Æ¥³¥Þ¥ó¥É¤òÁ÷¿®¤·¡¢¥»¥Ã¥È¤µ¤ì¤¿¤é ¼¡¤Î¹Ô¤Ø¤¤¤¯¤È¤¤¤¦¤³¤È¤Ç¤¹¤«¤Í¡£¡Ê¾¡¼ê¤ÊÁÛÁü¡Ë
(¾Êά¤µ¤ì¤Þ¤·¤¿¡¦¡¦Á´¤Æ¤òÆɤà¤Ë¤Ï¤³¤³¤ò²¡¤·¤Æ¤¯¤À¤µ¤¤)
- 6 ̾Á°¡§ ƿ̾£´£¸£¸ Åê¹ÆÆü¡§2006/03/31(¶â) 16:18 ID:???
- >¤³¤³¤ÇAdrsTbl¤Ë&H42(½½¿Ê¿ô¤À¤È66?)¤òÆþ¤ì¤Æ¤¢¤²¤ì¤Ð²ò·è¤Ç¤¤ë¤È¤¤¤¦¤ï¤±¤Ç¤¹¤Í¡ª
&H42(0x42) ¤Ï GPIB ¤Î¥Ð¥¹¤Î¥³¥Þ¥ó¥É¥á¥Ã¥»¡¼¥¸¤Ç¤¹¤Î¤Ç¡¢ API ¤Î¥ì¥Ù¥ë¤Ç¤ÏÄ̾ïÀ¸¤Î¥¢¥É¥ì¥¹(0,1,2..31)¤Ë¤Ê¤ë¤«¤È»×¤¤¤Þ¤¹¤¬¡¢ ¹Í¤¨Êý¤È¤·¤Æ¤Ï¹ç¤Ã¤Æ¤¤¤ë¤Î¤Ç¤Ï¤Ê¤¤¤Ç¤·¤ç¤¦¤«¡£
- 7 ̾Á°¡§ N88½é¿´¼Ô Åê¹ÆÆü¡§2006/03/31(¶â) 17:04 ID:41izjFp.
- ¤ªÊÖ»ö¤¢¤ê¤¬¤È¤¦¤´¤¶¤¤¤Þ¤¹¡£
¤Ê¤ó¤È¤Ê¤¯¸«¤¨¤Æ¤¤Þ¤·¤¿¡ª RBYTE &H3F,&H20,&H42;M,L¡¡¤Ï RBYTE [¼õ¿®¤¹¤ë¤¿¤á¤ÎÀßÄê];[¼õ¿®¥Ç¡¼¥¿¤Î³ÊǼÀè] ¤È¤¤¤¦°·¤¤¤Ç¤¹¤Í
¤½¤³¤ÇN88¤Î¥×¥í¥°¥é¥à¤Ç»÷¤¿¤è¤¦¤ÊWBYTE¤¬¤¢¤ê¤Þ¤·¤¿¡£ ¤³¤ì¤Ï WBYTE &H3F,&H40,&H22;MV,LV,DMY WBYTE [Á÷¿®¤¹¤ë¤¿¤á¤ÎÀßÄê];[Á÷¿®¥Ç¡¼¥¿] ¤È¤¤¤¦Ç§¼±¤Ç¤¤¤¤¤ó¤Ç¤¹¤è¤Í^^;
¸½ºßµ¡´ï¤¬Ê£¿ô¤¢¤ê¡¢µ¡´ï¤Î»ØÄ꤬Á÷¿®(&H22)¤È¼õ¿®(&H42)¤ÇÈֹ椬°ã¤Ã¤Æ¤¤¤Þ¤¹¤¬¡¢ Ʊ¤¸µ¡´ï¤ò»Ø¤·¤Æ¤¤¤Þ¤¹¡£ >&H42(0x42) ¤Ï GPIB ¤Î¥Ð¥¹¤Î¥³¥Þ¥ó¥É¥á¥Ã¥»¡¼¥¸¤Ç¤¹¤Î¤Ç¡¢ >API ¤Î¥ì¥Ù¥ë¤Ç¤ÏÄ̾ïÀ¸¤Î¥¢¥É¥ì¥¹(0,1,2..31)¤Ë¤Ê¤ë¤«¤È»×¤¤¤Þ¤¹¤¬¡¢ >¹Í¤¨Êý¤È¤·¤Æ¤Ï¹ç¤Ã¤Æ¤¤¤ë¤Î¤Ç¤Ï¤Ê¤¤¤Ç¤·¤ç¤¦¤«¡£ ¤È¤¤¤¦¤³¤È¤«¤é¡¢API¤Ç¤ÏÂбþ¤·¤¿µ¡´ï¤ÎÈÖ¹æ¤ò»ØÄꤷ¤¿¡¢Á÷¿®¡¢¼õ¿®¤ÎAPI¤ò¸Æ¤ó¤Ç¤ä¤ì¤Ð¤è¤¤ ¤È¤¤¤¦¤³¤È¤Ç¤¹¤Í^^
À©¸æ¤«¤éÏäϳ°¤ì¤ë¤Î¤Ç¤¹¤¬¡¢ N88¤ÇDIM KEY(?) ¤È¤¤¤¦¤Î¤¬¸«¤Ä¤«¤é¤Ê¤¤¤Î¤Ë KEY(1) ON ¤ä KEY 1, "" ¤È¤¤¤¦¤â¤Î¤ò¸«¤«¤±¤Þ¤·¤¿¡£ N88¤ÏDIM¤ÇÀë¸À¤·¤Ê¤¯¤Æ¤âÊÑ¿ô¤ò°·¤¨¤ë¤Î¤Ç¤·¤ç¤¦¤«¡© ¡Ê¤Þ¤ë¤Çjavascript¤Î¤è¤¦¤Ê¡£¡£¡£¡Ë ¾åµ¤ÎKEY 1 ¤È¡¡KEY(1)¡¡¤ÏƱ¤¸¤â¤Î¤Ê¤Î¤Ç¤·¤ç¤¦¤«¡¦¡¦
½éÊâŪ¤Ê¼ÁÌ䤫¤â¤·¤ì¤Ê¤¤¤Ç¤¹¤¬¤è¤í¤·¤¯¤ª´ê¤¤¤¤¤¿¤·¤Þ¤¹¡£
- 8 ̾Á°¡§ ƿ̾£´£¸£¸ Åê¹ÆÆü¡§2006/04/03(·î) 11:55 ID:???
- >KEY(1) ON
¤³¤ì¤é¤ÏÅö»þ¤Î BASIC ¤Î¥Õ¥¡¥ó¥¯¥·¥ç¥ó¥¡¼³ä¤ê¹þ¤ß½èÍý´ØÏ¢ ON KEY GOSUB ¡©»²¾È
>KEY 1, ""
¤³¤ì¤Ï¥Õ¥¡¥ó¥¯¥·¥ç¥ó¥¡¼¤Ø¤Îʸ»úÎó¤Î³ä¤êÅö¤Æ¤À¤È»×¤¤¤Þ¤¹¡£
- 9 ̾Á°¡§ ƿ̾£´£¸£¸ Åê¹ÆÆü¡§2006/04/07(¶â) 12:03 ID:l2grF0Qk
- ¤ªÊÖ»ö¤¢¤ê¤¬¤È¤¦¤´¤¶¤¤¤Þ¤¹¡£
KEY¤ÏͽÌó¸ì¤È¤¤¤¦¤³¤È¤Ç¤¹¤Í¡£ >>KEY 1, "" >¤³¤ì¤Ï¥Õ¥¡¥ó¥¯¥·¥ç¥ó¥¡¼¤Ø¤Îʸ»úÎó¤Î³ä¤êÅö¤Æ¤À¤È»×¤¤¤Þ¤¹¡£ ¤Ç¤¹¤¬¡¢¥Õ¥¡¥ó¥¯¥·¥ç¥ó¥¡¼¤Øʸ»úÎó¤ò³ä¤êÅö¤Æ¤ë¥¤¥á¡¼¥¸¤¬Í¯¤¤Þ¤»¤ó¡£ ¤³¤ì¤Ïʸ»úÎó¤ò³ä¤êÅö¤Æ¤é¤ì¤ë¤È¤¤¤¦¤³¤È¤Ï¡¢Ê¸»úÎó¤Î¼èÆÀ¤¬¤Ç¤¤ë¤È¤¤¤¦¤³¤È¤Ç¤·¤ç¤¦¤«¡©
N88 BASIC ¤Ç 10 VOLT=2000 20 VOLT=VOLT AND &HFFF ¤È¤¤¤¦¥³¡¼¥É¤¬¤¢¤ê¤Þ¤·¤¿¡£ VB¤À¤È¡¢ Dim VOLT as Long VOLT = 2000 VOLT = 2000 AND &HFFF ¤À¤È»×¤¦¤Î¤Ç¤¹¤¬¡¢ VOLT¤ÎÃͤò¸«¤ë¤È2000¤Î¤Þ¤Þ¤Ç¤¹¡£ ¤³¤Î¡ÖAND &HFFF¡×¤Ï²¿¤«°ÕÌ£¤¬¤¢¤ë¤Î¤Ç¤·¤ç¤¦¤«¡©
¤¢¤È¤ÏVB¤Ç¤Ï¤¿¤á¤·¤Æ¤¤¤Ê¤¤¤Î¤Ç¤¹¤¬¡¢ 10 FOR I=&HB60+324 TO &HB76+320 STEP 2 20 ²¿¤é¤«¤Î½èÍý 30 NEXT ¤È¤¢¤ë¤Î¤Ç¤¹¤¬¡¢ ¡ÖAND¡×¤È¡Ö+¡×¤Ç»È¤¤Ê¬¤±¤ë¤Î¤Ï¤Ê¤¼¤Ê¤ó¤Ç¤·¤ç¤¦¤«¡£ VB¤Ç¤Ï ¡ÖAND¡×¤ÏIFʸ¤°¤é¤¤¤Ç¤·¤«»ÈÍѤ·¤¿¤³¤È¤¬¤¢¤ê¤Þ¤»¤ó¡£
¤è¤í¤·¤¯¤ª´ê¤¤¤¤¤¿¤·¤Þ¤¹¡£
- 10 ̾Á°¡§ ƿ̾£´£¸£¸ Åê¹ÆÆü¡§2006/04/07(¶â) 17:06 ID:???
- ¡ä¤³¤Î¡ÖAND &HFFF¡×¤Ï²¿¤«°ÕÌ£¤¬¤¢¤ë¤Î¤Ç¤·¤ç¤¦¤«¡©
¡¡¤³¤ì¤Ï¥Ó¥Ã¥È±é»»¤Ç¤¹¡£¤ª¤½¤é¤¯12¥Ó¥Ã¥È¤ÎÃͤʤΤǡ¢ ¡¡¾å°Ì 4 ¥Ó¥Ã¥È¤ò¼Î¤Æ¤ë¤¿¤á¤Î¤â¤Î¤Ç¤·¤ç¤¦¡£ ¡¡BASIC ¤Î AND ¤Ë¤Ï£²¤Ä¤¢¤Ã¤Æ¡¢ ¡¡¤³¤ì¤Ï¥Ó¥Ã¥È±é»»¤Î AND ¤Ç¤Ï¤Ê¤¤¤Ç¤·¤ç¤¦¤«¡©(C ¸À¸ì¤Î &) ¡¡IF ʸ¤Î AND (C ¸À¸ì¤Î &&)¤È¤Ï°ÕÌ£¤¬°ã¤Ã¤Æ¤¤Þ¤¹¡£
¡¡¡Ü¤Ï»»½Ñ±é»»¤Î¤·»»¤Ç¤¹¡£
- 11 ̾Á°¡§ ƿ̾£´£¸£¸ Åê¹ÆÆü¡§2006/04/07(¶â) 17:12 ID:???
- ¢¬¤Ç¤â¡¢¤â¤È¤â¤È 2000 ¤·¤«ÂåÆþ¤µ¤ì¤Æ¤Ê¤¤¤Î¤Ê¤é¡¢
°ÕÌ£¤Ï¤Ê¤¤¤Ç¤¹¤Í¡£12 ¥Ó¥Ã¥È¤ò¶¯Ä´¤¹¤ë¤¿¤á¤Ë ¤¢¤¨¤Æ¤½¤¦¤¤¤¦É½µ¤Ë¤·¤Æ¤¤¤ë¤Î¤«¤â¤·¤ì¤Þ¤»¤ó¡£
- 12 ̾Á°¡§ ka Åê¹ÆÆü¡§2006/04/11(²Ð) 11:11 ID:g/gfxs7g
- ka¤È¿½¤·¤Þ¤¹¡£¤¤¤Þ¤À¤ËPC-9821(¥Ú¥ó¥Æ¥£¥¢¥à150MHz)¤ò»È¤Ã¤Æ¤¤¤Þ¤¹¡£
>>¤³¤ì¤Ï¥Õ¥¡¥ó¥¯¥·¥ç¥ó¥¡¼¤Ø¤Îʸ»úÎó¤Î³ä¤êÅö¤Æ¤À¤È»×¤¤¤Þ¤¹¡£ >¤Ç¤¹¤¬¡¢¥Õ¥¡¥ó¥¯¥·¥ç¥ó¥¡¼¤Øʸ»úÎó¤ò³ä¤êÅö¤Æ¤ë¥¤¥á¡¼¥¸¤¬Í¯¤¤Þ¤»¤ó¡£ >¤³¤ì¤Ïʸ»úÎó¤ò³ä¤êÅö¤Æ¤é¤ì¤ë¤È¤¤¤¦¤³¤È¤Ï¡¢Ê¸»úÎó¤Î¼èÆÀ¤¬¤Ç¤¤ë¤È¤¤¤¦¤³¤È¤Ç¤·¤ç¤¦¤«¡© BASIC¤òΩ¤Á¾å¤²¤¿¾õÂÖ¤À¤È¤¢¤é¤«¤¸¤á¥Õ¥¡¥ó¥¯¥·¥ç¥ó¥¡¼¤Ë¤Ï load "¤À¤È¤«auto¤À¤È¤«¤¬³ä¤êÅö¤Æ¤é¤ì¤Æ¤¤¤Þ¤¹¤¬¡¢¤³¤ì¤òǤ°Õ¤Î ʸ»úÎó¤ËÊѹ¹¤¹¤ë¤â¤Î¤Ç¤¹¡£¤â¤·GP-IB¤Ç¤ÎÅÅ°µÀßÄꥳ¥Þ¥ó¥É¤¬VOLT 10.00 ¤À¤È¤·¤¿¤é¡¢KEY 1,"VOLT "¤ò¼Â¹Ô¤·¤Æ¤ª¤¯¤ÈF1¥¡¼¤ò²¡¤»¤Ð VOLT ¤Îʸ»ú¤¬Æþ¤ë¤è¤¦¤Ë¤Ê¤ë¤Î¤Ç¡¢¥³¥Þ¥ó¥É¤òÆþÎϤ¹¤ëºÝ¤Î¥¡¼¤ò ¤Ø¤é¤¹¤³¤È¤¬¤Ç¤¤Þ¤¹¡£ KEY(x) ON¤Ï¥Õ¥¡¥ó¥¯¥·¥ç¥ó¥¡¼¤Ë¤è¤ë³ä¤ê¹þ¤ß½èÍý¤Îµö²Ä¤Ç¤¹¡£ ¥Õ¥¡¥ó¥¯¥·¥ç¥ó¥¡¼x¤ò²¡¤¹¤È¡¢ON KEY GOSUBʸ¤ÇÄêµÁ¤·¤¿¹ÔÈÖ¹æ (¤Þ¤¿¤Ï¥é¥Ù¥ë)¤Î¥µ¥Ö¥ë¡¼¥Á¥ó¤¬¼Â¹Ô¤µ¤ì¤Þ¤¹¡£
- 13 ̾Á°¡§ ƿ̾£´£¸£¸ Åê¹ÆÆü¡§2006/04/11(²Ð) 12:56 ID:O1kT4UlQ
- ƿ̾£´£¸£¸¤µ¤ó¡¢ka¤µ¤ó¤¢¤ê¤¬¤È¤¦¤´¤¶¤¤¤Þ¤¹¡£
¥Ó¥Ã¥È±é»»¤ò¤·¤Æ¤¤¤ë¤Î¤Ç¤¹¤Í¡£ ¡¡¡¡ 1111|¡¡¡¡ 1110| AND¡¡0001|AND¡¡0001| ¡¡¡¡ 0001|¡¡¡¡ 0000| Ä´¤Ù¤Æ¸«¤Þ¤·¤¿¤¬¡¢¤«¤Ê¤êÊØÍø¤½¤¦¤Ç¤¹¤Í¡ª ¤Á¤Ê¤ß¤ËVOLT¤ÎÃͤÎ2000¤Ï¿ô»ú¤òÊѤ¨¤Æ¤¤¤Þ¤¹¡£¡£
>BASIC¤òΩ¤Á¾å¤²¤¿¾õÂÖ¤À¤È¤¢¤é¤«¤¸¤á¥Õ¥¡¥ó¥¯¥·¥ç¥ó¥¡¼¤Ë¤Ï >load "¤À¤È¤«auto¤À¤È¤«¤¬³ä¤êÅö¤Æ¤é¤ì¤Æ¤¤¤Þ¤¹¤¬¡¢¤³¤ì¤òǤ°Õ¤Î >ʸ»úÎó¤ËÊѹ¹¤¹¤ë¤â¤Î¤Ç¤¹¡£ BASIC¤Î²èÌ̤ò¼ÂºÝ¤ß¤¿¤³¤È¤¬¤Ê¤¯¡¢¥¤¥á¡¼¥¸¤¬Í¯¤¤Þ¤»¤ó¤Ç¤·¤¿¡£ ¤³¤ì¤Ï¡¢ºÇ½é¤«¤é¥Õ¥©¡¼¥à¤Ë¥Õ¥¡¥ó¥¯¥·¥ç¥ó¥¡¼Ê¬¤À¤±¥Ü¥¿¥ó¤¬ÃÖ¤«¤ì¤Æ¤¤¤ë¤è¤¦¤Ê ¥¤¥á¡¼¥¸¤Ç¤è¤¤¤Î¤Ç¤¹¤è¤Í¡Ê¥Ü¥¿¥ó¤Ç¤Ï¤Ê¤¯¥é¥Ù¥ë¡©
2ÈÖÌܤè¤ê >¥»¥ß¥³¥í¥ó°Ê¹ß£´¡¢£µ ¤Ï³Æ¿ôÃÍÊÑ¿ô¤Ë£±¥Ð¥¤¥È¤º¤Ä¤Î¥Ð¥¤¥Ê¥ê¥Ç¡¼¥¿¼õ¿® >¤Ç¤Ï¤Ê¤¤¤Ç¤·¤ç¤¦¤«¡£ 1¥Ð¥¤¥È¤È¤¤¤¦¤³¤È¤Ï2ʸ»ú(00-FF¡Ë¤È¤¤¤¦¤³¤È¤Ç¤¤¤¤¤ó¤Ç¤¹¤è¤Í¡©
N88¤Î¥½¡¼¥¹¤Î¤Ê¤«¤Ë 890 83848! ¤Ê¤É¤È¤¤¤¦¥³¡¼¥É¤¬¤¢¤ê¤Þ¤·¤¿¡£ ¤Á¤Ê¤ß¤Ë83848¹Ô¤Ê¤É¤Ï¸ºß¤·¤Þ¤»¤ó¡£ ¤³¤ì¤Ï²¿¤òɽ¤·¤Æ¤¤¤ë¤ó¤Ç¤·¤ç¤¦¤«¡© °ÕÌ£¤Î¤Ê¤¤¤â¤Î¤À¤È¤¤¤¤¤Î¤Ç¤¹¤¬¡£¡£
- 14 ̾Á°¡§ DDDDD Åê¹ÆÆü¡§2007/04/07(ÅÚ) 16:11 ID:2S4Qczkw
- ¥¤¥ó¥¿¡¼¥Í¥Ã¥È¤Ç¤³¤³¤ò¸«¤Ä¤±¤Æ¡¢½é¤á¤Æ½ñ¹þ¤ß¤Þ¤¹¡£
¸½ºß¡¢N88¤òVB¤Ë¾Æ¤Ä¾¤·¤Æ¤¤¤Þ¤¹¡£ ¤½¤³¤Ç¡¢¶µ¤¨¤Æ夤¿¤¤¤Î¤Ç¤¹¤¬¡£
PC98¤ÎN88¤Ç°Ê²¼¤Î¥³¡¼¥É¤¬¤¢¤ê¤Þ¤·¤¿¡£
PRINT @8;"OC0,CR.LF":WBYTE 8+0,8;¡¡¡¡¡¡ 'ȯÀ¸´ï(PWS-307C)¶¦Ä̽ÐÎϣϣƣÆ
ȯÀ¸´ï(PWS-307C)¤Î¥³¥Þ¥ó¥Éɽ¤Ç¤Ï¡ÖOC0¡×¤¬¶¦Ä̽ÐÎϣϣƣƤˤʤäƤ¤¤Æ CR.LF¤Ï¥Ç¥ê¥ß¥¿¤Ïʬ¤«¤ê¤Þ¤·¤¿¡£
¤Ç¤Ï¡¢¤½¤Î¸å¤í¤Î¡ÖWBYTE 8+0,8;¡×¤Ï²¿¤Ç¤·¤ç¤¦¤«¡© ¾åµ¤Î·Ç¼¨ÈĤÎÆâÍƤǤ¹¤ÈÁ÷¿®¤¹¤ë¤¿¤á¤ÎÀßÄê¤È¤Î¤³¤È¤Ç¤¹¤¬¡¢¶ñÂÎŪ¤Ë¤Ï ¤É¤¦¸À¤¦ÀßÄê¤Ë¤Ê¤ë¤Î¤Ç¤·¤ç¤¦¤«¡©
¤Þ¤¿¡¢£Ö£Â¤Ç¤Ï£Ã£Ï£Î£Ô£Å£ÃÀ½¤Î£Ç£Ð£É£Â¥Ü¡¼¥É¤ò»È¤Ã¤Æ¡¢ÉÕ°¤Î´Ø¿ô¤ÇÁ÷¿® ¤·¤Æ¤¤¤Þ¤¹¡£ ¤½¤Î¾ì¹ç¡¢Á÷¤ë¤Î¤Ï¡ÖOC0¡×¤Î¤ß¤Ç£Ï£Ë¤Ê¤Î¤Ç¤·¤ç¤¦¤«¡© ¡Ê¥Ç¥ê¥ß¥¿¤Ï£Ç£Ð£É£Â¤Î½é´ü²½´Ø¿ô¤Ç¡ÖCR.LF¡×¤ò»ØÄêºÑ¤ß¡Ë
¤è¤í¤·¤¯¤ª´ê¤¤Ãפ·¤Þ¤¹¡£
- 15 ̾Á°¡§ ƿ̾£´£¸£¸ Åê¹ÆÆü¡§2007/04/25(¿å) 22:56 ID:jIvcXv2g
- WBYTE ¤Î;¤è¤êÁ°¤Ï¥Þ¥ë¥Á¥é¥¤¥ó¥á¥Ã¥»¡¼¥¸
¡Ê£Ç£Ð£É£Â¤Î£Á£Ô£Î¤ò¥¢¥µ¡¼¥È¤·¤ÆÁ÷¤ë¥Ð¥¹¥³¥Þ¥ó¥É¤Ç¤¹¡Ë
°Ê²¼¡¢BASIC98 (N88 ¸ß´¹ BASIC ¥Þ¥Ë¥å¥¢¥ë¤«¤é°úÍÑ¡Ë
------ °úÍѤ³¤³¤«¤é -------
WBYTE ¥¹¥Æ¡¼¥È¥á¥ó¥È
¡Ú·Á¼°¡Û¡¡¡¡WBYTE¡¡¡¡¡Ì¡ã¥³¥Þ¥ó¥É¡ä¡Ì ,¡ã¥³¥Þ¥ó¥É¡äŽ¥Ž¥Ž¥¡Í¡Í¡¨¡Ì¡ã¥Ç¡¼¥¿¡ä¡Ì ,¡ã¥Ç¡¼¥¿¡äŽ¥Ž¥Ž¥¡Í¡Í¡Ì @¡Í
¡Úµ¡Ç½¡Û¡¡¡¡¥Þ¥ë¥Á¥é¥¤¥ó¥á¥Ã¥»¡¼¥¸¤ÎÁ÷½Ð¡¢¤ª¤è¤Ó¥Ð¥¤¥Ê¥ê¥Ç¡¼¥¿¤ÎÁ÷½Ð¤ò¹Ô¤Ê¤¤¤Þ¤¹¡£
¡Ú²òÀâ¡Û¡¡¡¡¡ã¥³¥Þ¥ó¥É¡ä¤Ç»ØÄꤷ¤¿¥Þ¥ë¥Á¥é¥¤¥ó¥á¥Ã¥»¡¼¥¸¡Ê¡õH00¡Á¡õHFF¡Ë¤ª¤è¤Ó¡ã¥Ç¡¼¥¿¡ä¤Ç»ØÄꤷ¤¿¥Ð¥¤¥Ê¥ê¥Ç¡¼¥¿¡Ê¡õH00¡Á¡õHFF¡Ë¤òÁ÷½Ð¤·¤Þ¤¹¡£¤³¤ÎÈϰϤò±Û¤¨¤ë¡ã¥Ç¡¼¥¿¡ä¤Þ¤¿¤Ï¡ã¥³¥Þ¥ó¥É¡ä¤ò»ØÄꤹ¤ë¤È¡¢"Ì¿Îá¤Î¸Æ¤Ó½Ð¤·Êý¤Î¸í¤ê¡ÊIllegal function call ¡Ë"¤È¤¤¤¦¥¨¥é¡¼¤Ë¤Ê¤ê¤Þ¤¹¡£ ¡¡¡¡¤Þ¤¿¡¢¥ª¥×¥·¥ç¥ó¤Î@¤ò»ØÄꤹ¤ë¤È¡¢ºÇ¸å¤ÎÁ÷½Ð¥Ç¡¼¥¿¥Ð¥¤¥È¤òÁ÷½Ð¤·¤¿¸å¡¢EOI¡ÊEnd Or Identify¡Ë¤òtrue¤Ë¤·¤Þ¤¹¡£
¡¡¡¡¥Ð¥¤¥Ê¥ê¥Ç¡¼¥¿¤ÎÁ÷½Ð¼ê½ç¤Ï¼¡¤Î¤È¤ª¤ê¤Ç¤¹¡£
¡¡¡¡¢£¥Þ¥¹¥¿¥â¡¼¥É¤Î¾ì¹ç
¡¡¡¡¡Ê1¡Ë¡¡¡¡ATN¡ÊAttention¡Ë¤òtrue¤Ë¤·¤Þ¤¹¡£ ¡¡¡¡¡Ê2¡Ë¡¡¡¡¡ã¥³¥Þ¥ó¥É¡ä¤ò½ç¼¡Á÷½Ð¤·¤Þ¤¹¡£ ¡¡¡¡¡Ê3¡Ë¡¡¡¡ATN¤òfalse¤Ë¤·¤Þ¤¹¡£ ¡¡¡¡¡Ê4¡Ë¡¡¡¡¡ã¥Ç¡¼¥¿¡ä¤ò½ç¼¡Á÷½Ð¤·¤Þ¤¹¡£ ¡¡¡¡¡Ê5¡Ë¡¡¡¡¥ª¥×¥·¥ç¥ó¤Î@¤ò»ØÄꤷ¤¿¾ì¹ç¤Ï¡¢EOI¤òtrue¤Ë¤·¤Þ¤¹¡£
¡¡¡¡¢£¥¹¥ì¡¼¥Ö¥â¡¼¥É¤Î¾ì¹ç
¡¡¡¡¡Ê1¡Ë¡¡¡¡MTA¡ÊMy Talk Address¡Ë¤ò¼õ¿®¤¹¤ë¤Þ¤ÇÂÔ¤Á¤Þ¤¹¡£ ¡¡¡¡¡Ê2¡Ë¡¡¡¡ATN¤¬false¤Ë¤Ê¤ë¤Þ¤ÇÂÔ¤Á¤Þ¤¹¡£ ¡¡¡¡¡Ê3¡Ë¡¡¡¡¡ã¥Ç¡¼¥¿¡ä¤ò½ç¼¡Á÷½Ð¤·¤Þ¤¹¡£ ¡¡¡¡¡Ê4¡Ë¡¡¡¡¥ª¥×¥·¥ç¥ó¤Î@¤ò»ØÄꤷ¤¿¾ì¹ç¤Ï¡¢EOI¤òtrue¤Ë¤·¤Þ¤¹¡£
¡¡¡¡¥¹¥ì¡¼¥Ö¥â¡¼¥É¤Ç¤Ï¡¢¡ã¥³¥Þ¥ó¥É¡ä¤ò»ØÄꤹ¤ë¤³¤È¤Ï¤Ç¤¤Þ¤»¤ó¡£
¡ÚʸÎã¡Û¡¡¡¡WBYTE &H5F,&H6F;&H35,&H36
¡Ú´ØϢ̿Îá¡Û¡¡¡¡RBYTE
¡üÃí°Õ¡¡¡¡¤³¤ÎÌ¿Îá¤Ï¡¢¥»¥Ã¥È¥¢¥Ã¥×¥æ¡¼¥Æ¥£¥ê¥Æ¥£¡¼¤Î¡Î¥é¥¤¥Ö¥é¥ê¡Ï¤Ç¡¢¡ÎGP-IB¤ò»ÈÍѤ¹¤ë¡Ï¤ò¥Á¥§¥Ã¥¯¤·¤Æ¤¤¤Ê¤¤¤È»ÈÍѤǤ¤Þ¤»¤ó¡£
(¾Êά¤µ¤ì¤Þ¤·¤¿¡¦¡¦Á´¤Æ¤òÆɤà¤Ë¤Ï¤³¤³¤ò²¡¤·¤Æ¤¯¤À¤µ¤¤)
-
|