Skip to content

Releases: larsonmars/sysvars

Added preliminary A6000 Support

Choose a tag to compare

@larsonmars larsonmars released this 02 Nov 19:44

What's Changed

  • Add environment support for A6000 Unicorn. by @Tallguy58 in #13
  • This release synchronizes the GitHub Codebase to the Aminet version

New Contributors

Full Changelog: 0.15.1...0.16

Fixed Vampire V2 Detection

Choose a tag to compare

@larsonmars larsonmars released this 27 Nov 21:14

This is a bugfix release, no new features

Bug fixes

  • Apparently, not all Vampires have or expose the SAGA Chipset. This was used to initially detect Vampires. Now we are back to just use the 68080 CPU
  • For coinsistency, $TotalSlowMem variable is now also tried to be removed, if no slow mem was detected
  • Fixed error in Readme. CreateTestDisk must be executed using the execute Amiga Dos command

Fixed Vampire detection, added $TotalRam variable

Choose a tag to compare

@larsonmars larsonmars released this 14 Nov 22:02
  • Added $TotalRam variable as a convenience
  • Fixed Vampire detection
  • Fixed FastMemFirst integration in test
  • Code Cleanup

Memory-related Variables and Variable Availability

Choose a tag to compare

@larsonmars larsonmars released this 11 Nov 22:27

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

Improved Vampire Support

Choose a tag to compare

@larsonmars larsonmars released this 15 Oct 00:42
3b7b9c7
  • Added $VampireType, $VampireCoreRev and VampireClockMult (see #7)
  • Some code cleanup and optimizations

Full Changelog: 0.11...0.13

Proper Vampire Support

Choose a tag to compare

@larsonmars larsonmars released this 14 Apr 22:46

Added KSGE36 tool , improved tests and scripts

Choose a tag to compare

@larsonmars larsonmars released this 20 Nov 01:24
  • Added the tiny tool KSGE36 to the distribution
    • Stands for KickStart greater or equal 36
    • Tests if the current OS is at least version 36 (i.e., OS 2.0)
    • Used in the test script to decide if an ENV: assign is necessary (which is for OS below 2.0) and commands have to be made resident (see below)
    • It is more or less equivalent to calling Version 36 from Workbench, with the difference that it can be freely distributed (unlike the Version command) and also works below OS 1.3
  • Improved the speed of the test script in OS1.2 and OS1.3 by putting the ECHO, IF, ELSE, and ENDIF commands into RAM (via resident if in shell)
  • The test (in test/echo-test) can be run from workbench or deployed on a bootable floppy for real Amigas. The script CreateTestDisk can be called with a device name (e.g., df1:) to create such a disk
  • Fix for AROS (here, SetVar cannot access the bsdsocket.library id string)
  • Code builds with most ASM-One flavors again.
  • Added version information so you can call Version sysvars[^6]
  • Code/comment cleanup

More Variables and Better Customizable

Choose a tag to compare

@larsonmars larsonmars released this 03 Nov 02:37
  • Added $KickVer and $KickEnv that provide kickstart version and revision
  • $UAE is now split in $UAEMajor, $UAEMinor and $UAERev for more convenient scripting
  • Added detection of bsdsocket.library ($BSDSockLib contains the id string, $BSDSockLibVer the version, and $BSDSockRev the revision)
  • Refactoring and code improvements (still learning though)
    • Easy way to disable certain variables/features at the beginning of the file using constants (Adapt to your need and make the tool as tiny as possible)
    • Unified SetVar approach using macros
    • Easier integration of new features via consistent scheme
    • Better comments
  • added test script for startup-sequence

Basic OS 1.3 Support

Choose a tag to compare

@larsonmars larsonmars released this 26 Oct 06:59

Added limited OS 1.3 Support:

  • CPU detection up to 68020
  • FPU detection will return 68881 for any FPU
  • Custom SetVar implementation for OS 1.3 (setenv-like functionality)

Version 0.8 (initial release)

Choose a tag to compare

@larsonmars larsonmars released this 18 Oct 10:27

The following variables are Set

  • CPU: installed CPU, for example 68030 (68080 is experimental)
  • FPU: installed FPU, one of 68881, 68882, internal (for non-LC/EC 040 and 060 CPUs), or empty if no FPU is available
  • Chipset: installed graphics chipset, one of OCS, ECS, AGA (no SAGA support)
  • VFreq: the vertical frequency of the native display, can be either 50 (PAL 50Hz) or 60 (NTSC 60Hz)
  • UAE: The version of UAE detected, empty if UAE was not detected

Requires at least dos.library version 36 (Amiga OS 2.x) due to the use of SetVar.