Installation guide
7 Additional Libraries OS-9 V2.4 on EUROCOM-17
44 Software Manual
Sys$SetDisp Set digit of hex display
❏ INPUT:
d0.w = 13 (Sys$SetDisp function code)
d1.l = Digit for hex display
❏ Output:
none
❏ Error Output:
cc = carry bit set
d1.w = error code if error
❏ Possible Errors:
E$Permit - you must belong to group 0 to use this function
E$Param - impossible value for hex display
❏ Function:
Sys$SetDisp writes the value of d1.l into the boards hex display,
which is located at the front panel. This function returns -1 if the board
does not have a hex display.
Sys$GetSwt Get contents of hex switches
❏ Input:
d0.l = 13 (Sys$SetDisp function code)
❏ Output:
d0.l = contents of two hex switches
❏ Error Output:
cc = carry bit set
d1.w = error code if error
❏ Possible Errors:
E$Permit - you must belong to group 0 to use this function
❏ Function:
Sys$GetSwt reads the contents of the hex switches of the board, which
is located at the front panel. The lower switch is located in the lower
nibble of the long word.