WikiPendium

(beta)

Metaseek()

WikiPendium :: RecentChanges :: RecentlyCommented :: UserSettings :: You are ec2-3-141-27-244.us-east-2.compute.amazonaws.com

Metaseek()


LONG Metaseek( drive, dummy, offset )

WORD drive;
LONG dummy, offset;

Metaseek() positions the device head on a specific block.

Opcode

53 (0x35)

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.
offset is the count of 2048-byte block to move from the current position.

Binding

	move.l	offset,-(sp)
	move.l	dummy,-(sp)
	move.w	drive,-(sp)
	move.w	#$35,-(sp)
	trap	#14
	lea	12(sp),sp


Return Value

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

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