; ; +-------------------------------------------------------------------------+ ; | This file has been generated by The Interactive Disassembler (IDA) | ; | Copyright (c) 2009 by Hex-Rays, | ; +-------------------------------------------------------------------------+ ; ; Input MD5 : 7C8F4CAB7F06B9A218E838D50BB4E314 ; File Name : D:\Dev\PC98\Games\th05\zun_arc_g_gjinit.com ; Format : MS-DOS COM-file ; Base Address: 0h Range: 100h-21B9h Loaded length: 20B9h ; OS type : MS DOS ; Application type: Executable 16bit .8086 .model tiny .code org 100h ; =============== S U B R O U T I N E ======================================= public start start proc near mov dx, offset aGaijiSetupProg ; "\x1B*GAIJI Setup Program "... mov ah, 9 int 21h ; DOS - PRINT STRING ; DS:DX -> string terminated by "$" mov si, offset _sGAIJI mov al, 0Bh out 68h, al xor dx, dx loc_110: mov ax, dx add ax, 5680h and al, 7Fh out 0A1h, al mov al, ah out 0A3h, al mov cx, 10h xor bl, bl loc_122: mov al, bl or al, 20h out 0A5h, al lodsw out 0A9h, al mov al, bl out 0A5h, al mov al, ah out 0A9h, al inc bl loop loc_122 inc dl jnz short loc_110 mov al, 0Ah out 68h, al mov dx, offset aKooV ; "外字を定義しましたわ\r\n\r\n$" mov ah, 9 int 21h ; DOS - PRINT STRING ; DS:DX -> string terminated by "$" mov ax, 4C00h int 21h ; DOS - 2+ - QUIT WITH EXIT CODE (EXIT) start endp ; AL = exit code ; --------------------------------------------------------------------------- .data aGaijiSetupProg db 1Bh,'*GAIJI Setup Program Version 1.00 (C)1998 ZUN',0Dh,0Ah,'$' aKooV db '外字を定義しましたわ',0Dh,0Ah db 0Dh,0Ah,'$' include th05/sprites/gaiji.asp end start