BuildUnusedSkyTrack
function · lighting · primitive
- Address
0x6ce560· 201 bytes, up to0x6ce628- Meaning
- Stores the eight keys of a track nothing reads, at start-up
- Confidence
- verified, proof one
- Finding
- lighting/celestial#static-tracks
- Test
lighting::dn_init_6ce560_difftest
Finding: Static tracks in lighting: sun, moons and stars
The day-night file builds these tracks once, from static initializers or at first use. Times are written as clock times; angles are π times a constant, shown in degrees.
| track | keys | read by |
|---|---|---|
0xce8d90 | 00:00, 06:00, 12:00, 18:00 all 225° | sun azimuth |
0xce8db0 | 00:00 127°, 06:00 110°, 12:00 127°, 18:00 110° | sun polar angle |
0xce8d4c | 05:30, 12:00, 21:30 all 45° | sun disc azimuth |
0xce8d64 | 05:30 100°, 11:55 5°, 12:00 5°, 12:05 5°, 21:30 100° | sun disc polar angle |
0xce8cac | 06:00 2, 06:45 1, 20:15 1, 21:00 2 | sun disc size |
0xce8d0c | 00:00, 04:00, 22:00 all 45° | white moon azimuth |
0xce8d24 | 00:00 35°, 00:05 35°, 04:00 100°, 22:00 100°, 23:55 35° | white moon polar angle |
0xce8ccc | 00:00 135°, 04:00 150°, 22:00 165° | moon02 azimuth |
0xce8ce4 | as 0xce8d24 | moon02 polar angle |
0xce8c8c | 01:00 1, 04:00 1.5, 22:00 1.5, 23:59 1 | both moons' size |
0xce9a98 | 03:00 1, 04:30 0, 22:30 0, 24:00 1 | stars |
0xce9a58 | 03:00 2, 04:00 4, 05:30 4, 06:30 2, 19:30 2, 21:30 4, 22:00 4, 23:00 2 | nothing |
The derivation is in the doc.
Callers 1
- InitDayNightUnusedTrack lighting
Callees 0
None by a direct call or jump.
Calls and jumps by a bare address, from tables/calls.tsv.