Diff for /np2/bios/bios1b.c between versions 1.1 and 1.4

version 1.1, 2003/10/16 17:58:22 version 1.4, 2003/10/25 20:51:53
Line 1 Line 1
 #include        "compiler.h"  #include        "compiler.h"
 #include        "dosio.h"  
 #include        "i286.h"  #include        "i286.h"
 #include        "memory.h"  #include        "memory.h"
 #include        "pccore.h"  #include        "pccore.h"
Line 44  static void biosfd_setchrn(void) { Line 43  static void biosfd_setchrn(void) {
         fdc.N = I286_CH;          fdc.N = I286_CH;
 }  }
   
   #if 0
 static void biosfd_resultout(UINT32 result) {  static void biosfd_resultout(UINT32 result) {
   
         BYTE    *ptr;          BYTE    *ptr;
Line 58  static void biosfd_resultout(UINT32 resu Line 58  static void biosfd_resultout(UINT32 resu
         ptr[6] = fdc.N;          ptr[6] = fdc.N;
         ptr[7] = fdc.ncn;          ptr[7] = fdc.ncn;
 }  }
   #endif
   
 static BOOL biosfd_seek(BYTE track, BOOL ndensity) {  static BOOL biosfd_seek(BYTE track, BOOL ndensity) {
   
Line 1043  void bios0x1b(void) { Line 1044  void bios0x1b(void) {
                 }                  }
         }          }
 #endif  #endif
 #if 0 // def TRACE  #if 0
         {          TRACEOUT(("%04x:%04x AX=%04x BX=%04x %02x:%02x:%02x:%02x\n"     \
                 char    buf[256];  
                 wsprintf(buf, "%04x:%04x AX=%04x BX=%04x %02x:%02x:%02x:%02x\n" \  
                                                 "ES=%04x BP=%04x \nret=%02x",                                                  "ES=%04x BP=%04x \nret=%02x",
                         i286_memword_read(I286_SS, I286_SP+2),                          i286_memword_read(I286_SS, I286_SP+2),
                         i286_memword_read(I286_SS, I286_SP),                          i286_memword_read(I286_SS, I286_SP),
                         I286_AX, I286_BX, I286_CL, I286_DH, I286_DL, I286_CH,                           I286_AX, I286_BX, I286_CL, I286_DH, I286_DL, I286_CH, 
                         I286_ES, I286_BP, ret_ah);                          I286_ES, I286_BP, ret_ah));
                         TRACE_(buf, 0);  
         }  
 #endif  #endif
         I286_AH = ret_ah;          I286_AH = ret_ah;
         flag = i286_membyte_read(I286_SS, I286_SP+4) & 0xfe;          flag = i286_membyte_read(I286_SS, I286_SP+4) & 0xfe;

Removed from v.1.1  
changed lines
  Added in v.1.4


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