WikiPendium

(beta)

Getbpb()

WikiPendium :: RecentChanges :: RecentlyCommented :: UserSettings :: You are 216.73.216.227

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]