Пример #1
0
 // Set attributed characters into section
 public void SetAttrChrs(string s, int offset)
 {
     byte[] data = MB.FormatOutput(BaseAttr.Data, s);
     Buffer.BlockCopy(data, 0, b, offset * 2, data.Length);           // Fast move?
     MB.LogIt($"BSet[{MB.GetNozzle(BaseAttr)}{BaseAttr.Val:X4}+{offset:X4}] {MB.GetAttributeName(BaseAttr.Class, BaseAttr.Val)} = " +
              $"{MB.FormatText(data)}");
 }