- player[pn].enti.x = player[pn].enti.tx*TILEWH;\r
- player[pn].enti.y = player[pn].enti.ty*TILEWH;\r
- player[pn].enti.triggerx = player[pn].enti.tx;\r
- player[pn].enti.triggery = player[pn].enti.ty+1;\r
-/* player[0].info.x = player[0].tx;\r
- player[0].info.xaxis = player[0].tx*TILEWH;\r
- player[0].info.y = player[0].ty;\r
- player[0].info.yaxis = player[0].ty*TILEWH;*/\r
- player[pn].enti.q =1;\r
- player[pn].enti.d =2;\r
- player[pn].enti.hp=4;\r
- player[pn].enti.speed=4;\r
- player[pn].enti.persist_aniframe=0;\r
- player[pn].enti.spt=(TILEWH/(player[pn].enti.speed)); //speed per tile wwww\r
+ byte far *lock_key;\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