diff --git a/nx01-warp-manifestor/src/main/java/love/distributedrebirth/nx01/warp/manifestor/manifest/WarpManifestX18Import.java b/nx01-warp-manifestor/src/main/java/love/distributedrebirth/nx01/warp/manifestor/manifest/WarpManifestX18Import.java index 2021d87..3394898 100644 --- a/nx01-warp-manifestor/src/main/java/love/distributedrebirth/nx01/warp/manifestor/manifest/WarpManifestX18Import.java +++ b/nx01-warp-manifestor/src/main/java/love/distributedrebirth/nx01/warp/manifestor/manifest/WarpManifestX18Import.java @@ -29,6 +29,7 @@ package love.distributedrebirth.nx01.warp.manifestor.manifest; import org.x4o.o2o.fc18.FourCornerUnicodeImport; import org.x4o.o2o.octal.PrimordialOctalOrangeJuiceCord; +import org.x4o.o2o.octal.PrimordialOctalOrangeString; /// Warp manifest 18 bit model importer from 8 bit model /// @@ -65,6 +66,6 @@ public final class WarpManifestX18Import { } static private PrimordialOctalOrangeJuiceCord toX8(String value) { - return FourCornerUnicodeImport.lossy().convertToJuice(value); + return PrimordialOctalOrangeString.valueOfSmurfs(FourCornerUnicodeImport.lossy().convertToInt18(value)); } } diff --git a/nx01-x4o-o2o/src/main/java/org/x4o/o2o/fc18/FourCornerDotCake.java b/nx01-x4o-o2o/src/main/java/org/x4o/o2o/fc18/FourCornerDotCake.java index d48c547..14efae4 100644 --- a/nx01-x4o-o2o/src/main/java/org/x4o/o2o/fc18/FourCornerDotCake.java +++ b/nx01-x4o-o2o/src/main/java/org/x4o/o2o/fc18/FourCornerDotCake.java @@ -124,7 +124,12 @@ public enum FourCornerDotCake { // All child letter symbols are above, an adult computer language does use ZERO // cake point above this LINE of IBM1616 or lower cake points. - // TODO: move ESC_NETHER to struct(todo) block, as escape codes should not be used real code. + // Render data-grams and words; + // - A 6 or 8 bit computer uses these escaped dark symbols + // - A 32 or 64 bit, like your current computer uses 21 bit unicode + // - A 18 or 144 bit computer uses 72 bit unicode4D vector drawing + + // TODO: move ESC_NETHER to struct(todo) block, as escape codes should not be used in real 18 bit (text) code. // =========== Allow end-user select rendering of data gram packet per context diff --git a/nx01-x4o-o2o/src/main/java/org/x4o/o2o/fc18/FourCornerUnicodeDisplay.java b/nx01-x4o-o2o/src/main/java/org/x4o/o2o/fc18/FourCornerUnicodeDisplay.java index 5df1291..6cc55bb 100644 --- a/nx01-x4o-o2o/src/main/java/org/x4o/o2o/fc18/FourCornerUnicodeDisplay.java +++ b/nx01-x4o-o2o/src/main/java/org/x4o/o2o/fc18/FourCornerUnicodeDisplay.java @@ -146,6 +146,8 @@ public class FourCornerUnicodeDisplay { } private boolean printedEscape(FourCornerDotCake slice, int offset) { + // TODO: get from PIE and update as we changed the escape code layout + if (FourCornerDotCake.FC_CDC1604_P6.equals(slice)) { if (offset < 4) { output.appendCodePoint(FCDotCDC1604DashP6.escapeSignUnicode(offset)); @@ -161,6 +163,10 @@ public class FourCornerUnicodeDisplay { return false; } + // Add to pie; +(other escape signs) + // U+FFFC  OBJECT REPLACEMENT CHARACTER, + // U+FFFD � REPLACEMENT CHARACTER + @Override public void strobeWords(FourCornerDotCake slice, List offsets) { FourCornerX00PetitVidePoints[] videPoints = slice.getVidePoints(); diff --git a/nx01-x4o-o2o/src/main/java/org/x4o/o2o/fc18/FourCornerUnicodeImport.java b/nx01-x4o-o2o/src/main/java/org/x4o/o2o/fc18/FourCornerUnicodeImport.java index 13bf57c..e44067c 100644 --- a/nx01-x4o-o2o/src/main/java/org/x4o/o2o/fc18/FourCornerUnicodeImport.java +++ b/nx01-x4o-o2o/src/main/java/org/x4o/o2o/fc18/FourCornerUnicodeImport.java @@ -28,8 +28,6 @@ import java.util.PrimitiveIterator; import org.x4o.o2o.fc18.zero33.FCDotCDC1604DashP6; import org.x4o.o2o.fc18.zero33.FCDotDEC0127DashPX0; -import org.x4o.o2o.octal.PrimordialOctalOrangeJuiceCord; -import org.x4o.o2o.octal.PrimordialOctalOrangeString; /// Imports unicode as four corner BASIC text from the "FC.CDC1604-P6" code page. /// @@ -56,10 +54,6 @@ public class FourCornerUnicodeImport { return new FourCornerUnicodeImport(true, false, List.of(FCDotCDC1604DashP6.QUESTION)); } - public PrimordialOctalOrangeJuiceCord convertToJuice(String text) { - return PrimordialOctalOrangeString.valueOfSmurfs(convertToInt18(text)); - } - public List convertToInt18(String text) { List cakePoints = new ArrayList<>(text.length()); for (FourCornerX18CakePoints oven : convertToX18(text)) {