Adaptec 1542B - AHA Storage Controller Fast SCSI 10 MBps Uživatelský manuál Strana 167

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 265
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 166
Text/hexadecimal Editor
162
© 2002...2013 R-Tools Technology Inc.
<!-- A data section. Its name is AVI File LIST. This is the main data section. It is not shown in the parsing
tree as a section (its name is ignored).-->
<section name="AVI File LIST">
<!-- The first 4 bytes are read and shown as an ANSI string. -->
<field type="char" size="4" name="Signature: LIST"/>
<!-- The current position is moved to the beginning of the file (4 bytes backward). -->
<goto offset="-4"/>
<!-- The first 4 bytes in the file are read and shown as an unsigned integer. The internal variable
signature gets the value of the field. -->
<field type="uint32" name="Signature LIST as unsigned integer" var="signature"/>
<!-- A test against the condition (signature == LIST) -->
<if test="signature == 1414744396"> <!-- ANSI: LIST -->
<!-- The next 4 bytes are read and shown as an unsigned integer. The internal variable listSize gets
its value. -->
<field type="uint32" name="Size of the data in the list" var="listSize"/>
<setvar var="endOfList" expr="offset + listSize"/>
<field type="char" size="4" name="List type"/>
<goto offset="-4"/>
<field type="uint32" base="hex" name="List type as unsigned integer in hex
format" var="listType"/>
<!-- A test against condition (listType == movi) -->
<if test="listType == 0x69766f6d"> <!-- ANSI: movi -->
<!-- This chunk is not to be parsed. The current position is moved to the end of the chunk. -->
<goto address="endOfList"/>
</if>
<setvar var="mediaType" expr="0"/>
<repeat test="endOfList > offset - 8">
<section name="CHUNK">
<field type="char" size="4" name="Chunk ID"/>
<goto offset="-4"/>
<field type="uint32" name="Chunk ID as unsigned integer" var="chunkId"/>
<if test="chunkId == 1414744396"> <!-- ANSI: LIST -->
<goto offset="-4"/>
<field type="uint32" base="hex" name="LIST chunk ID as unsigned integer in hex
format" as-offset="start_position + offset - 4" assigned-template="AVI File LIST"/>
</if>
Zobrazit stránku 166
1 2 ... 162 163 164 165 166 167 168 169 170 171 172 ... 264 265

Komentáře k této Příručce

Žádné komentáře