-
Нужен исходник, функционально аналогичный VFD (Virtual Floppy Drive), или рекмендации по его написанию.
-
There is VFD code in C, but it is a device driver. You can not (easily, there are tricks) write a device driver in Delphi, including KOL.
It requires quite some work including linker issues etc etc.
What is possible is to mount a floppy image as a file in a single process. See what I can do. -
Small code example:
var
hCD, HFile:THandle;
lpSector:Pointer;
dwSize:DWORD;
begin
lpSector := AllocMem(SECTOR_SIZE);
SetFilePointer (hCD, 512 * 4, nil, FILE_BEGIN);
if ReadFile (hCD, lpSector^, dwSize, dwNotUsed, nil) then
WriteFile (hFile, lpSector, dwSize, dwNotUsed, nil);
end.
// ...etc. -
Thank you for your help.