使用的是API编程,可格式化、校验和读写特殊扇区。可用作Windows下的磁盘加密。本函数还有以下两个缺点以待改进: 1.本函数还只能读能读 A: 和 B:,即只能对软盘操作 2.不能改变磁盘扇区大小,只能是标准的 512 个字节。 参数说明: command 操作: 0 重置磁盘 2 读扇区 3 写扇区 4 校验磁道 5 格式化磁道 8 得到设备参数 (int 1EH) drive 驱动器 A:=0 B:=1 head 磁头号,范围 0 - 1 track 磁道号,范围 0 - 84 ( 80 - 84 为特殊磁道,通常用来加密 ) sector 扇区号,范围 0 - 255 ( 19 - 255 为非标准扇区编号,通常用来加密) nsectors 每次读或写的扇区数,不能超出每磁道的最大扇区数 buffer 数据写入或读出的缓冲区,大小为 512 个字节 返回值 ( 同 Int 13H ): 0x0 成功 0x1 无效的命令 0x3 磁盘被写保护 0x4 扇区没有找到 0xa 发现坏扇区 0x80 磁盘没有准备好
上传时间: 2013-12-05
上传用户:moerwang
JPEG图像生成器 自己做JPEG图象 很牛B哦
上传时间: 2013-11-28
上传用户:cuiyashuo
无线数传电台串口通信C程序源码 电台型号为深圳友迅达公司的F201/B无线数传电台
上传时间: 2014-01-24
上传用户:王小奇
R树与B树的混合树,在这个程序里面可以直接用R树和B树
标签: 树
上传时间: 2013-12-19
上传用户:ouyangtongze
实现雅可比叠代算法 在matlab中 输入矩阵A,b, 初值x 调用该函数 得到结果
上传时间: 2013-12-26
上传用户:lizhizheng88
排序算法、字典和B-树的C++语言实现 代码内容 包括以下算法: qui.c sort: quicksort qsort.c sort: qsort ins.c sort: insert sort shl.c sort: shell sort has.c dictionary: hash tables bin.c dictionary: binary tree rbt.c dictionary: red-black trees skl.c dictionary: skip lists ext.c external sort btr.c btree 语言 C++ 编译平台 Visual C++ 作者 Thomas Niemann 备注 来自Sorting and Searching Algorithms:A Cookbook
标签: sort qsort quicksort insert
上传时间: 2013-12-15
上传用户:silenthink
公司定饭系统 该系统是一个B/S结构的公司定饭系统,整套软件由JSP编制,请大家不要将它应用于商业环境,如实在要使用的话,请与作者联系!(使用此系统要ORACLE8i以上版本数据库!)
上传时间: 2014-01-19
上传用户:q123321
matlab解线性方程组的源代码 function x=nagauss2(a,b,flag) % 用途:选列主元Gauss消去法解线性方程组ax=b % 格式:x=nagauss2(a,b,flag) a为系数矩阵,b为右端列向量,flag若为0,则显示中间过程
标签: nagauss function matlab Gauss
上传时间: 2013-12-22
上传用户:exxxds
辨别成绩的小程序,比如说得5分是A,得4分是B,依次类推
上传时间: 2013-12-19
上传用户:ANRAN
asp构建网站bbs.采用B/S架构
上传时间: 2015-07-19
上传用户:wang5829