Hi Arkady, FreeDOS 2033 supports the following int 21.65 subfunctions as far as I can tell from the sources: 20-22, a0-a2, 23, 38, 1, and possibly 2 and 4 ... code is a bit hard to read there.
> - instead "<= FAT_MAGIC*" used "< FAT_MAGIC*" comparision. [BTW, FAT_MAGIC > and FAT_MAGIC16 should be FAT12_LAST and FAT16_LAST.] Currently I replace > this code by more compact code (suggested by Eric :), which checks how > much sectors in FAT. I can only recommend this for places where space is more important than acuracy, e.g. in boot sectors. While it is true that a FAT16 fat is >= 16 sectors in any case, a FAT12 fat with > 12 sectors can exist (people can have padded it to bigger size with unused fat sectors) as well. Eric. ------------------------------------------------------- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps & Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click _______________________________________________ Freedos-kernel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/freedos-kernel
