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

¥¨¥ß¥å¤ò»È¤Ã¤ÆIPL¥×¥í¥°¥é¥ß¥ó¥°¤â¤É¤­¡¡­¢

Á°¤Î¹à¤Ç²¼½àÈ÷¤¬½ª¤ï¤Ã¤¿¤Î¤Ç¡¢¼ÂºÝ¤ËIPL¤Ã¤Ý¤¤¤â¤Î¤òºî¤Ã¤Æ¤ß¤è¤¦¡¢¤È¤¤¤¦¼ÂÁ©¤ËÆþ¤ê¤Þ¤¹¡£

¤µ¤Æ¡¢MS-DOS¤Î¤È¤«¤Î¤ªÌó«¤Ç¤ÏIPL¤Î³«»Ï¤Ïjmp¤Ç¡¢¤½¤Î¤¢¤È¤Ë¥Ç¥£¥¹¥¯¾ðÊó¤È¤«¤¬Æþ¤Ã¤ÆIPL³«»Ï¡¢¤ß¤¿¤¤¤Ê¥Ñ¥¿¡¼¥ó¤Ë¤Ê¤Ã¤Æ¤Þ¤¹¡£
¤½¤ì¤òƧ½±¤·¤Æ¤â¤¤¤¤¤Î¤Ç¤¹¤¬¡¢¤»¤Ã¤«¤¯¤Ê¤Î¤Ç¥¬¥ó̵»ë¤·¤Æ¤·¤ç¤Ã¤Ñ¤Ê¤«¤éÆ°ºî¤ËÆþ¤Ã¤Æ¤ß¤Þ¤·¤ç¤¦¡£
°Ê²¼¤Î¥³¡¼¥É¤ò½ñ¤¤¤Æ²¼¤µ¤¤¡£¡ÊÀèƬ¤Ë¥¿¥Ö¤ò¤¤¤ì¤¿¤ê¤·¤Æ¤¯¤À¤µ¤¤¡£¡Ë

CODESEGMENT
assumeDS:CODE,CS:CODE,ES:CODE,SS:CODE
org 0
;¥ì¥¸¥¹¥¿¤Î½é´ü²½¤Ï¥¹¥ë¡¼(¤Þ¤¸¤á¤Ê¿Í¤Ï½ñ¤¯¤Ù¤·)

;²èÌ̾å¤ËÇò¤¤¢£¤ò½ñ¤¯
movax,0A000h
moves,ax
movcx,23
movdi,2000h
adddi,80
movax,0F1h
@@:pushcx
movcx,30
repSTOSW
popcx
adddi,100
loop@b

movcx,23
movax,087h
movdi,80
@@:pushcx
movcx,30
repSTOSW
popcx
adddi,100
loop@b

@@:;̵¸Â¥ë¡¼¥×
jmp@b


CODEENDS
END



°Ê¾å¤Î¥³¡¼¥É¤òJWASM¤Ç¥³¥ó¥Ñ¥¤¥ë¤·¤Þ¤¹¡£
jwasm /Fl /bin /Fo 00IPL0.com 00IPL0.TXT
pause
¤Î¤è¤¦¤Ëµ­½Ò¤·¤¿.bat¤òºî¤ë¤È°ìȯ¤Çcom¥Õ¥¡¥¤¥ë¤¬¤Ç¤­¤ÆÊØÍø¤Ç¤¹¡£

½ÐÍ褿com¥Õ¥¡¥¤¥ë¤ò¥Ð¥¤¥Ê¥ê¥¨¥Ç¥£¥¿¤Ç³«¤¤¤ÆNFD¤ÎËöÈø¤Ë¥³¥Ô¥Ú¤·¤ÆÊݸ¤¹¤ì¤ÐOK¤Ç¤¹¡£


¤³¤Î¥Ç¥£¥¹¥¯¤òt98¤Ç³«¤¯¤È°Ê²¼¤Î¤è¤¦¤Ë¤Ê¤ë¤Ï¤º¤Ç¤¹¡£



¤³¤ì¤Ç²¾Æ°ºî¤ÏOK¤À¤È³Îǧ¤Ç¤­¤Þ¤·¤¿¡£
¤³¤Î¤Þ¤Þ¤Ç¤Ï½é¤á¤Î1024byte¤·¤«»È¤¨¤Ê¤¤¤Î¤Ç¡¢¼¡¤Î¹à¤Ç¤Ï¥»¥¯¥¿2°Ê¹ß¤òÆɤ߼è¤ë¥Æ¥¹¥È¤ò¤·¤Æ¤ß¤Þ¤·¤ç¤¦¡£


¤Á¤Ê¤ß¤Ë¡¢¤³¤ì¤ò.386°Ê¹ßÂбþ¤Ë¤¹¤ë¾ì¹ç¤Ï
.386¤ò¹ÔƬ¤Ë½ñ¤«¤º¡¢

.model tiny
.386 or .486
¤Èµ­½Ò¤·¤Ê¤¤¤È¡¢16bit¥»¥°¥á¥ó¥È¤Ç¤Ï¤Ê¤¯32bit¥»¥°¥á¥ó¥È¤Ë¤Ê¤Ã¤Æ¤·¤Þ¤¦¤Î¤Ç¥Ð¥°¤ê¤Þ¤¹¡£
MASM6¤Î»ÈÍѤǤ¹¤¬¡¢¥Ï¥Þ¤ê°×¤¤¤Î¤ÇÃí°Õ¤¬É¬ÍפǤ¹¡£

Menu

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