使用的是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
MD消息摘要程序,MD5以512位分组来处理输入的信息,且每一分组又被划分为16个32位子分组,经过了一系列的处理后,算法的输出由四个32位分组组成,将这四个32位分组级联后将生成一个128位散列值。
标签: 程序
上传时间: 2014-03-08
上传用户:星仔
AT29C040,W29C040及其兼容小扇区,5V,FLASH MEMORY 读写程序。这类芯片扇区为256字节。MX29C040等512字节需修改扇区字节数据。本程序在成功应用在三菱M30802,M30620等系列CPU上。供参考。
上传时间: 2014-11-12
上传用户:xmsmh
用C写的I2C总线EEPROM读写程序,在MSP430+AT24C64~512平台上验证通过。对其他处理器只需简单修改即可使用。
上传时间: 2015-06-25
上传用户:luke5347
x25045的编程应用,它具有512字节的EPROM,看门狗,复位信号等,是MCU不错的外围芯片
上传时间: 2014-01-05
上传用户:a3318966
x25045的编程应用(51汇编格式),它具有512字节的EPROM,看门狗,复位信号等,是MCU不错的外围芯片
上传时间: 2015-06-29
上传用户:jichenxi0730
这个程序是网络信息安全概论课的课程实践,自己动手编写一个具于1024位大数 运算的ELGamal加密系统。 ELGamal 依赖大数运算,目前主流ELGamal算法都建立在512 到1024位的大数运算之上。 而大多数的编译器只能支持到64位的整数运算,即我们在运算中所使用的整数必须小 于等于64位,即:0xffffffffffffffff,也就是18446744073709551615,这远远达不 到RSA 的需要,于是需要专门建立大数运算库来解决这一问题
上传时间: 2014-01-22
上传用户:helmos
A general technique for the recovery of signicant image features is presented. The technique is based on the mean shift algorithm, a simple nonparametric pro- cedure for estimating density gradients. Drawbacks of the current methods (including robust clustering) are avoided. Feature space of any nature can be processed, and as an example, color image segmentation is dis- cussed. The segmentation is completely autonomous, only its class is chosen by the user. Thus, the same program can produce a high quality edge image, or pro- vide, by extracting all the signicant colors, a prepro- cessor for content-based query systems. A 512 512 color image is analyzed in less than 10 seconds on a standard workstation. Gray level images are handled as color images having only the lightness coordinate
标签: technique presented features recovery
上传时间: 2015-10-14
上传用户:410805624
一个发送程序给大家玩一玩,用于512接口程序
上传时间: 2013-12-15
上传用户:英雄
DBR简介,DBR区(DOS BOOT RECORD)即操作系统引导记录区的意思,通常占用分区的 第0 扇区共512 个字节(特殊情况也要占用其它保留扇区,我们先说第0 扇)。
上传时间: 2013-12-27
上传用户:a673761058