Diff for /np2/fdd/newdisk.c between versions 1.7 and 1.8

version 1.7, 2004/01/30 01:29:13 version 1.8, 2004/03/04 15:20:13
Line 119  void newdisk_nhd(const char *fname, UINT Line 119  void newdisk_nhd(const char *fname, UINT
         size = hddsize * 16;          size = hddsize * 16;
         STOREINTELDWORD(nhd.cylinders, size);          STOREINTELDWORD(nhd.cylinders, size);
         STOREINTELWORD(nhd.surfaces, 8);          STOREINTELWORD(nhd.surfaces, 8);
   #if 0
         STOREINTELWORD(nhd.sectors, 32);          STOREINTELWORD(nhd.sectors, 32);
         STOREINTELWORD(nhd.sectorsize, 256);          STOREINTELWORD(nhd.sectorsize, 256);
   #else
           STOREINTELWORD(nhd.sectors, 16);
           STOREINTELWORD(nhd.sectorsize, 512);
   #endif
         r = (file_write(fh, &nhd, sizeof(nhd)) != sizeof(nhd));          r = (file_write(fh, &nhd, sizeof(nhd)) != sizeof(nhd));
         r |= writehddipl(fh, 256, size * 8 * 32 * 256);          r |= writehddipl(fh, 256, size * 8 * 32 * 256);
         file_close(fh);          file_close(fh);

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


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