Diff for /np2/win9x/winkbd.cpp between versions 1.3 and 1.6

version 1.3, 2003/10/30 18:09:06 version 1.6, 2004/02/18 03:24:48
Line 1 Line 1
 #include        "compiler.h"  #include        "compiler.h"
 #include        "np2.h"  #include        "np2.h"
 #include        "winkbd.h"  #include        "winkbd.h"
 #include        "pccore.h"  #include        "keystat.h"
 #include        "iocore.h"  
   
   
 #define         NC              0xff  #define         NC              0xff
Line 35  static const BYTE key106[256] = { Line 34  static const BYTE key106[256] = {
                         //      <£°>,<£±>,<£²>,<£³>,<£´>,<£µ>,<£¶>,<£·>         ; 0x60                          //      <£°>,<£±>,<£²>,<£³>,<£´>,<£µ>,<£¶>,<£·>         ; 0x60
                                 0x4e,0x4a,0x4b,0x4c,0x46,0x47,0x48,0x42,                                  0x4e,0x4a,0x4b,0x4c,0x46,0x47,0x48,0x42,
                         //      <£¸>,<£¹>,<¡ö>,<¡Ü>,<¡¤>,<¡Ý>,<¡¥>,<¡¿>         ; 0x68                          //      <£¸>,<£¹>,<¡ö>,<¡Ü>,<¡¤>,<¡Ý>,<¡¥>,<¡¿>         ; 0x68
                                 0x43,0x44,0x45,0x49,  NC,0x40,0x50,0x41,                                  0x43,0x44,0x45,0x49,0x4f,0x40,0x50,0x41,
                         //       f.1, f.2, f.3, f.4, f.5, f.6, f.7, f.8         ; 0x70                          //       f.1, f.2, f.3, f.4, f.5, f.6, f.7, f.8         ; 0x70
                                 0x62,0x63,0x64,0x65,0x66,0x67,0x68,0x69,                                  0x62,0x63,0x64,0x65,0x66,0x67,0x68,0x69,
                         //       f.9, f10, f11, f12, f13, f14, f15, f16         ; 0x78                          //       f.9, f10, f11, f12, f13, f14, f15, f16         ; 0x78
Line 62  static const BYTE key106[256] = { Line 61  static const BYTE key106[256] = {
                                   NC,  NC,  NC,  NC,  NC,  NC,  NC,  NC,                                    NC,  NC,  NC,  NC,  NC,  NC,  NC,  NC,
                         //          ,    ,    ,    ,    ,    ,    ,             ; 0xd0                          //          ,    ,    ,    ,    ,    ,    ,             ; 0xd0
                                   NC,  NC,  NC,  NC,  NC,  NC,  NC,  NC,                                    NC,  NC,  NC,  NC,  NC,  NC,  NC,  NC,
                         //          ,    ,    ,  ¡Î,  ¡ï,  ¡Ï,  ¡°,             ; 0xd8                          //          ,    ,    ,  ¡Î,  ¡ï,  ¡Ï,  ¡°,  ¡²         ; 0xd8
                                   NC,  NC,  NC,0x1b,0x0d,0x28,0x0c,  NC,                                    NC,  NC,  NC,0x1b,0x0d,0x28,0x0c,0x33,
                         //          ,    ,  ¡²,    ,    ,    ,    ,             ; 0xe0                          //          ,    ,  ¡²,    ,    ,    ,    ,             ; 0xe0
                                   NC,  NC,0x33,  NC,  NC,  NC,  NC,  NC,                                    NC,  NC,0x33,  NC,  NC,  NC,  NC,  NC,
                         //          ,    ,    ,    ,    ,    ,    ,             ; 0xe8                          //          ,    ,    ,    ,    ,    ,    ,             ; 0xe8
Line 139  static const BYTE key106ext[256] = { Line 138  static const BYTE key106ext[256] = {
                         //          ,    ,    ,    ,    ,    ,    ,             ; 0xf8                          //          ,    ,    ,    ,    ,    ,    ,             ; 0xf8
                                   NC,  NC,  NC,  NC,  NC,  NC,  NC,  NC};                                    NC,  NC,  NC,  NC,  NC,  NC,  NC,  NC};
   
 static const BYTE f12keys[] = {  static const UINT8 f12keys[] = {
                         0x61, 0x60, 0x4d, 0x4f};                          0x61, 0x60, 0x4d, 0x4f, 0x76, 0x77};
   
   
 static BYTE getf12key(void) {  static BYTE getf12key(void) {
Line 148  static BYTE getf12key(void) { Line 147  static BYTE getf12key(void) {
         UINT    key;          UINT    key;
   
         key = np2oscfg.F12COPY - 1;          key = np2oscfg.F12COPY - 1;
         if (key < (sizeof(f12keys)/sizeof(BYTE))) {          if (key < (sizeof(f12keys)/sizeof(UINT8))) {
                 return(f12keys[key]);                  return(f12keys[key]);
         }          }
         else {          else {
Line 224  void winkbd_resetf12(void) { Line 223  void winkbd_resetf12(void) {
   
         UINT    i;          UINT    i;
   
         for (i=0; i<(sizeof(f12keys)/sizeof(BYTE)); i++) {          for (i=0; i<(sizeof(f12keys)/sizeof(UINT8)); i++) {
                 keystat_forcerelease(f12keys[i]);                  keystat_forcerelease(f12keys[i]);
         }          }
 }  }

Removed from v.1.3  
changed lines
  Added in v.1.6


RetroPC.NET-CVS <cvs@retropc.net>