XDF Flags

Flag Overview

A flag represents a bit within a series of bits. A byte contains a series 8 bits. A bit can only be set or clear (1 or 0). Each bit, therefore, can represent a "switch" or "flag." For instance, a flag could be used to enable or disable a feature, where a bit value of 1 represents "on" and a bit value of 0 represents "off." Additionally, you can compare a bit pattern (bitmask) to determine if its state matches a particular pattern or does not match a particular pattern.

A flag (and bitmask) in TunerPro has two states - set or not set (or, in terms of a bitmask, the mask either matches or does not match).

The Flag Editor


The Flag Editor

To edit a flag, select the desired flag set from the flag list. You will be presented with the flag info in the flag editor. Check or uncheck the values you wish. A checked item means the bit for that item within the mask is set (= 1). No check means the bit is cleared (= 0).

See Also: Constants, Tables, Editing Bins, XDF Flag Definition Editor

TunerPro Help V1.2 Compiled 7/17/09 23:10