Module channels

Module channels 

Source
Expand description

Typed access to channel data within a memory image.

Channels are stored across three separate memory regions:

  • Flags at byte offset 0x2000: 4 bytes per entry, 1,200 entries.
  • Data at byte offset 0x4000: 40 bytes per channel in 192 memgroups of 6 channels each (256 bytes per memgroup including 16 bytes padding).
  • Names at byte offset 0x10000: 16 bytes per name, 1,200 entries.

§Address verification

These MCP byte offsets are confirmed by the memory dump fixture and are consistent with the memory map documentation. Note that some tools use file-based addressing (offset by +0x100 for the .d75 file header), so addresses 0x2100, 0x0100, 0x10100 correspond to MCP byte addresses 0x2000, 0x0000, 0x10000 respectively. Our offsets are MCP byte addresses (no file header offset).

The ChannelAccess struct borrows the raw image and provides methods to read individual channels or iterate over all populated channels.

Structs§

ChannelAccess
Read-only access to channel data within a memory image.
ChannelWriter
Mutable access to channel data within a memory image.