Windows¾å¤ÇJWASM(¥Õ¥ê¡¼¤ÎMASM6¸ß´¹¥¢¥»¥ó¥Ö¥é)¤È98¥¨¥ß¥å¤ò»È¤Ã¤Æ¤Î¥×¥í¥°¥é¥àºîÀ®¤Ë´Ø¤¹¤ë¥¨¥È¥»¥È¥é¡£¤Þ¤¿¡¢PC-98¥×¥í¥°¥é¥ß¥ó¥°´Ø·¸¤Î½ñÀÒ¾Ò²ð¤È¤«¼«ºî¥½¥Õ¥È¤Î¿ÊĽ¤È¤«¤â¡£

¤¿¤Þ¤Ë¥Û¥Ó¡¼¥æ¡¼¥¹¤Ç¤Ï98¤è¤ê68k¤À¡ª¤È¤¤¤¦¼çÄ¥¤ò¸«¤«¤±¤Æ¤¤¤¿¤Î¤Ç¡¢¤É¤ó¤Ê¤â¤ó¤«¤ÈºÇ¶á¤¤¤¯¤Ä¤«¸Å½ñ¤ò¹ØÆþ¤·¤Æ¡¢Ä¯¤á¤¿¤ê¤·¤Æ¤Þ¤¹¡£
¤Ç¡¢µ¤¤Ë¤Ê¤Ã¤¿¤Î¤Ç¥Õ¥ê¡¼ÇÛÉۤˤʤä¿Æ°ºî´Ä¶­¤ä¾ðÊóÎà¤ò¥µ¥¤¥È¤«¤éÍî¤È¤·¤Æ¡¢¥½¥Õ¥È¤â¤Ê¤¤¤Î¤Ë¥¨¥ß¥å¥ì¡¼¥¿´Ä¶­¤ò¹½ÃÛ¤·¤Þ¤·¤¿¡£
¤·¤«¤·Æ°¤«¤¹¥½¥Õ¥È¤¬¤Ê¤¤¤Î¤Ç¡¢ÅöÁ³¤Î¤è¤¦¤Ë¥½¥Õ¥È³«È¯¤Î¤ª»î¤·¤ò¤·¤Æ¤ß¤ë¤«¤È¤Ê¤ê¤Þ¤·¤Æ¡£
¥¨¥ß¥å¾å¤ÇÅö»þ¤Î¥¢¥»¥ó¥Ö¥é¤òÆ°¤«¤¹¤Î¤¬ÉáÄÌ(¥½¥Õ¥È³«È¯¤ò»×¤¤Î©¤Ä»þÅÀ¤ÇÉáÄ̤¸¤ã¤Ê¤¤¤±¤É)¤Ç¤·¤ç¤¦¤¬¡¢PC98¥½¥Õ¥È¤âPC88¥½¥Õ¥È¤âwindows¾å¤Ç¥¯¥í¥¹¥¢¥»¥ó¥Ö¥ë¤·¤Æ¤½¤Î¤Þ¤Þ¥Æ¥¹¥È¤Ç¤­¤ë(¥¨¥ß¥å¤¬Àµ¾ï¤ËÆ°¤¯ÈϰϤÇ)»þÂå¤Ê¤Î¤Ç¡¢X68000¤â¥¯¥í¥¹¥¢¥»¥ó¥Ö¥ë¤Ç¤ä¤Ã¤Æ¤ß¤è¤¦¤«¤Ê¤È»î¤·¤Æ¤ß¤Þ¤·¤¿¡£

ÍÑ°Õ¤¹¤ë¤â¤Î

the Macroassembler AS¡Ê88¤äV30¤Î¤ª»î¤·¤Ç¤â»È¤Ã¤¿Â¿Âбþ¥¢¥»¥ó¥Ö¥é¡Ë
Æ°ºî´Ä¶­(¥¨¥ß¥å¤ÈDiskExplorer¤Ç½½Ê¬)
¥Æ¥­¥¹¥È¥¨¥Ç¥£¥¿
¹¥¤ß¤ÇDOSCALL.MAC¤ÈIOCSCALL.MAC(¾ðÊó¥µ¥¤¥È¤ÎXC2102¤Î¥Õ¥¡¥¤¥ë¤«¤é¼è¤ê½Ð¤·)

