What this does depends of the value of the field that was stored in [[Configuration_Memory|0x1FF80015]].
What this does depends of the value of the field that was stored in [[Configuration_Memory|0x1FF80015]].
−
If this is 0 (Prod) or any invalid value, nothing is done. If it is 1 (Dev), <code>unk != 0</code> is written to some global variable; if this variable has bit0 clear, the regdump will be dumped when an exception occurs in a privileged mode (the destination depends on fields in the local storage of the current thread at the time of the exception).
+
If this is 0 (Prod) or any invalid value, nothing is done. If it is 1 (Dev), <code>unk != 0</code> is written to some global variable; if this variable has bit0 clear, the regdump will be written when an exception occurs in a privileged mode (the destination depends on fields in the local storage of the current thread at the time of the exception).
If 2 (Debugger), it's written to the following byte.
If 2 (Debugger), it's written to the following byte.