⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 fat directory entry.txt

📁 基于C51及SL811读写U盘的开发文档资料,包括芯片数据手册,测试命令及测试工具,电路原理图,配合基于C51及SL811读写U盘的源程序C51_SL811_ModeDisk_Program就可以产生
💻 TXT
字号:
template "FAT Directory Entry"

// Template by Stefan Fleischmann

// To be applied to a sector of a FAT16 or FAT32 drive
// that contains a directory. Not suitable for LFN
// (long filename) directory entries.

description "Normal/short entry format"
applies_to disk
multiple

begin
	char[8]	"Filename (blank-padded)"
	char[3]	"Extension (blank-padded)"
	hex 1		"0F = LFN entry"
	move		-1
	binary	"Attributes ( - -a-dir-vol-s-h-r)"
	goto		0
	hex 1		"00 = Never used, E5 = Erased"
	move		11
	read-only byte "(reserved)"
	move		1
	DOSDateTime	"Creation date & time"
	move		-5
	byte		"Cr. time refinement in 10-ms units"
	move		2
	DOSDateTime	"Access date (no time!)"
	move		2
	DOSDateTime	"Update date & time"
	move		-6
	uint16	"(FAT 32) High word of cluster #"
	move		4
	uint16	"16-bit cluster #"
	uint32	"File size (zero for a directory)"
end

⌨️ 快捷键说明

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