Page 1 of 1

Using ADFFS with !PCPro

Posted: Fri May 27, 2016 2:08 pm
by JonAbbott
If you wish to use ADFFS to mount DOS floppy images and make them accessible within !PCPro, you need to update !PCPro's !RunImage to v3.09 attached below. This fixes an issue where it passes an invalid disc record to ADFS when reading sectors.

The previous version (v3.08) which contains the complete !PCPro suite can be downloaded here, replace !PC.!RunImage with:
PCPro309.zip
(78.19 KiB) Downloaded 31 times
ADFFS v2.56 or later supports mounting FAT based floppy images.

If you wish to compile your own version of !PCPro, the source for the latest official release can be downloaded here and the fix you need to apply is within PC.DEV.c.Fdd_hdc:

Change the following line within the SetDiskRecord subroutine:

Code: Select all

DiskRec.nsects     = lastsect - DiskRec.firstsect + 1;
to:

Code: Select all

DiskRec.nsects     = pDI->nsects;