This the multi-page printable view of this section.Click here to print.

Return to the regular view of this page.

DOS_SET_USER

Set the default user

Table of Contents

Function AddressDescription
DOS_SET_USER 0130Set the default user

Synopsys

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
Otherwise:
Carry false
A=Error code
Always:
BC DE HL IX corrupt, all other registers preserved.