I ran into the following problems while programming:
1、How can I tell whether a certain sector on the disk is occupied, and how can I search for and locate available disk space?
2、How can I safely move occupied sectors to available disk space (similar to Norton Speedisk)?
3、How can I keep a certain sector from being used by other programs (preferably not even readable)?
4、How can I add and remove bad cluster markers for a certain sector?
My knowledge is not broad, my level is not high, and my experience is insufficient. I ask all the experts here to enlighten me using Assembler/BASIC/C/C++.
1、How can I tell whether a certain sector on the disk is occupied, and how can I search for and locate available disk space?
2、How can I safely move occupied sectors to available disk space (similar to Norton Speedisk)?
3、How can I keep a certain sector from being used by other programs (preferably not even readable)?
4、How can I add and remove bad cluster markers for a certain sector?
My knowledge is not broad, my level is not high, and my experience is insufficient. I ask all the experts here to enlighten me using Assembler/BASIC/C/C++.