¤ä¤ë¤³¤È

º£²ó¤Ï̾Ãø¡ÖX68000¥Þ¥·¥ó¸ì¥×¥í¥°¥é¥ß¥ó¥°¡¡ÆþÌçÊԡפÎchap1¥é¥¹¥È(¤³¤Á¤é¤ÎÃæ¿È¤Îvol1-chap1-4¤Î¥½¡¼¥¹)¤Î¥×¥í¥°¥é¥à¤ò¼Â¹Ô¤·¡¢DOSCALL.MAC¤ÈIOCSCALL.MAC¤òthe Macroassembler ASÍѤ˽ñ¤­´¹¤¨¤Þ¤¹¡£
¤Ç¡¢the Macroassembler AS¤Ç¤ÎÌäÂêÅÀ¤ò¤¤¤¯¤Ä¤«µó¤²¤Æ¤ß¤Þ¤¹¡£

¥¯¥í¥¹¥¢¥»¥ó¥Ö¥ë

¾ï¼±¤ÎÈÏ°ÏÆâ¤ÇÍøÍѲġ¢¤Èµ­½Ò¤¬¤¢¤ë¤Î¤Ç¸µ¤Î¥½¡¼¥¹¤ò¤½¤Î¤Þ¤ÞžºÜ¤·¤Þ¤¹¡£
_GETC		equ	$ff08
_PUTCHAR	equ	$ff02
_EXIT		equ	$ff00
*
	.dc.w	_GETC
	move.w	d0,-(sp)
	.dc.w	_PUTCHAR
	addq.l	#2,sp
	.dc.w	_EXIT
¤³¤ì¤ò¥Æ¥­¥¹¥È¥Õ¥¡¥¤¥ë¤Ë¥³¥Ô¥Ú¤·¤Æ68ktest.txt¤ÈÊݸ¤·¤Þ¤¹¡£

¼¡¤Ë¡¢¥¢¥»¥ó¥Ö¥ë¤ò¥ï¥ó¥¯¥ê¥Ã¥¯¤Ç½ª¤ï¤é¤»¤ë¤¿¤á¤Î¥Ð¥Ã¥Á¤òºîÀ®¤·¤Þ¤¹¡£
¥Æ¥­¥¹¥È¥Õ¥¡¥¤¥ë¤Ë°Ê²¼¤Îµ­½Ò¤ò¤·¤Æ¡¢68ktest.bat¤È¤·¤ÆÊݸ¤·¤Þ¤·¤ç¤¦¡£
asw 68ktest.TXT -CPU 68000
p2bin 68ktest.p 68ktest.r
pause

¤Ç¡¢the Macroassembler AS¤Îbin¥Õ¥©¥ë¥À¤Ë£²¤Ä¤Î¥Õ¥¡¥¤¥ë¤òÊü¤ê¹þ¤ó¤Ç¼Â¹Ô¤·¤Æ¤ß¤Þ¤·¤ç¤¦¡£
¼¡¤Î²èÌ̤¬½Ð¤Æ¥¨¥é¡¼¤¬½Ð¤ë¤Ï¤º¤Ç¤¹¡£


¿§¡¹¤È»î¤·¤¿·ë²Ì¤Î¥¨¥é¡¼¤ÎÍýͳ¤È²ò·èË¡¤Ï°Ê²¼¤Ç¤¹¡£
¡Ö*¡×¤¬¡Ö;¡×¤ÎÂå¤ï¤ê¤Ë¥³¥á¥ó¥È¤È¤·¤Æ»È¤ï¤ì¤Æ¤¤¤ë¤Î¤¬¥¨¥é¡¼¤Ë¢ª*¤ò;¤ËÃÖ¤­´¹¤¨¤ë
¡Ö.dc.w¡×¤¬Ä̤é¤Ê¤¤¢ª¡Ö.dc¡×¤Ï²Äǽ¤À¤¬¥µ¥¤¥º¤¬»ØÄê¤Ç¤­¤Ê¤¤¤Î¤Ç¾­ÍèŪ¤Ëº¤¤ê¤½¤¦¢ªthe Macroassembler AS¤Î¥É¥­¥å¥á¥ó¥È¤ò¸«¤ë¤È¡¢dc.w¤È¤«½ñ¤±¤ÐOK¤ÊÌÏÍÍ

