From 0b50b064dbd319f2113dd3a1245d9b12a5fffa2e Mon Sep 17 00:00:00 2001 From: "G.K.MacGregor" Date: Wed, 12 Apr 2023 21:18:22 +0100 Subject: [PATCH] Set address when inserting a Address Row 0 triplet --- x26dockwidget.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/x26dockwidget.cpp b/x26dockwidget.cpp index 3904a3b..27d20f0 100644 --- a/x26dockwidget.cpp +++ b/x26dockwidget.cpp @@ -1074,6 +1074,9 @@ void X26DockWidget::insertTriplet(int modeExt, bool after) // For character triplets, ensure Data is not reserved if (modeExt == 0x21 || modeExt == 0x22 || modeExt == 0x29 || modeExt == 0x2b || modeExt >= 0x2f) newTriplet.setData(0x20); + // For Address Row 0, set Address + if (modeExt == 0x07) + newTriplet.setAddress(63); // For Termination Marker, set Address and Mode if (modeExt == 0x1f) { newTriplet.setAddress(63);