WikiPendium

(beta)

Getbpb()

WikiPendium :: RecentChanges :: RecentlyCommented :: UserSettings :: You are ec2-3-22-208-84.us-east-2.compute.amazonaws.com
Ceci est une version archivée de Getbpb() à 2006-01-14 13:35:14.

Getbpb()

(Get bios parameter block)

BPB *Getbpb( dev )

WORD dev;

Getbpb() returns a pointer to the BPB of the given block device.

Opcode

7 (0x07)

Availability

All TOS versions.

Parameters

dev is the block device number (0 for device 'A:', 1 for 'B:', and so on).

Binding

	move.w  #dev,-(sp)
	move.w  #$07,-(sp)
	trap  #13
	addq.l  #4,sp


Return Value

The return value contains a pointer to the BPB structure of the given device.

Caveats

A media change operation must be forced after this function has been called, prior making any further GEMDOS file system operation.

See also

Mediach()

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