¤È¤¤¤¦¤³¤È¤Ç¡¢°Ê²¼¤Î¤è¤¦¤Ë½ñ¤­´¹¤¨¤Þ¤¹¡£
_GETC		equ	$ff08
_PUTCHAR	equ	$ff02
_EXIT		equ	$ff00
*
	dc.w	_GETC
	move.w	d0,-(sp)
	dc.w	_PUTCHAR
	addq.l	#2,sp
	dc.w	_EXIT

¤³¤ì¤ÏÄ̤ë¤Î¤Ç¡¢Ìµ»öÆ°ºî¥Õ¥¡¥¤¥ë68ktest.r¤¬ºî¤ì¤Þ¤·¤¿¡£

¼Â¹Ô¤·¤Æ¤ß¤ë

¤Þ¤º¡¢x68¥¨¥ß¥å¤ÇXDF·Á¼°¤Î¥Õ¥¡¥¤¥ëx68ktest.XDF¤òºîÀ®¤·¤Þ¤¹¡£
¤³¤Î»þ¡¢¥Õ¥¡¥¤¥ë¤òÏÀÍý¥Õ¥©¡¼¥Þ¥Ã¥È¤·¤Æ¤ª¤­¤Þ¤·¤ç¤¦¡£
XDF¤ÏÆâÍÆľ½ñ¤­¤Î¥×¥ì¡¼¥ó¥Õ¥¡¥¤¥ë¤Ê¤Î¤Ç¡¢¥Õ¥©¡¼¥Þ¥Ã¥ÈºÑ¤ß¤Ê¤édiskexplorer¤Ç³«¤¯¤³¤È¤¬¤Ç¤­¤Þ¤¹¡£
¤Ç¡¢¤½¤³¤ËºîÀ®¤·¤¿68ktest.r¤òÅêÆþ¤·¤Þ¤¹¡£

¤¢¤È¤Ï¥¨¥ß¥å¤òµ¯Æ°¤·¤ÆA>¤¬½Ð¤¿¤é¥Õ¥í¥Ã¥Ô¡¼¤òÆɤ߹þ¤Þ¤»¡¢¥É¥é¥¤¥Ö¤ò°ÜÆ°¤·¤Æ¤«¤é68ktest¤ò¼Â¹Ô¤¹¤ì¤ÐOK¡£
¥­¡¼¥Ü¡¼¥É¤ò²¡¤¹¤È²¡¤·¤¿°ìʸ»ú¤¬²èÌ̤˽ÐÎϤµ¤ì¤Æ½ªÎ»¤·¡¢Ê¸»ú¤Îľ¸å¤«¤éaB>¤Î¤è¤¦¤Ë¥É¥é¥¤¥Ö̾¤¬Â³¤­¤Þ¤¹¡£
Ëܤò»ý¤Ã¤Æ¤¤¤ë¿Í¤Ê¤é¡¢¤³¤ì¤«¤é²þÎɤ·¤¿¤ê¤·¤Æ¾¯¤·¤º¤ÄȯŸ¤·¤Æ¤¤¤Ã¤¿¤Ê¡¼¤È¤«»×¤¦¤ó¤¸¤ã¤Ê¤¤¤«¤È¡£

equÌÌÅÝ

°ì¡¹equ¤ÇÄêµÁ¤ÏÌÌÅݤʤΤǡ¢DOSCALL.MAC¤ÈIOCSCALL.MAC¤ò½ñ¤­´¹¤¨¤Æinclude½ÐÍè¤ë¤è¤¦¤Ë¤·¤Æ¤ß¤Þ¤¹¡£
·ëÏÀ¤«¤é¸À¤¦¤È¡¢Êѹ¹ÅÀ¤Ï°Ê²¼¤ÎÄ̤ꡣ
¡¦.nlist¡¢ºÇ¸å¤Î.list¡¢ºÇ¸å¤Î°ì¹Ô¤Ï¥¨¥é¡¼¤Ë¤Ê¤ë¤Î¤Çºï½ü¤«¡Ö;¡×¤Ç¥³¥á¥ó¥È¥¢¥¦¥È
¡¦*¤Î¥³¥á¥ó¥È¹Ô¤â¥¨¥é¡¼¤Ë¤Ê¤ë¤Î¤Ç;¤ËÃÖ¤­´¹¤¨


