Skip to navigation

Revs on the BBC Micro

Extra tracks: Track section data (Part 2 of 2)

Name: Track section data (Part 2 of 2) [Show more] Type: Variable Category: Extra tracks Summary: Data for the track sections Deep dive: The track data file format The extra tracks data file format The Brands Hatch track
Context: See this variable in context in the source code References: No direct references to this variable in this source file

Brands Hatch consists of the following track sections: 0 -> Clearways to Paddock Bend (3/3) 1 -> Paddock Bend 2 |->| Paddock Bend to Druids (1/2) 3 {} Paddock Bend to Druids (2/2) 4 |->| Druids 5 || Druids to Graham Hill Bend 6 <- Graham Hill Bend 7 || Graham Hill Bend to Surtees (1/3) 8 <- Graham Hill Bend to Surtees (2/3) 9 <- Graham Hill Bend to Surtees (3/3) 10 <- Surtees 11 {} Surtees to Hawthorns Bend (1/4) 12 |->| Surtees to Hawthorns Bend (2/4) 13 {} Surtees to Hawthorns Bend (3/4) 14 {} Surtees to Hawthorns Bend (4/4) 15 -> Hawthorns Bend 16 || Hawthorns Bend to Westfield 17 -> Westfield 18 {} Westfield to Dingle Dell Corner (1/3) 19 -> Westfield to Dingle Dell Corner (2/3) 20 || Westfield to Dingle Dell Corner (3/3) 21 -> Dingle Dell Corner 22 || Dingle Dell Corner to Stirlings 23 <- Stirlings 24 {} Stirlings to Clearways (1/2) 25 {} Stirlings to Clearways (2/2) 26 -> Clearways 27 -> Clearways to Paddock Bend (1/3) 28 -> Clearways to Paddock Bend (2/3) where each section is one of the following shapes: || is a straight section that doesn't curve to the left or right, and has the same gradient throughout the whole section {} is a straight section in the sense that it doesn't curve to the left or right, but the gradient can differ between sub-sections -> consists of sub-sections that all curve to the right <- consists of sub-sections that all curve to the left |->| consists of sub-sections that are either straight or curve to the right |<-| consists of sub-sections that are either straight or curve to the left |<->| consists of sub-sections that are either straight or curve to the left or right This part defines the following aspects of these track sections: trackSectionFlag Various flags for the track section The abbreviations in brackets are used to show the values of section's flags in the comments below * Bit 0: Section shape (Sh) * 0 = straight section (only one segment vector) * 1 = curved section (multiple segment vectors) * Bit 1: Colour of left verge marks (Vc) * 0 = black-and-white verge marks * 1 = red-and-white verge marks * Bit 2: Colour of right verge marks (Vc) * 0 = black-and-white verge marks * 1 = red-and-white verge marks * Bit 3: Show corner markers on right (Mlr) * 0 = do not show corner markers to the right of the track * 1 = show corner markers to the right of the track * Bit 4: Show corner markers on left (Mlr) * 0 = do not show corner markers to the left of the track * 1 = show corner markers to the left of the track * Bit 5: Corner marker colours (Mc) * 0 = show all corner markers in white * 1 = show corner markers in red or white, as appropriate * Bit 6: Enable hooks to generate segment vectors (G) * 0 = disable HookDataPointers and HookSegmentVector * 1 = enable HookDataPointers and HookSegmentVector * Bit 7: Section has a maximum speed (Sp) * 0 = this section has no maximum speed * 1 = this section has a maximum speed xTrackSectionILo Low byte of the x-coordinate of the starting point of the inner verge of each track section yTrackSectionILo Low byte of the y-coordinate of the starting point of the inner verge of each track section zTrackSectionILo Low byte of the z-coordinate of the starting point of the inner verge of each track section xTrackSectionOLo Low byte of the x-coordinate of the starting point of the outside verge of each track section trackSectionFrom The number of the first segment vector in each section, which enables us to fetch the segment vectors for a given track section (note that because the segment vectors in this track are dynamically generated, this value points to the position in the segment vector table where the section's first vector will be stored once it is generated) zTrackSectionOLo Low byte of the z-coordinate of the starting point of the outside verge of each track section trackSectionSize The length of each track section in terms of segments
\ Track section 0 EQUB %01110000 \ trackSectionFlag Sp=0 G=1 Mc=1 Mlr=10 Vc=00 Sh=0 EQUB &20 \ xTrackSectionILo xTrackSectionI = &D120 = -12000 EQUB &00 \ yTrackSectionILo yTrackSectionI = &1400 = 5120 EQUB &A0 \ zTrackSectionILo zTrackSectionI = &0FA0 = 4000 EQUB &21 \ xTrackSectionOLo xTrackSectionO = &D021 = -12255 EQUB 0 \ trackSectionFrom EQUB &A0 \ zTrackSectionOLo zTrackSectionO = &0FA0 = 4000 EQUB 58 \ trackSectionSize \ Track section 1 EQUB %11101101 \ trackSectionFlag Sp=1 G=1 Mc=1 Mlr=01 Vc=10 Sh=1 EQUB &DC \ xTrackSectionILo xTrackSectionI = &D4DC = -11044 EQUB &87 \ yTrackSectionILo yTrackSectionI = &1487 = 5255 EQUB &5C \ zTrackSectionILo zTrackSectionI = &2A5C = 10844 EQUB &F6 \ xTrackSectionOLo xTrackSectionO = &D3F6 = -11274 EQUB 18 \ trackSectionFrom EQUB &C8 \ zTrackSectionOLo zTrackSectionO = &2AC8 = 10952 EQUB 29 \ trackSectionSize \ Track section 2 EQUB %01000010 \ trackSectionFlag Sp=0 G=1 Mc=0 Mlr=00 Vc=01 Sh=0 EQUB &52 \ xTrackSectionILo xTrackSectionI = &E052 = -8110 EQUB &2B \ yTrackSectionILo yTrackSectionI = &0F2B = 3883 EQUB &E3 \ zTrackSectionILo zTrackSectionI = &2DE3 = 11747 EQUB &B5 \ xTrackSectionOLo xTrackSectionO = &E0B5 = -8011 EQUB 7 \ trackSectionFrom EQUB &CC \ zTrackSectionOLo zTrackSectionO = &2ECC = 11980 EQUB 23 \ trackSectionSize \ Track section 3 EQUB %01110000 \ trackSectionFlag Sp=0 G=1 Mc=1 Mlr=10 Vc=00 Sh=0 EQUB &2B \ xTrackSectionILo xTrackSectionI = &EA2B = -5589 EQUB &DE \ yTrackSectionILo yTrackSectionI = &0EDE = 3806 EQUB &96 \ zTrackSectionILo zTrackSectionI = &2996 = 10646 EQUB &AA \ xTrackSectionOLo xTrackSectionO = &EAAA = -5462 EQUB 30 \ trackSectionFrom EQUB &73 \ zTrackSectionOLo zTrackSectionO = &2A73 = 10867 EQUB 24 \ trackSectionSize \ Track section 4 EQUB %11101101 \ trackSectionFlag Sp=1 G=1 Mc=1 Mlr=01 Vc=10 Sh=1 EQUB &EB \ xTrackSectionILo xTrackSectionI = &F3EB = -3093 EQUB &6C \ yTrackSectionILo yTrackSectionI = &116C = 4460 EQUB &F6 \ zTrackSectionILo zTrackSectionI = &23F6 = 9206 EQUB &6A \ xTrackSectionOLo xTrackSectionO = &F46A = -2966 EQUB 14 \ trackSectionFrom EQUB &D3 \ zTrackSectionOLo zTrackSectionO = &24D3 = 9427 EQUB 22 \ trackSectionSize \ Track section 5 EQUB %01101010 \ trackSectionFlag Sp=0 G=1 Mc=1 Mlr=01 Vc=01 Sh=0 EQUB &71 \ xTrackSectionILo xTrackSectionI = &F171 = -3727 EQUB &53 \ yTrackSectionILo yTrackSectionI = &0D53 = 3411 EQUB &53 \ zTrackSectionILo zTrackSectionI = &1E53 = 7763 EQUB &00 \ xTrackSectionOLo xTrackSectionO = &F100 = -3840 EQUB 36 \ trackSectionFrom EQUB &6D \ zTrackSectionOLo zTrackSectionO = &1D6D = 7533 EQUB 27 \ trackSectionSize \ Track section 6 EQUB %01110011 \ trackSectionFlag Sp=0 G=1 Mc=1 Mlr=10 Vc=01 Sh=1 EQUB &0D \ xTrackSectionILo xTrackSectionI = &E60D = -6643 EQUB &43 \ yTrackSectionILo yTrackSectionI = &0843 = 2115 EQUB &EA \ zTrackSectionILo zTrackSectionI = &23EA = 9194 EQUB &9C \ xTrackSectionOLo xTrackSectionO = &E59C = -6756 EQUB 23 \ trackSectionFrom EQUB &04 \ zTrackSectionOLo zTrackSectionO = &2304 = 8964 EQUB 19 \ trackSectionSize \ Track section 7 EQUB %00000100 \ trackSectionFlag Sp=0 G=0 Mc=0 Mlr=00 Vc=10 Sh=0 EQUB &2F \ xTrackSectionILo xTrackSectionI = &DE2F = -8657 EQUB &EB \ yTrackSectionILo yTrackSectionI = &05EB = 1515 EQUB &20 \ zTrackSectionILo zTrackSectionI = &2120 = 8480 EQUB &F0 \ xTrackSectionOLo xTrackSectionO = &DEF0 = -8464 EQUB 2 \ trackSectionFrom EQUB &7A \ zTrackSectionOLo zTrackSectionO = &207A = 8314 EQUB 13 \ trackSectionSize \ Track section 8 EQUB %01000001 \ trackSectionFlag Sp=0 G=1 Mc=0 Mlr=00 Vc=00 Sh=1 EQUB &39 \ xTrackSectionILo xTrackSectionI = &DA39 = -9671 EQUB &EB \ yTrackSectionILo yTrackSectionI = &05EB = 1515 EQUB &81 \ zTrackSectionILo zTrackSectionI = &1C81 = 7297 EQUB &FA \ xTrackSectionOLo xTrackSectionO = &DAFA = -9478 EQUB 3 \ trackSectionFrom EQUB &DB \ zTrackSectionOLo zTrackSectionO = &1BDB = 7131 EQUB 13 \ trackSectionSize \ Track section 9 EQUB %01101000 \ trackSectionFlag Sp=0 G=1 Mc=1 Mlr=01 Vc=00 Sh=0 EQUB &36 \ xTrackSectionILo xTrackSectionI = &D836 = -10186 EQUB &EB \ yTrackSectionILo yTrackSectionI = &05EB = 1515 EQUB &CE \ zTrackSectionILo zTrackSectionI = &16CE = 5838 EQUB &30 \ xTrackSectionOLo xTrackSectionO = &D930 = -9936 EQUB 16 \ trackSectionFrom EQUB &A1 \ zTrackSectionOLo zTrackSectionO = &16A1 = 5793 EQUB 46 \ trackSectionSize \ Track section 10 EQUB %11110011 \ trackSectionFlag Sp=1 G=1 Mc=1 Mlr=10 Vc=01 Sh=1 EQUB &0A \ xTrackSectionILo xTrackSectionI = &D90A = -9974 EQUB &EB \ yTrackSectionILo yTrackSectionI = &05EB = 1515 EQUB &52 \ zTrackSectionILo zTrackSectionI = &0152 = 338 EQUB &00 \ xTrackSectionOLo xTrackSectionO = &DA00 = -9728 EQUB 22 \ trackSectionFrom EQUB &8F \ zTrackSectionOLo zTrackSectionO = &018F = 399 EQUB 34 \ trackSectionSize \ Track section 11 EQUB %11000100 \ trackSectionFlag Sp=1 G=1 Mc=0 Mlr=00 Vc=10 Sh=0 EQUB &58 \ xTrackSectionILo xTrackSectionI = &E558 = -6824 EQUB &DF \ yTrackSectionILo yTrackSectionI = &0ADF = 2783 EQUB &7C \ zTrackSectionILo zTrackSectionI = &FC7C = -900 EQUB &96 \ xTrackSectionOLo xTrackSectionO = &E496 = -7018 EQUB 16 \ trackSectionFrom EQUB &21 \ zTrackSectionOLo zTrackSectionO = &FD21 = -735 EQUB 32 \ trackSectionSize \ Track section 12 EQUB %01000000 \ trackSectionFlag Sp=0 G=1 Mc=0 Mlr=00 Vc=00 Sh=0 EQUB &18 \ xTrackSectionILo xTrackSectionI = &EF18 = -4328 EQUB &73 \ yTrackSectionILo yTrackSectionI = &1173 = 4467 EQUB &DC \ zTrackSectionILo zTrackSectionI = &07DC = 2012 EQUB &56 \ xTrackSectionOLo xTrackSectionO = &EE56 = -4522 EQUB 8 \ trackSectionFrom EQUB &81 \ zTrackSectionOLo zTrackSectionO = &0881 = 2177 EQUB 65 \ trackSectionSize \ Track section 13 EQUB %01000000 \ trackSectionFlag Sp=0 G=1 Mc=0 Mlr=00 Vc=00 Sh=0 EQUB &61 \ xTrackSectionILo xTrackSectionI = &0661 = 1633 EQUB &32 \ yTrackSectionILo yTrackSectionI = &1132 = 4402 EQUB &7F \ zTrackSectionILo zTrackSectionI = &1B7F = 7039 EQUB &C5 \ xTrackSectionOLo xTrackSectionO = &05C5 = 1477 EQUB 34 \ trackSectionFrom EQUB &4B \ zTrackSectionOLo zTrackSectionO = &1C4B = 7243 EQUB 32 \ trackSectionSize \ Track section 14 EQUB %01110000 \ trackSectionFlag Sp=0 G=1 Mc=1 Mlr=10 Vc=00 Sh=0 EQUB &61 \ xTrackSectionILo xTrackSectionI = &1261 = 4705 EQUB &12 \ yTrackSectionILo yTrackSectionI = &0E12 = 3602 EQUB &9F \ zTrackSectionILo zTrackSectionI = &249F = 9375 EQUB &C5 \ xTrackSectionOLo xTrackSectionO = &11C5 = 4549 EQUB 27 \ trackSectionFrom EQUB &6B \ zTrackSectionOLo zTrackSectionO = &256B = 9579 EQUB 24 \ trackSectionSize \ Track section 15 EQUB %11101101 \ trackSectionFlag Sp=1 G=1 Mc=1 Mlr=01 Vc=10 Sh=1 EQUB &61 \ xTrackSectionILo xTrackSectionI = &1B61 = 7009 EQUB &C0 \ yTrackSectionILo yTrackSectionI = &11C0 = 4544 EQUB &77 \ zTrackSectionILo zTrackSectionI = &2B77 = 11127 EQUB &C5 \ xTrackSectionOLo xTrackSectionO = &1AC5 = 6853 EQUB 12 \ trackSectionFrom EQUB &43 \ zTrackSectionOLo zTrackSectionO = &2C43 = 11331 EQUB 36 \ trackSectionSize \ Track section 16 EQUB %00110010 \ trackSectionFlag Sp=0 G=0 Mc=1 Mlr=10 Vc=01 Sh=0 EQUB &A6 \ xTrackSectionILo xTrackSectionI = &2AA6 = 10918 EQUB &DC \ yTrackSectionILo yTrackSectionI = &15DC = 5596 EQUB &F6 \ zTrackSectionILo zTrackSectionI = &2AF6 = 10998 EQUB &63 \ xTrackSectionOLo xTrackSectionO = &2B63 = 11107 EQUB 9 \ trackSectionFrom EQUB &A2 \ zTrackSectionOLo zTrackSectionO = &2BA2 = 11170 EQUB 55 \ trackSectionSize \ Track section 17 EQUB %11101101 \ trackSectionFlag Sp=1 G=1 Mc=1 Mlr=01 Vc=10 Sh=1 EQUB &0D \ xTrackSectionILo xTrackSectionI = &3C0D = 15373 EQUB &C9 \ yTrackSectionILo yTrackSectionI = &14C9 = 5321 EQUB &D7 \ zTrackSectionILo zTrackSectionI = &17D7 = 6103 EQUB &CA \ xTrackSectionOLo xTrackSectionO = &3CCA = 15562 EQUB 11 \ trackSectionFrom EQUB &83 \ zTrackSectionOLo zTrackSectionO = &1883 = 6275 EQUB 27 \ trackSectionSize \ Track section 18 EQUB %01110010 \ trackSectionFlag Sp=0 G=1 Mc=1 Mlr=10 Vc=01 Sh=0 EQUB &6B \ xTrackSectionILo xTrackSectionI = &3A6B = 14955 EQUB &A8 \ yTrackSectionILo yTrackSectionI = &14A8 = 5288 EQUB &7C \ zTrackSectionILo zTrackSectionI = &0C7C = 3196 EQUB &17 \ xTrackSectionOLo xTrackSectionO = &3B17 = 15127 EQUB 39 \ trackSectionFrom EQUB &BE \ zTrackSectionOLo zTrackSectionO = &0BBE = 3006 EQUB 38 \ trackSectionSize \ Track section 19 EQUB %01101101 \ trackSectionFlag Sp=0 G=1 Mc=1 Mlr=01 Vc=10 Sh=1 EQUB &35 \ xTrackSectionILo xTrackSectionI = &2D35 = 11573 EQUB &28 \ yTrackSectionILo yTrackSectionI = &1128 = 4392 EQUB &76 \ zTrackSectionILo zTrackSectionI = &0076 = 118 EQUB &E1 \ xTrackSectionOLo xTrackSectionO = &2DE1 = 11745 EQUB 38 \ trackSectionFrom EQUB &B8 \ zTrackSectionOLo zTrackSectionO = &FFB8 = -72 EQUB 8 \ trackSectionSize \ Track section 20 EQUB %00110000 \ trackSectionFlag Sp=0 G=0 Mc=1 Mlr=10 Vc=00 Sh=0 EQUB &E7 \ xTrackSectionILo xTrackSectionI = &29E7 = 10727 EQUB &AC \ yTrackSectionILo yTrackSectionI = &11AC = 4524 EQUB &C6 \ zTrackSectionILo zTrackSectionI = &FEC6 = -314 EQUB &28 \ xTrackSectionOLo xTrackSectionO = &2A28 = 10792 EQUB 7 \ trackSectionFrom EQUB &CF \ zTrackSectionOLo zTrackSectionO = &FDCF = -561 EQUB 28 \ trackSectionSize \ Track section 21 EQUB %11101101 \ trackSectionFlag Sp=1 G=1 Mc=1 Mlr=01 Vc=10 Sh=1 EQUB &37 \ xTrackSectionILo xTrackSectionI = &1D37 = 7479 EQUB &A0 \ yTrackSectionILo yTrackSectionI = &14A0 = 5280 EQUB &62 \ zTrackSectionILo zTrackSectionI = &FB62 = -1182 EQUB &78 \ xTrackSectionOLo xTrackSectionO = &1D78 = 7544 EQUB 9 \ trackSectionFrom EQUB &6B \ zTrackSectionOLo zTrackSectionO = &FA6B = -1429 EQUB 10 \ trackSectionSize \ Track section 22 EQUB %00101010 \ trackSectionFlag Sp=0 G=0 Mc=1 Mlr=01 Vc=01 Sh=0 EQUB &F2 \ xTrackSectionILo xTrackSectionI = &18F2 = 6386 EQUB &09 \ yTrackSectionILo yTrackSectionI = &1509 = 5385 EQUB &9E \ zTrackSectionILo zTrackSectionI = &FC9E = -866 EQUB &34 \ xTrackSectionOLo xTrackSectionO = &1834 = 6196 EQUB 20 \ trackSectionFrom EQUB &F1 \ zTrackSectionOLo zTrackSectionO = &FBF1 = -1039 EQUB 38 \ trackSectionSize \ Track section 23 EQUB %11110011 \ trackSectionFlag Sp=1 G=1 Mc=1 Mlr=10 Vc=01 Sh=1 EQUB &EC \ xTrackSectionILo xTrackSectionI = &0CEC = 3308 EQUB &97 \ yTrackSectionILo yTrackSectionI = &1497 = 5271 EQUB &D4 \ zTrackSectionILo zTrackSectionI = &09D4 = 2516 EQUB &2E \ xTrackSectionOLo xTrackSectionO = &0C2E = 3118 EQUB 22 \ trackSectionFrom EQUB &27 \ zTrackSectionOLo zTrackSectionO = &0927 = 2343 EQUB 17 \ trackSectionSize \ Track section 24 EQUB %01000100 \ trackSectionFlag Sp=0 G=1 Mc=0 Mlr=00 Vc=10 Sh=0 EQUB &D0 \ xTrackSectionILo xTrackSectionI = &05D0 = 1488 EQUB &99 \ yTrackSectionILo yTrackSectionI = &1599 = 5529 EQUB &0B \ zTrackSectionILo zTrackSectionI = &0A0B = 2571 EQUB &7E \ xTrackSectionOLo xTrackSectionO = &067E = 1662 EQUB 0 \ trackSectionFrom EQUB &50 \ zTrackSectionOLo zTrackSectionO = &0950 = 2384 EQUB 36 \ trackSectionSize \ Track section 25 EQUB %01110000 \ trackSectionFlag Sp=0 G=1 Mc=1 Mlr=10 Vc=00 Sh=0 EQUB &70 \ xTrackSectionILo xTrackSectionI = &F970 = -1680 EQUB &23 \ yTrackSectionILo yTrackSectionI = &1923 = 6435 EQUB &83 \ zTrackSectionILo zTrackSectionI = &FE83 = -381 EQUB &1E \ xTrackSectionOLo xTrackSectionO = &FA1E = -1506 EQUB 37 \ trackSectionFrom EQUB &C8 \ zTrackSectionOLo zTrackSectionO = &FDC8 = -568 EQUB 57 \ trackSectionSize \ Track section 26 EQUB %11101101 \ trackSectionFlag Sp=1 G=1 Mc=1 Mlr=01 Vc=10 Sh=1 EQUB &D8 \ xTrackSectionILo xTrackSectionI = &E5D8 = -6696 EQUB &3C \ yTrackSectionILo yTrackSectionI = &193C = 6460 EQUB &41 \ zTrackSectionILo zTrackSectionI = &EC41 = -5055 EQUB &86 \ xTrackSectionOLo xTrackSectionO = &E686 = -6522 EQUB 15 \ trackSectionFrom EQUB &86 \ zTrackSectionOLo zTrackSectionO = &EB86 = -5242 EQUB 25 \ trackSectionSize \ Track section 27 EQUB %11000010 \ trackSectionFlag Sp=1 G=1 Mc=0 Mlr=00 Vc=01 Sh=0 EQUB &15 \ xTrackSectionILo xTrackSectionI = &DB15 = -9451 EQUB &E6 \ yTrackSectionILo yTrackSectionI = &16E6 = 5862 EQUB &CA \ zTrackSectionILo zTrackSectionI = &EDCA = -4662 EQUB &64 \ xTrackSectionOLo xTrackSectionO = &DA64 = -9628 EQUB 1 \ trackSectionFrom EQUB &11 \ zTrackSectionOLo zTrackSectionO = &ED11 = -4847 EQUB 27 \ trackSectionSize \ Track section 28 EQUB %01000000 \ trackSectionFlag Sp=0 G=1 Mc=0 Mlr=00 Vc=00 Sh=0 EQUB &98 \ xTrackSectionILo xTrackSectionI = &D398 = -11368 EQUB &9A \ yTrackSectionILo yTrackSectionI = &179A = 6042 EQUB &D9 \ zTrackSectionILo zTrackSectionI = &F7D9 = -2087 EQUB &A5 \ xTrackSectionOLo xTrackSectionO = &D2A5 = -11611 EQUB 29 \ trackSectionFrom EQUB &8C \ zTrackSectionOLo zTrackSectionO = &F78C = -2164 EQUB 51 \ trackSectionSize EQUB &70 \ This byte appears to be unused