some structures for okteta
put in $(qtpaths --paths GenericDataLocation)
This commit is contained in:
24
docs/okteta/structures/mbr/main.osd
Normal file
24
docs/okteta/structures/mbr/main.osd
Normal file
@@ -0,0 +1,24 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<data>
|
||||||
|
<struct name="MBR">
|
||||||
|
<!-- 446 bytes: bootstrap code -->
|
||||||
|
<array name="bootCode" length="446">
|
||||||
|
<primitive type="UInt8"/>
|
||||||
|
</array>
|
||||||
|
|
||||||
|
<!-- 4 x 16-byte partition entries -->
|
||||||
|
<array name="partitions" length="4">
|
||||||
|
<struct name="PartitionEntry">
|
||||||
|
<primitive name="status" type="UInt8"/> <!-- 0x80=bootable -->
|
||||||
|
<array name="chsFirst" length="3"><primitive type="UInt8"/></array>
|
||||||
|
<primitive name="type" type="UInt8"/>
|
||||||
|
<array name="chsLast" length="3"><primitive type="UInt8"/></array>
|
||||||
|
<primitive name="lbaStart" type="UInt32"/>
|
||||||
|
<primitive name="lbaSectors" type="UInt32"/>
|
||||||
|
</struct>
|
||||||
|
</array>
|
||||||
|
|
||||||
|
<!-- Signature 0x55AA (little-endian UInt16 == 0xAA55 on disk) -->
|
||||||
|
<primitive name="signature" type="UInt16"/>
|
||||||
|
</struct>
|
||||||
|
</data>
|
||||||
12
docs/okteta/structures/mbr/metadata.desktop
Normal file
12
docs/okteta/structures/mbr/metadata.desktop
Normal file
@@ -0,0 +1,12 @@
|
|||||||
|
[Desktop Entry]
|
||||||
|
Icon=application-x-executable
|
||||||
|
Type=Service
|
||||||
|
ServiceTypes=KPluginInfo
|
||||||
|
Name=Stevia MBR Structure
|
||||||
|
X-KDE-PluginInfo-Author=Elaina Claus
|
||||||
|
X-KDE-PluginInfo-Name=mbr
|
||||||
|
X-KDE-PluginInfo-Version=1.0
|
||||||
|
X-KDE-PluginInfo-Website=https://chtm.me
|
||||||
|
X-KDE-PluginInfo-Category=structure
|
||||||
|
X-KDE-PluginInfo-License=MIT
|
||||||
|
X-KDE-PluginInfo-EnabledByDefault=false
|
||||||
57
docs/okteta/structures/vbr/main.osd
Normal file
57
docs/okteta/structures/vbr/main.osd
Normal file
@@ -0,0 +1,57 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<data>
|
||||||
|
<struct name="VBR">
|
||||||
|
<!-- 3 bytes: jmp over bpb code -->
|
||||||
|
<array name="jmpcode" length="3">
|
||||||
|
<primitive name="opcode" type="UInt8"/>
|
||||||
|
</array>
|
||||||
|
|
||||||
|
<array name="bs_ident" length="8">
|
||||||
|
<primitive type="Char"/>
|
||||||
|
</array>
|
||||||
|
|
||||||
|
<struct name="FAT32_bpb">
|
||||||
|
<primitive name="BytesPerSector" type="UInt16"/>
|
||||||
|
<primitive name="SectorsPerCluster" type="UInt8"/>
|
||||||
|
<primitive name="ReservedSectors" type="UInt16"/>
|
||||||
|
<primitive name="FatCount" type="UInt8"/>
|
||||||
|
<primitive name="RootEntryCount16" type="UInt16"/>
|
||||||
|
<primitive name="TotalSectors16" type="UInt16"/>
|
||||||
|
<primitive name="MediaDesc" type="UInt8"/>
|
||||||
|
<primitive name="FATSize16" type="UInt16"/>
|
||||||
|
<primitive name="SectorsPerTrack" type="UInt16"/>
|
||||||
|
<primitive name="HeadCount" type="UInt16"/>
|
||||||
|
<primitive name="HiddenSectors" type="UInt32"/>
|
||||||
|
<primitive name="TotalSectors32" type="UInt32"/>
|
||||||
|
</struct>
|
||||||
|
|
||||||
|
<struct name="FAT32_ebpb">
|
||||||
|
<primitive name="FATSize32" type="UInt32"/>
|
||||||
|
<primitive name="ExtFlags" type="UInt16"/>
|
||||||
|
<primitive name="FSVersion" type="UInt16"/>
|
||||||
|
<primitive name="RootDirCluster" type="UInt32"/>
|
||||||
|
<primitive name="FSInfoSector" type="UInt16"/>
|
||||||
|
<primitive name="BkBootSector" type="UInt16"/>
|
||||||
|
<array name="reserved0" length="12">
|
||||||
|
<primitive type="uint8"/>
|
||||||
|
</array>
|
||||||
|
<primitive name="DriveNumber" type="UInt8"/>
|
||||||
|
<primitive name="NtFlags" type="UInt8"/>
|
||||||
|
<primitive name="Signature" type="UInt8"/>
|
||||||
|
<primitive name="VolumeId" type="UInt32"/>
|
||||||
|
<array name="VolumeLabel" length="11">
|
||||||
|
<primitive type="Char"/>
|
||||||
|
</array>
|
||||||
|
<array name="FilesystemIdent" length="8">
|
||||||
|
<primitive type="Char"/>
|
||||||
|
</array>
|
||||||
|
</struct>
|
||||||
|
|
||||||
|
<array name="BootCode" length="420">
|
||||||
|
<primitive type="UInt8"/>
|
||||||
|
</array>
|
||||||
|
|
||||||
|
<!-- Signature 0xAA55 -->
|
||||||
|
<primitive name="signature" type="UInt16"/>
|
||||||
|
</struct>
|
||||||
|
</data>
|
||||||
12
docs/okteta/structures/vbr/metadata.desktop
Normal file
12
docs/okteta/structures/vbr/metadata.desktop
Normal file
@@ -0,0 +1,12 @@
|
|||||||
|
[Desktop Entry]
|
||||||
|
Icon=application-x-executable
|
||||||
|
Type=Service
|
||||||
|
ServiceTypes=KPluginInfo
|
||||||
|
Name=Stevia FAT32 VBR Structure
|
||||||
|
X-KDE-PluginInfo-Author=Elaina Claus
|
||||||
|
X-KDE-PluginInfo-Name=vbr32
|
||||||
|
X-KDE-PluginInfo-Version=1.0
|
||||||
|
X-KDE-PluginInfo-Website=https://chtm.me
|
||||||
|
X-KDE-PluginInfo-Category=structure
|
||||||
|
X-KDE-PluginInfo-License=MIT
|
||||||
|
X-KDE-PluginInfo-EnabledByDefault=false
|
||||||
Reference in New Issue
Block a user