2020-04-15 04:25:14 +10:00
|
|
|
System variables
|
|
|
|
|
|
|
|
There are some core variables in the core system that are
|
|
|
|
referred to directly by their address in memory throughout the
|
2020-06-29 08:49:30 +10:00
|
|
|
code. The place where they live is configurable by the SYSVARS
|
|
|
|
constant in xcomp unit, but their relative offset is not. In
|
|
|
|
fact, they're mostly referred to directly as their numerical
|
|
|
|
offset along with a comment indicating what this offset refers
|
|
|
|
to.
|
2020-04-15 04:25:14 +10:00
|
|
|
|
|
|
|
This system is a bit fragile because every time we change those
|
|
|
|
offsets, we have to be careful to adjust all system variables
|
|
|
|
offsets, but thankfully, there aren't many system variables.
|
|
|
|
Here's a list of them:
|
|
|
|
|
|
|
|
(cont.)
|