Using ADFFS with !PCPro

Discuss the project, or ask a general question
Post Reply
JonAbbott
Posts: 2938
Joined: Thu Apr 11, 2013 12:13 pm
Location: Essex
Contact:

Using ADFFS with !PCPro

Post 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 373 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;
Post Reply