¤³¤ì¤À¤±¤Î´Êñ¤ÊÊѹ¹¤ÇOK¡£
¥Õ¥¡¥¤¥ë¤ÎÀèƬ¤Ë
	INCLUDE "DOSCALL.MAC"
¤Î¤è¤¦¤Ë½ñ¤¤¤Æ¤ä¤ì¤Ð¤Ä¤«¤¨¤Þ¤¹¡£
¥Þ¥¯¥í¤Ï¤½¤Î¤Þ¤Þ»È¤¨¤ë¤Ã¤Ý¤¤¤Î¤Ç¡¢DOS _GETC¤Î¤è¤¦¤Ë¤·¤Æ»È¤Ã¤Æ¤â¤è¤¤¤Ç¤·¤ç¤¦¡£

the Macroassembler AS¤ÎÃí°ÕÅÀ

680x0·Ï¤ÎCPU¤ÎÌ¿Îá¤Ï¥É¥­¥å¥á¥ó¥È¤òÆɤà¸Â¤ê¤Ï¤Û¤Ü»È¤¨¤ëÌÏÍÍ¡£
¤·¤«¤·¡¢¼Âµ¡¤Ç°ìÈÌŪ¤À¤Ã¤¿¤Ç¤¢¤í¤¦¡¢¡Ö.¡×¤«¤é»Ï¤Þ¤ëµ¿»÷Ì¿Îá¤Î¿¤¯¤¬»È¤¨¤Ê¤¤¤Ã¤Ý¤¤¤Ç¤¹(»È¤¤¹þ¤ó¤Ç¤Ê¤¤¤Î¤Ç̤Ĵºº)¡£
°ìÊý¡¢the Macroassembler AS¤Ç¤Ïrepeat¤ä¤éif¤ä¤é¤ÏÆȼ«¤Î»ÅÍͤǥޥ¯¥í¤È¤·¤ÆÂбþ¤·¤Æ¤ë¤Î¤Ç¡¢¤¢¤ëÄøÅ٤ι½Â¤²½¤Ï¤Ç¤­¤ë¤ß¤¿¤¤¤Ç¤¹¡£
¤Þ¤¢¡¢Åö»þ¤Î¥³¡¼¥É¤òήÍѤǤ­¤Ê¤¤»ä¤ß¤¿¤¤¤Ê¿·»²¤Ë¤Ï½½Ê¬¤À¤í¤¦¡¢¤È¤¤¤¦·ëÏÀ¤Ë¤Ê¤ê¤Þ¤·¤¿¡£


¤Þ¤¢¤½¤ó¤Ê´¶¤¸¤ÎµÙÆü¤Î¤ªÍ·¤Ó¤Ç¤·¤¿¡£
.xdf¤Î¥¤¥á¡¼¥¸¤ÏT98¤Ç¤âÆɤá¤ë¤Î¤Ç¡¢¥æ¡¼¥¶¡¼¥Ç¡¼¥¿¤È¤«¥Õ¥é¥°¤È¤«¤ò¶¦Ḁ̈ǥ£¥¹¥¯¡¢ËÜÂΤÏ68k¤È98¡¢¤ß¤¿¤¤¤Ê¥½¥Õ¥È¤âÌÌÇò¤½¤¦¤Ç¤¹¤Í¡¢¤È¤«¤Ä¤Ö¤ä¤¤¤Æ¤³¤Î¹à¤Ï¤ª³«¤­¤È¤·¤Þ¤¹¡£

Menu

´ÉÍý¿Í/Éû´ÉÍý¿Í¤Î¤ßÊÔ½¸¤Ç¤­¤Þ¤¹