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-FileMetainit() XBIOSSyntaxVOID Metainit( metainfo )
METAINFO *metainfo;
Function Metainit() returns information regarding the current version
and installed drives of MetaDOS.
Opcode 48 (0x30)
Availability To test for the availability of MetaDOS the following steps
must be taken:
1. Fill the METAINFO structure with all zeros.
2. Call Metainit().
3. If metainfo.version is NULL, MetaDOS is not installed.
Parameters metainfo is a pointer to a METAINFO structure which is
filled in by the call. METAINFO is defined as:
typedef struct
{
/* Bitmap of drives (Bit 0 = A, 1 = B, etc... */
ULONG drivemap;
/* String containing name and version */
char *version;
/* Currently unused */
LONG reserved[2];
} METAINFO;
Binding pea metainfo
move.w #$30,-(sp)
trap #14
addq.l #6,sp