Topic : The ATARI Compendium
Author : Scott Sanders / JAY Software
Version : 1.25 (20/6/2003)
Subject : Documentation
Nodes : 1117
Index Size : 32614
HCP-Version : 6
Compiled on : Atari
@charset : UTF-8
@lang : en
@default :
@help : %About
@options : +g -i -t4 +y +z
@width : 100
View Ref-FileSversion() GEMDOSSyntaxUWORD Sversion( VOID )
Function Sversion() returns the current GEMDOS version number.
Opcode 48 (0x30)
Availability All GEMDOSversions.
Binding move.w #$30,-(sp)
trap #1
addq.l #2,sp
Return Value Sversion() returns a UWORD containing the GEMDOS minor
version number in the upper word and the major version
number in the lower word. Current values returned by Atari
TOS's are:
Return Value TOSversions (normally) found in:
0x1300 TOS 1.0, TOS 1.02
(0.13)
0x1500 TOS 1.04, TOS 1.06
(0.15)
0x1700 TOS 1.62
(0.17)
0x1900 TOS 2.01, TOS 2.05, TOS 2.06, TOS 3.01,
(0.19) TOS 3.05, TOS 3.06
0x3000 TOS 4.00, TOS 4.01, TOS 4.02, TOS 4.03,
(0.30) TOS 4.04, MultiTOS 1.00, MultiTOS 1.08
Comments The GEMDOS number is not associated with the TOS or AES version number. You should check for GEMDOS or MiNT version
numbers when trying to determine the presence or properties
of a GEMDOS function.