Diff for /np2/io/np2sysp.c between versions 1.5 and 1.6

version 1.5, 2003/12/28 14:33:34 version 1.6, 2004/01/05 05:04:54
Line 18 Line 18
 #define         CLOSE_HOSTDRV           2  #define         CLOSE_HOSTDRV           2
   
 // NP2依存ポート  // NP2依存ポート
 // port:07edh   reserved  // port:07edh   np2 value comm
 // port:07efh   np2 string comm  // port:07efh   np2 string comm
   
 // 基本的に STRINGでやり取りする  // 基本的に STRINGでやり取りする
Line 264  static BOOL np2syspcmp(const char *p) { Line 264  static BOOL np2syspcmp(const char *p) {
         return(FALSE);          return(FALSE);
 }  }
   
   static void IOOUTCALL np2sysp_o7ed(UINT port, REG8 dat) {
   
           np2sysp.outval = (dat << 24) + (np2sysp.outval >> 8);
   }
   
 static void IOOUTCALL np2sysp_o7ef(UINT port, REG8 dat) {  static void IOOUTCALL np2sysp_o7ef(UINT port, REG8 dat) {
   
 const SYSPCMD   *cmd;  const SYSPCMD   *cmd;
Line 284  const SYSPCMD *cmdterm; Line 289  const SYSPCMD *cmdterm;
         (void)port;          (void)port;
 }  }
   
   static REG8 IOINPCALL np2sysp_i7ed(UINT port) {
   
           REG8    ret;
   
           ret = (REG8)(np2sysp.inpval & 0xff);
           np2sysp.inpval = (ret << 24) + (np2sysp.inpval >> 8);
           return(ret);
   }
   
 static REG8 IOINPCALL np2sysp_i7ef(UINT port) {  static REG8 IOINPCALL np2sysp_i7ef(UINT port) {
   
         REG8    ret;          REG8    ret;
Line 307  void np2sysp_reset(void) { Line 321  void np2sysp_reset(void) {
   
 void np2sysp_bind(void) {  void np2sysp_bind(void) {
   
           iocore_attachout(0x07ef, np2sysp_o7ed);
         iocore_attachout(0x07ef, np2sysp_o7ef);          iocore_attachout(0x07ef, np2sysp_o7ef);
           iocore_attachinp(0x07ef, np2sysp_i7ed);
         iocore_attachinp(0x07ef, np2sysp_i7ef);          iocore_attachinp(0x07ef, np2sysp_i7ef);
 }  }
   

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


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