/*
 * roVersion.h
 *
 * [Generated from roVersion, 25 September 1996]
 */

#if !defined(__CC_NORCROFT) || !defined(__arm)
  #error You must use the Norcroft ARM Compiler for Sapphire programs
#endif

#pragma include_only_once
#pragma force_top_level

#ifndef __roVersion_h
#define __roVersion_h

#ifndef __sapphire_h
  #include "sapphire.h"
#endif

/*----- Overview ----------------------------------------------------------*
 *
 * Functions provided:
 *
 *  rov_init
 *  rov_version
 */

/* --- rov_init --- *
 *
 * On entry:	--
 *
 * On exit:	--
 *
 * Use:		Sets up the OS version in a cache.
 */

extern routine rov_init;

/* --- rov_version --- *
 *
 * On entry:	--
 *
 * On exit:	R0 == current RISC OS version
 *
 * Use:		Returns the current operating system version number.
 */

extern routine rov_version;

/*----- That's all, folks -------------------------------------------------*/

#endif
