Alpha GetData

From WikiPrizm
Revision as of 18:42, 3 August 2014 by Gbl08ma (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search


Header: fxcg/system.h
Syscall index: 0x0034
Function signature: void Alpha_GetData(char VarName, struct BCDvalue* Dest)

Gets the value of a Alpha variable, which can be used in most expression evaluators throughout the OS, as well as BASIC programs.


  • VarName - name of the variable to retrieve.
  • Dest - pointer to a struct used for number representation by the OS math library, and that is documented at BCDtoInternal (the syscall used in aiding the conversion from a double to a BCDvalue).