Skip to navigation

Revs on the BBC Micro

Track geometry: segmentFlagMask

Name: segmentFlagMask [Show more] Type: Variable Category: Track geometry Summary: A mask for extracting bits from the segment flag byte when processing the track verge and corner markers
Context: See this variable in context in the source code References: This variable is used as follows: * GetVergeAndMarkers (Part 1 of 4) uses segmentFlagMask
.segmentFlagMask EQUB %00101101 \ Mask for the right verge, to keep the following from \ the segment flags: \ \ * Bit 0 (section shape) \ * Bit 2 (colour of right verge marks) \ * Bit 3 (show right corner markers) \ * Bit 5 (corner marker colours) EQUB %00110011 \ Mask for the left verge, to keep the following from \ the segment flags: \ \ * Bit 0 (section shape) \ * Bit 1 (colour of left verge marks) \ * Bit 4 (show left corner markers) \ * Bit 5 (corner marker colours)