📄 nandflash_disk.reg
字号:
;==============================================================
;Hive Register Partition(6M)
;--------------------------------------------------------------
; HIVE BOOT SECTION
[HKEY_LOCAL_MACHINE\init\BootVars]
"SYSTEMHIVE"="Documents and Settings\\system.hv" ;system.hv会保存到\HDD\Documents and Settings\system.hv
"PROFILEDIR"="Documents and Settings" ;user.hv会保存到\HDD\Documents and Settings\default\user.hv
"Flags"=dword:3 ;这个应该是wince 5.0下决定在哪个阶段启动device.exe的表项
"DefaultUser"="default" ;咱们只有一个用户default,基本上就是决定user.hv的路径了
"RegistryFlags"=dword:1
[HKEY_LOCAL_MACHINE\System\StorageManager\Profiles\FlashHiv]
"DefaultFileSystem"="BINFS"
"AutoPart"=dword:1
"AutoMount"=dword:1
"AutoFormat"=dword:1
"MountHidden"=dword:1
"PartitionDriver"="mspart.dll"
"Name"="NandFlash Hive Disk driver"
"Folder"="Hive Disk"
; "BootPhase"=dword:0
"MountAsBootable"=dword:1 ;这个是wince 5.0下指定这个分区保存system.hv的关键
; Keep FATFS from trying to shadow \Windows
[HKEY_LOCAL_MACHINE\System\StorageManager\Profiles\FlashHiv\FATFS]
; "Flags"=dword:14
"FormatTfat"=dword:1
; "CheckForFormat"=dword:1
[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\FlashHiv]
"Prefix"="DSK"
"Dll"="FlashHIVE.dll"
"Index"=dword:1
"Order"=dword:0
"Profile"="FlashHiv"
"IClass"="{A4E7EDDA-E575-4252-9D6B-4195D48BB865}"
"NandStartBlock"=dword:17C
"BlockNumber"=dword:30
;==============================================================
;Application Resource Partition(Read Only)(40M)
;--------------------------------------------------------------
[HKEY_LOCAL_MACHINE\System\StorageManager\Profiles\FlashRes]
"DefaultFileSystem"="BINFS"
"AutoPart"=dword:1
"AutoMount"=dword:1
"AutoFormat"=dword:1
"MountHidden"=dword:1
"PartitionDriver"="mspart.dll"
"Name"="NandFlash Resource Disk driver"
"Folder"="System Disk"
; "BootPhase"=dword:1
; Keep FATFS from trying to shadow \Windows
[HKEY_LOCAL_MACHINE\System\StorageManager\Profiles\FlashRes\FATFS]
; "Flags"=dword:14
"FormatTfat"=dword:0
; "CheckForFormat"=dword:1
[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\FlashRes]
"Prefix"="DSK"
"Dll"="FlashRES.dll"
"Index"=dword:2
"Order"=dword:1
"Profile"="FlashRes"
"IClass"="{A4E7EDDA-E575-4252-9D6B-4195D48BB865}"
"NandStartBlock"=dword:1AC
"BlockNumber"=dword:140
;==============================================================
;Application Configure Partition(6M)
;--------------------------------------------------------------
[HKEY_LOCAL_MACHINE\System\StorageManager\Profiles\FlashCon]
"DefaultFileSystem"="BINFS"
"AutoPart"=dword:1
"AutoMount"=dword:1
"AutoFormat"=dword:1
"MountHidden"=dword:1
"PartitionDriver"="mspart.dll"
"Name"="NandFlash Configure Disk driver"
"Folder"="Config Disk"
; "BootPhase"=dword:1
; Keep FATFS from trying to shadow \Windows
[HKEY_LOCAL_MACHINE\System\StorageManager\Profiles\FlashCon\FATFS]
; "Flags"=dword:14
"FormatTfat"=dword:0
; "CheckForFormat"=dword:1
[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\FlashCon]
"Prefix"="DSK"
"Dll"="FlashCONF.dll"
"Index"=dword:3
"Order"=dword:1
"Profile"="FlashCon"
"IClass"="{A4E7EDDA-E575-4252-9D6B-4195D48BB865}"
"NandStartBlock"=dword:2EC
"BlockNumber"=dword:30
;==============================================================
;User Partition
;--------------------------------------------------------------
[HKEY_LOCAL_MACHINE\System\StorageManager\Profiles\FlashUser]
"DefaultFileSystem"="BINFS"
"AutoPart"=dword:1
"AutoMount"=dword:1
"AutoFormat"=dword:1
"PartitionDriver"="mspart.dll"
"Name"="NandFlash User Disk driver"
"Folder"="Flash"
; "BootPhase"=dword:1
; Keep FATFS from trying to shadow \Windows
[HKEY_LOCAL_MACHINE\System\StorageManager\Profiles\FlashUser\FATFS]
; "Flags"=dword:14
"FormatTfat"=dword:0
; "CheckForFormat"=dword:1
[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\FlashUser]
"Prefix"="DSK"
"Dll"="FlashUSER.dll"
"Index"=dword:4
"Order"=dword:1
"Profile"="FlashUser"
"IClass"="{A4E7EDDA-E575-4252-9D6B-4195D48BB865}"
"NandStartBlock"=dword:31C
"BlockNumber"=dword:4E4
; END HIVE BOOT SECTION
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -