中国DOS联盟论坛

China DOS Union

-- Unite DOS · Advance DOS · Grow DOS --
Union site: www.cn-dos.net Forum site: www.cn-dos.net/forum
Guest | Log in | Register | Members | Search | China DOS Union
中国DOS联盟论坛
The time now is 2026-09-15 05:37
47,812 topics / 349,917 posts / today 0 new / 48,268 members
DOS开发编程 & 发展交流 (开发室) » Question about DOS code
Printable Version  774 / 1
Floor1 hutianyue Posted 2003-10-20 00:00
初级用户 Posts 1 Credits 105
I've been writing some more programs about hard disk read/write, and when I referred to the DOS source code, it felt like a complete mess. Has any expert had experience in this area? I'd appreciate your guidance. Also, under DOS, how is file deletion handled? For example, for a FAT32 partition, when deleting a directory entry, how is it processed? Is the FAT table modified? How is it modified? (I heard the FAT table is modified using some method, and it doesn't completely clear all FAT tables, supposedly for undelete.) I'd appreciate it if someone who understands this could tell me clearly, so I won't have to keep referring to that depressing DOS code.
Floor2 iceboy Posted 2003-10-24 00:00
银牌会员 Posts 512 Credits 1,681
Referring to DOS source code...? Geez...
Anyway, this is all I know:
In the DIR table, each file's information occupies 32 bytes, and it contains a deletion flag. When that byte has a specific value, the file is "deleted"; actually it has not been wiped from the hard disk.
[ Contact the Union admin team - 中国DOS联盟 - Standard version ]
Sponsored by ifanr Inc | © 2001–2023