16/wf3d8086/contigsc.c: shape = PM_GetSpritePage (shapenum);\r
16/wf3d8086/contigsc.c: shape = PM_GetSpritePage (shapenum);\r
+\r
16/wf3d8086/id_sd.c: addr = PM_GetSoundPage(page);\r
16/wf3d8086/id_sd.c: PM_SetPageLock(PMSoundStart + page,pml_Locked);\r
16/wf3d8086/id_sd.c: PM_SetPageLock(i + PMSoundStart,pml_Unlocked);\r
16/wf3d8086/id_sd.c: PM_CheckMainMem();\r
16/wf3d8086/id_sd.c: p = (word far *)MK_FP(PM_GetPage(ChunksInFile - 1),0);\r
16/wf3d8086/id_sd.c: PM_UnlockMainMem();\r
-16/wf3d8086/oldscale.c: shape = PM_GetSpritePage (shapenum);\r
-16/wf3d8086/oldscale.c: shape = PM_GetSpritePage (shapenum);\r
+\r
16/wf3d8086/wl_act2.c: PM_UnlockMainMem ();\r
16/wf3d8086/wl_act2.c: PM_CheckMainMem ();\r
+\r
16/wf3d8086/wl_debug.c: addr = PM_GetPageAddress(i);\r
16/wf3d8086/wl_debug.c: PM_GetPage(j);\r
16/wf3d8086/wl_debug.c: PM_GetPage(i);\r
+\r
16/wf3d8086/wl_draw.c: *( ((unsigned *)&postsource)+1) = (unsigned)PM_GetPage(wallpic);\r
16/wf3d8086/wl_draw.c: *( ((unsigned *)&postsource)+1) = (unsigned)PM_GetPage(wallpic);\r
16/wf3d8086/wl_draw.c: *( ((unsigned *)&postsource)+1) = (unsigned)PM_GetPage(doorpage);\r
16/wf3d8086/wl_draw.c: *( ((unsigned *)&postsource)+1) = (unsigned)PM_GetPage(doorpage+1);\r
16/wf3d8086/wl_draw.c: *( ((unsigned *)&postsource)+1) = (unsigned)PM_GetPage(wallpic);\r
16/wf3d8086/wl_draw.c: *( ((unsigned *)&postsource)+1) = (unsigned)PM_GetPage(wallpic);\r
+\r
16/wf3d8086/wl_draw.c: PM_NextFrame();\r
+\r
16/wf3d8086/wl_game.c: PM_UnlockMainMem();\r
16/wf3d8086/wl_game.c: PM_CheckMainMem ();\r
16/wf3d8086/wl_game.c: PM_CheckMainMem ();\r
16/wf3d8086/wl_game.c: PM_CheckMainMem ();\r
16/wf3d8086/wl_game.c: PM_CheckMainMem ();\r
+\r
16/wf3d8086/wl_inter.c: PM_Preload (PreloadUpdate);\r
+\r
16/wf3d8086/wl_main.c: PM_Shutdown ();\r
16/wf3d8086/wl_main.c: PM_Startup ();\r
16/wf3d8086/wl_main.c: PM_UnlockMainMem ();\r
+\r
16/wf3d8086/wl_menu.c: PM_CheckMainMem ();\r
16/wf3d8086/wl_menu.c: PM_CheckMainMem ();\r
+\r
16/wf3d8086/wl_play.c: PM_CheckMainMem ();\r
16/wf3d8086/wl_play.c: PM_CheckMainMem ();\r
16/wf3d8086/wl_play.c: PM_CheckMainMem ();\r
16/wf3d8086/wl_play.c: PM_CheckMainMem ();\r
16/wf3d8086/wl_play.c: PM_CheckMainMem ();\r
+\r
16/wf3d8086/wl_scale.c: shape = PM_GetSpritePage (shapenum);\r
16/wf3d8086/wl_scale.c: shape = PM_GetSpritePage (shapenum);\r
+\r
16/wf3d8086/wolfhack.c: src = PM_GetPage(0);\r
16/wf3d8086/wolfhack.c: src = PM_GetPage(1);\r
16/wolf3d/WOLFSRC/CONTIGSC.C: shape = PM_GetSpritePage (shapenum);\r
16/wolf3d/WOLFSRC/CONTIGSC.C: shape = PM_GetSpritePage (shapenum);\r
+\r
16/wolf3d/WOLFSRC/ID_SD.C: addr = PM_GetSoundPage(page);\r
16/wolf3d/WOLFSRC/ID_SD.C: PM_SetPageLock(PMSoundStart + page,pml_Locked);\r
16/wolf3d/WOLFSRC/ID_SD.C: PM_SetPageLock(i + PMSoundStart,pml_Unlocked);\r
16/wolf3d/WOLFSRC/ID_SD.C: PM_CheckMainMem();\r
16/wolf3d/WOLFSRC/ID_SD.C: p = (word far *)MK_FP(PM_GetPage(ChunksInFile - 1),0);\r
16/wolf3d/WOLFSRC/ID_SD.C: PM_UnlockMainMem();\r
-16/wolf3d/WOLFSRC/OLDSCALE.C: shape = PM_GetSpritePage (shapenum);\r
-16/wolf3d/WOLFSRC/OLDSCALE.C: shape = PM_GetSpritePage (shapenum);\r
+\r
16/wolf3d/WOLFSRC/WL_ACT2.C: PM_UnlockMainMem ();\r
16/wolf3d/WOLFSRC/WL_ACT2.C: PM_CheckMainMem ();\r
+\r
16/wolf3d/WOLFSRC/WL_DEBUG.C: addr = PM_GetPageAddress(i);\r
16/wolf3d/WOLFSRC/WL_DEBUG.C: PM_GetPage(j);\r
16/wolf3d/WOLFSRC/WL_DEBUG.C: PM_GetPage(i);\r
+\r
16/wolf3d/WOLFSRC/WL_DRAW.C: *( ((unsigned *)&postsource)+1) = (unsigned)PM_GetPage(wallpic);\r
16/wolf3d/WOLFSRC/WL_DRAW.C: *( ((unsigned *)&postsource)+1) = (unsigned)PM_GetPage(wallpic);\r
16/wolf3d/WOLFSRC/WL_DRAW.C: *( ((unsigned *)&postsource)+1) = (unsigned)PM_GetPage(doorpage);\r
16/wolf3d/WOLFSRC/WL_DRAW.C: *( ((unsigned *)&postsource)+1) = (unsigned)PM_GetPage(doorpage+1);\r
16/wolf3d/WOLFSRC/WL_DRAW.C: *( ((unsigned *)&postsource)+1) = (unsigned)PM_GetPage(wallpic);\r
16/wolf3d/WOLFSRC/WL_DRAW.C: *( ((unsigned *)&postsource)+1) = (unsigned)PM_GetPage(wallpic);\r
+\r
16/wolf3d/WOLFSRC/WL_DRAW.C: PM_NextFrame();\r
+\r
16/wolf3d/WOLFSRC/WL_GAME.C: PM_UnlockMainMem();\r
16/wolf3d/WOLFSRC/WL_GAME.C: PM_CheckMainMem ();\r
16/wolf3d/WOLFSRC/WL_GAME.C: PM_CheckMainMem ();\r
16/wolf3d/WOLFSRC/WL_GAME.C: PM_CheckMainMem ();\r
16/wolf3d/WOLFSRC/WL_GAME.C: PM_CheckMainMem ();\r
+\r
16/wolf3d/WOLFSRC/WL_INTER.C: PM_Preload (PreloadUpdate);\r
+\r
16/wolf3d/WOLFSRC/WL_MAIN.C: PM_Shutdown ();\r
16/wolf3d/WOLFSRC/WL_MAIN.C: PM_Startup ();\r
16/wolf3d/WOLFSRC/WL_MAIN.C: PM_UnlockMainMem ();\r
+\r
16/wolf3d/WOLFSRC/WL_MENU.C: PM_CheckMainMem ();\r
16/wolf3d/WOLFSRC/WL_MENU.C: PM_CheckMainMem ();\r
+\r
16/wolf3d/WOLFSRC/WL_PLAY.C: PM_CheckMainMem ();\r
16/wolf3d/WOLFSRC/WL_PLAY.C: PM_CheckMainMem ();\r
16/wolf3d/WOLFSRC/WL_PLAY.C: PM_CheckMainMem ();\r
16/wolf3d/WOLFSRC/WL_PLAY.C: PM_CheckMainMem ();\r
16/wolf3d/WOLFSRC/WL_PLAY.C: PM_CheckMainMem ();\r
+\r
16/wolf3d/WOLFSRC/WL_SCALE.C: shape = PM_GetSpritePage (shapenum);\r
16/wolf3d/WOLFSRC/WL_SCALE.C: shape = PM_GetSpritePage (shapenum);\r
+\r
16/wolf3d/WOLFSRC/WOLFHACK.C: src = PM_GetPage(0);\r
16/wolf3d/WOLFSRC/WOLFHACK.C: src = PM_GetPage(1);\r
static void\r
INL_StartKbd()\r
{\r
+ byte far *lock_key;\r
INL_KeyHook = 0; // Clear key hook\r
\r
IN_ClearKeysDown();\r
\r
OldKeyVect = _dos_getvect(KeyInt);\r
+\r
+ // turn off num-lock via BIOS\r
+ lock_key = MK_FP(0x040, 0x017); // Pointing to the address of the bios shift state keys\r
+ *lock_key&=(~(16 | 32 | 64)); // toggle off the locks by changing the values of the 4th, 5th, and 6th bits of the address byte of 0040:0017\r
+ OldKeyVect(); // call BIOS keyhandler to change keyboard lights\r
_dos_setvect(KeyInt,INL_KeyService);\r
}\r
\r