ZXFoundation™ 26h2
Loading...
Searching...
No Matches
drivers::console::diag::detail::hercules_message Class Reference

Encapsulates a Hercules-compatible DIAG 8 message. More...

Public Member Functions

constexpr hercules_message () noexcept
 Constructs a message with the MSGNOH prefix.
auto transcribe (std::string_view s) noexcept -> void
 Transcribes an ASCII string into the EBCDIC message buffer.
auto transmit () const noexcept -> void
 Transmit the message via the DIAG 8 instruction.

Static Public Attributes

static constexpr usize MAX_CAPACITY = 256
static constexpr usize PREFIX_SIZE = 9

Detailed Description

Encapsulates a Hercules-compatible DIAG 8 message.

Member Function Documentation

◆ transcribe()

auto drivers::console::diag::detail::hercules_message::transcribe ( std::string_view s) ->void
inlinenoexcept

Transcribes an ASCII string into the EBCDIC message buffer.

Parameters
sThe ASCII input string.

The documentation for this class was generated from the following file:
  • drivers/console/diag.zcomponent/core.cxx