--- np2/win9xc/np2.cpp 2004/02/18 06:19:01 1.17 +++ np2/win9xc/np2.cpp 2004/03/19 00:30:02 1.24 @@ -18,6 +18,7 @@ #include "winkbd.h" #include "ini.h" #include "menu.h" +#include "debugwin.h" #include "dialog.h" #include "cpucore.h" #include "pccore.h" @@ -40,7 +41,9 @@ #define OPENING_WAIT 1500 #endif -#if defined(CPUCORE_IA32) +#if defined(SUPPORT_PC9821) + const char szAppCaption[] = "Neko Project-21"; +#elif defined(CPUCORE_IA32) const char szAppCaption[] = "Neko Project II (IA-32)"; #else const char szAppCaption[] = "Neko Project II (C Version)"; @@ -441,6 +444,16 @@ static void np2cmd(HWND hWnd, UINT16 cmd update |= SYS_UPDATECFG; break; + case IDM_MEM116: + xmenu_setextmem(11); + update |= SYS_UPDATECFG; + break; + + case IDM_MEM136: + xmenu_setextmem(13); + update |= SYS_UPDATECFG; + break; + case IDM_MOUSE: mousemng_toggle(MOUSEPROC_SYSTEM); xmenu_setmouse(np2oscfg.MOUSE_SW ^ 1); @@ -731,6 +744,7 @@ static void framereset(void) { framecnt = 0; sysmng_updatecaption(); + debugwin_process(); } static void processwait(UINT cnt) { @@ -806,6 +820,7 @@ int WINAPI WinMain(HINSTANCE hInstance, return(FALSE); } } + debugwin_initapp(hInstance); mousemng_initialize(); @@ -889,6 +904,8 @@ int WINAPI WinMain(HINSTANCE hInstance, pccore_reset(); + debugwin_create(); + np2opening = 0; // リセットしてから… コマンドラインのディスク挿入。 // ver0.29 @@ -980,6 +997,7 @@ int WINAPI WinMain(HINSTANCE hInstance, S98_trash(); pccore_term(); + debugwin_destroy(); soundmng_deinitialize(); scrnmng_destroy();