WikiPendium

(beta)

Metagettoc()

WikiPendium :: RecentChanges :: RecentlyCommented :: UserSettings :: You are ec2-18-191-228-88.us-east-2.compute.amazonaws.com

Metagettoc()


LONG Metagettoc( drive, dummy, tocentry )

WORD drive, dummy;
bos_tocentry_t *tocentry;

Metagettoc() reads the table of contents (TOC) of a CD.

Opcode

62 (0x3e)

Availability

A MetaDOS driver must be installed.

Parameters

drive is the letter of a MetaDOS device, i.e. the ASCII code for any character from 'A' to 'Z'.
dummy is an unknown parameter.
toc is a pointer to an array of bos_tocentry_t structures (enough memory for 100 of these should be enough).

If track is CDROM_LEADOUT (0xA2), then minute:second:frame is the total length of the CD.

Binding

	pea	tocentry,-(sp)
	clr.w	-(sp)
	move.w	drive,-(sp)
	move.w	#$3e,-(sp)
	trap	#14
	lea	10(sp),sp


Return Value

The LONG value contains 0 if the operation was successful, or a negative error code.

See Also

bos_tocentry_t

Il n'y a pas de commentaire sur cette page. [Afficher commentaires/formulaire]