From 50cd28f88299ed9bf6f13acadab1d5a63d822dbf Mon Sep 17 00:00:00 2001 From: Thomas Harte Date: Thu, 20 Nov 2025 15:32:57 -0500 Subject: [PATCH] Add three device-descriptor-specific functions. --- Machines/Enterprise/EXOSCodes.hpp | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/Machines/Enterprise/EXOSCodes.hpp b/Machines/Enterprise/EXOSCodes.hpp index bddb7b1b4..470db33dd 100644 --- a/Machines/Enterprise/EXOSCodes.hpp +++ b/Machines/Enterprise/EXOSCodes.hpp @@ -25,7 +25,7 @@ enum class Function: uint8_t { ReadBlock = 6, // RDBLK WriteCharacter = 7, // WRCH WriteBlock = 8, // WRBLK - ReadStatus = 9, // RSTAT + ReadChannelStatus = 9, // RSTAT SetChannelStatus = 10, // SSTAT SpecialFunction = 11, // SFUNC @@ -44,6 +44,16 @@ enum class Function: uint8_t { ReturnErrorMessage = 28, // ERRMSG }; +// Page 25. +enum class DeviceDescriptorFunction: uint8_t { + // + // Codes are the same as `Function` in the range 1–11. + // + Interrupt = 0, + Initialise = 12, + BufferMoved = 13, +}; + // Pages 68–70. enum class Error: uint8_t { //