-
Notifications
You must be signed in to change notification settings - Fork 34
Sversion
Miro Kropacek edited this page Jan 19, 2017
·
4 revisions
''' WORD Sversion( VOID ) '''
Sversion() returns the version of the GEMDOS. | |
---|---|
Opcode | 48 (0x0030) |
Availability | All GEMDOS versions. |
Parameters | none. |
Binding | ``` asm |
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|appl_init]]()**, **[Sysconf|Sysconf]]()** |
[Home] [Project] [Download] [Get in touch] [Acknowledgements]
- Home
- What is FreeMiNT
- Requirements
- Installation Guide
- User Guide
- Advanced
- Troubleshooting
- Contributor Guide
- Developer Guide
- SpareMiNT
- Community
- About