X-Git-Url: https://git.ucc.asn.au/?a=blobdiff_plain;f=Modules%2FFDD%2Ffdd.c;h=69d3a5592c1f8f68ce5c74de128a4665665625fa;hb=ef8e2023c5ccda376398348600a5a5364fe2841b;hp=2cf28b6440dbaccf452f69c80478720fa4bd5bba;hpb=1e7db40300bc594cf708bb6082a6e05a268da946;p=tpg%2Facess2.git diff --git a/Modules/FDD/fdd.c b/Modules/FDD/fdd.c index 2cf28b64..69d3a559 100644 --- a/Modules/FDD/fdd.c +++ b/Modules/FDD/fdd.c @@ -3,7 +3,7 @@ * Floppy Disk Access Code */ #define DEBUG 0 -#include +#include #include #include #include @@ -151,7 +151,7 @@ int FDD_Install(char **Arguments) gFDD_Devices[0].track[0] = -1; gFDD_Devices[1].track[1] = -1; - Log("[FDD ] Detected Disk 0: %s and Disk 1: %s\n", cFDD_TYPES[data>>4], cFDD_TYPES[data&0xF]); + Log("[FDD ] Detected Disk 0: %s and Disk 1: %s", cFDD_TYPES[data>>4], cFDD_TYPES[data&0xF]); // Clear FDD IRQ Flag FDD_SensInt(0x3F0, NULL, NULL); @@ -635,6 +635,7 @@ int FDD_int_GetDims(int type, int lba, int *c, int *h, int *s, int *spt) *s = (lba % 18) + 1; *c = lba / 36; *h = (lba / 18) & 1; + //Log("1440k - lba=%i(0x%x), *s=%i,*c=%i,*h=%i", lba, lba, *s, *c, *h); break; // 2880Kb 3.5"