Diff for /np2/fdd/fddfile.c between versions 1.1 and 1.2

version 1.1, 2003/10/16 17:58:28 version 1.2, 2003/10/28 22:05:46
Line 1 Line 1
 #include        "compiler.h"  #include        "compiler.h"
 #include        "strres.h"  #include        "strres.h"
 #include        "dosio.h"  #include        "dosio.h"
   #include        "sysmng.h"
 #include        "pccore.h"  #include        "pccore.h"
 #include        "iocore.h"  #include        "iocore.h"
 #include        "fddfile.h"  #include        "fddfile.h"
Line 164  BOOL fdd_read(void) { Line 165  BOOL fdd_read(void) {
   
         FDDFILE         fdd;          FDDFILE         fdd;
   
           sysmng_fddaccess(fdc.us);
         fdd = fddfile + fdc.us;          fdd = fddfile + fdc.us;
         switch(fdd->type) {          switch(fdd->type) {
                 case DISKTYPE_BETA:                  case DISKTYPE_BETA:
Line 179  BOOL fdd_write(void) { Line 181  BOOL fdd_write(void) {
   
         FDDFILE         fdd;          FDDFILE         fdd;
   
           sysmng_fddaccess(fdc.us);
         fdd = fddfile + fdc.us;          fdd = fddfile + fdc.us;
         switch(fdd->type) {          switch(fdd->type) {
                 case DISKTYPE_BETA:                  case DISKTYPE_BETA:
Line 194  BOOL fdd_readid(void) { Line 197  BOOL fdd_readid(void) {
   
         FDDFILE         fdd;          FDDFILE         fdd;
   
           sysmng_fddaccess(fdc.us);
         fdd = fddfile + fdc.us;          fdd = fddfile + fdc.us;
         switch(fdd->type) {          switch(fdd->type) {
                 case DISKTYPE_BETA:                  case DISKTYPE_BETA:
Line 215  BOOL fdd_formatinit(void) { Line 219  BOOL fdd_formatinit(void) {
   
 BOOL fdd_formating(const BYTE *ID) {  BOOL fdd_formating(const BYTE *ID) {
   
           sysmng_fddaccess(fdc.us);
         if (fddfile[fdc.us].type == DISKTYPE_D88) {          if (fddfile[fdc.us].type == DISKTYPE_D88) {
                 return(fdd_formating_d88(ID));                  return(fdd_formating_d88(ID));
         }          }

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


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