F$AllBit

From NitrOS-9
Jump to: navigation, search
Allocate Bits Sets bits in an allocation bit map
OS9 F$AllBit 103F 13
Entry Conditions
D number of the first bit to set
X starting address of the allocation bit map
Y number of bits to set
Error Output
CC carry set on error
B error code (if any)

Additional Information

This system mode service request sets bits in the allocation bitmap specified by the X register.

  • Bit numbers range from 0 to n-1, where n is the number of bits in the allocation bit map.
  • Warning: Do not issue the Allocate Bits call with Register Y set to 0 (a bit count of 0).

krnp2