Diff for /np2/fdd/fddfile.c between versions 1.3 and 1.8

version 1.3, 2004/01/27 07:51:49 version 1.8, 2005/02/07 14:46:09
Line 10 Line 10
   
   
         _FDDFILE        fddfile[MAX_FDDFILE];          _FDDFILE        fddfile[MAX_FDDFILE];
         BYTE            fddlasterror;          UINT8           fddlasterror;
   
   
 static const char str_88d[] = "88d";  
 static const char str_98d[] = "98d";  
   
   
 // ----  // ----
   
 void fddfile_init(void) {  void fddfile_initialize(void) {
   
         ZeroMemory(fddfile, sizeof(fddfile));          ZeroMemory(fddfile, sizeof(fddfile));
 }  }
Line 75  const char  *p; Line 71  const char  *p;
                         (!milstr_cmp(p, str_d98)) || (!milstr_cmp(p, str_98d))) {                          (!milstr_cmp(p, str_d98)) || (!milstr_cmp(p, str_98d))) {
                         ftype = FTYPE_D88;                          ftype = FTYPE_D88;
                 }                  }
                   else if (!milstr_cmp(p, str_fdi)) {
                           ftype = FTYPE_FDI;
                   }
                 else {                  else {
                         ftype = FTYPE_BETA;                          ftype = FTYPE_BETA;
                 }                  }
         }          }
         fdd = fddfile + drv;          fdd = fddfile + drv;
         switch(ftype) {          switch(ftype) {
                   case FTYPE_FDI:
                           if (fddxdf_setfdi(fdd, fname, ro) == SUCCESS) {
                                   return(SUCCESS);
                           }
   
                 case FTYPE_BETA:                  case FTYPE_BETA:
                         return(fddxdf_set(fdd, fname, ro));                          return(fddxdf_set(fdd, fname, ro));
   
Line 217  BOOL fdd_formatinit(void) { Line 221  BOOL fdd_formatinit(void) {
         return(FAILURE);          return(FAILURE);
 }  }
   
 BOOL fdd_formating(const BYTE *ID) {  BOOL fdd_formating(const UINT8 *ID) {
   
         sysmng_fddaccess(fdc.us);          sysmng_fddaccess(fdc.us);
         if (fddfile[fdc.us].type == DISKTYPE_D88) {          if (fddfile[fdc.us].type == DISKTYPE_D88) {

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


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