chiark / gitweb /
Initial revision
[ssr] / StraySrc / Libraries / Sapphire / csapph / h / roVersion
1 /*
2  * roVersion.h
3  *
4  * [Generated from roVersion, 25 September 1996]
5  */
6
7 #if !defined(__CC_NORCROFT) || !defined(__arm)
8   #error You must use the Norcroft ARM Compiler for Sapphire programs
9 #endif
10
11 #pragma include_only_once
12 #pragma force_top_level
13
14 #ifndef __roVersion_h
15 #define __roVersion_h
16
17 #ifndef __sapphire_h
18   #include "sapphire.h"
19 #endif
20
21 /*----- Overview ----------------------------------------------------------*
22  *
23  * Functions provided:
24  *
25  *  rov_init
26  *  rov_version
27  */
28
29 /* --- rov_init --- *
30  *
31  * On entry:    --
32  *
33  * On exit:     --
34  *
35  * Use:         Sets up the OS version in a cache.
36  */
37
38 extern routine rov_init;
39
40 /* --- rov_version --- *
41  *
42  * On entry:    --
43  *
44  * On exit:     R0 == current RISC OS version
45  *
46  * Use:         Returns the current operating system version number.
47  */
48
49 extern routine rov_version;
50
51 /*----- That's all, folks -------------------------------------------------*/
52
53 #endif