Sversion
Get GEMDOS Version Number
Sversion() Opcode = 48 ($30)
This function returns the GEMDOS version number. This number refers
only to the version of GEMDOS, not to the GEM or TOS version in gen
eral.
C macro format
int version;
version = Sversion();
Machine language format
move.w #$30,-(sp)
trap #1
addq.l #2,sp
Inputs
None
Results
DO version word A 16-bit code that indicates the GEMDOS version
number. The major version number is stored in the
low byte, and the minor revision number in the
high byte.
264