Set the default user
Function AddressDescription
DOS_SET_USER 0130Set the default user


Set the default user area, i.e. the user area implied by all filenames that do not specify a user number.

The default user number is initially 0.

This only affects routines that take filename parameters.

Entry Parameters

Register Content
A User 0…15, 0xFF to get the default user

Exit Parameters

If OK:
Carry true
A = default user
Carry false
A=Error code
BC DE HL IX corrupt, all other registers preserved.
Last modified November 24, 2021: Start of +3DOS documentation (253d8cc)