Sversion()

WORD Sversion( VOID )

Sversion() returns the version of the GEMDOS.
Opcode 48 (0x0030)
Availability All GEMDOS versions.
Parameters none.
Binding
move.w  #$0030,-(sp)
trap    #1
addq.l  #6,sp
Return Value The WORD returned contains the GEMDOS version. The major version number is in the LSB where as the minor version number is in the MSB. For instance, a GEMDOS 0.30 will return 0x3000. Expect FreeMiNT to return 0x4000.
Comments

The GEMDOS version number has nothing to do with that of an AES. To get the latter, check the results of appl_init(). To get more information about the features of the GEMDOS, you may also check Sysconf().

See Also appl_init(), Sysconf()