Repository navigation
Memory-related Variables and Variable Availability
Additions
This release brings the long-awaited update to check for the installed memory using the following variables:
| Name | Function |
|---|---|
$TotalChipRam |
Total amount of Chip RAM installed in KB |
$TotalFastRam |
Total amount of real Fast RAM installed in KB |
$TotalSlowRam |
Total amount of Slow RAM installed in KB |
$SlowRamFirst |
indicates that slow ram is first in memory list |
Breaking Changes
Variables may no longer be available if they do not make sense. For example, instead of being set to an empty value, $FPU is not set at all, when the CPU is < 68020. Similarly, $UAEMajor is no longer set, when no UAE was detected. This was done to not unnecessarily pollute the environment variable space.
Note that as a consequence, sysvars may now actually remove its environment variables in some situations (e.g., in OS 1.3 after FastmemFirst was executed, $SlowRamFirst might get removed)
Other Changes and Fixes
- Fixed critical bug for Kickstart 1.3 and 1.2
- added probevar utility to test for the existence of environment variables
- Added compile support for PhxAsm and asmotor