51读写硬盘的程序模块,编译完全通过,移植方面,实用.
源代码在线查看: hard disk control.uv2
### uVision2 Project, (C) Keil Software
### Do not modify !
Target (Hard disk control), 0x0000 // Tools: 'MCS-51'
Group (Source Group 1)
File 1,2, 0x0
File 1,1, 0x0
Options 1,0,0 // Target 'Hard disk control'
Device (AT89C51)
Vendor (Atmel)
Cpu (IRAM(0-0x7F) IROM(0-0xFFF) CLOCK(24000000))
FlashUt ()
StupF ("LIB\STARTUP.A51" ("Standard 8051 Startup Code"))
FlashDR ()
DevID ()
Rgf (REGX51.H)
Mem ()
C ()
A ()
RL ()
OH ()
DBC_IFX ()
DBC_CMS ()
DBC_AMS ()
DBC_LMS ()
UseEnv=0
EnvBin ()
EnvInc ()
EnvLib ()
EnvReg (