value.h

来自「1)MCS51内核」· C头文件 代码 · 共 28 行

H
28
字号



extern Uint16 FATSz16;
extern Uint16 BytsPerSec;
extern Uint16 RsvdSecCnt;
extern Uint16 RootEntCnt;

uchar code Unicode[1][1];

#define FATEntLBA mbr.LogicSector[0]+mbr.LogicSector[1]*0x100+mbr.LogicSector[2]*0x10000+mbr.LogicSector[3]*0x1000000+bpb.RsvdSecCnt[0]+bpb.RsvdSecCnt[1]*0x100+bpb.RsvdSecCnt[2]*0x10000+bpb.RsvdSecCnt[3]*0x1000000

#define FATSz16 bpb.FATSz16[0]+bpb.FATSz16[1]*256

#define BytsPerSec bpb.BytePerSector[0]+bpb.BytePerSector[1]*256

#define RootEntCnt bpb.RootEntCnt[0]+bpb.RootEntCnt[1]*256

#define RootDirSectors (Uint32)(((RootEntCnt*32)+(BytsPerSec-1))>>9)

#define FDTEntLBA FATEntLBA+bpb.NumFATs*FATSz16

#define DATAEntLBA FDTEntLBA+RootDirSectors




⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?