Results 1 to 8 of 8
  1. #1
    Community Member Tscheuss's Avatar
    Join Date
    Jan 2012
    Posts
    0

    Default Quaternary Program Coding

    Requires: Mechanism for reading, writing, copying, and moving code where each bit has 4 states (0-3).

    Tag! You're it.
    1776 Growing Liberty for Centuries 2022

  2. #2
    Community Member Tscheuss's Avatar
    Join Date
    Jan 2012
    Posts
    0

    Default

    DNA does it in living cells. Can we do it electro-mechanically, or can it only work as a 3D bio-mechanical system?
    1776 Growing Liberty for Centuries 2022

  3. #3
    Community Member
    Join Date
    Jul 2012
    Posts
    73

    Default

    Off the top of my head, I'd say it could be implemented as a layer of abstraction on top of binary, even a physical layer if that's what you're going for. Each quaternary byte would be composed of two binary bytes.

    A more direct approach might be possible with fiber-optic computing. I don't know squat about how it works except that it's based on light, so maybe you could use four colors.

  4. #4
    Community Member Tscheuss's Avatar
    Join Date
    Jan 2012
    Posts
    0

    Default

    Composing a quaternary byte from two binary bytes, or a quaternary bit from two binary bits, would work as a simulation. However, it would result in compiled code that is twice as long as need be, at least. Still, a simulation of this type would be nice to work with to suss out coding until we get a physical platform.

    Four colors = four frequencies. This could work for the four switch states.

    DNA makes this work with shapes, mostly.

    Any other ideas for a four-state switch?
    1776 Growing Liberty for Centuries 2022

  5. #5
    Community Member Tscheuss's Avatar
    Join Date
    Jan 2012
    Posts
    0

    Default Where are all the nerds???

    Seriously. Is there no one else with input on the subject?

    We have DNA as a prime example of quaternary code, and no one else here has anything to contribute re simulation, fault tolerance, reverse engineering, analysis of how this code was designed and written?

    Within this context, how many bits to a byte, bytes to a word, etc.?

    Can we separate sequences out into commands and data, just like assembly?
    1776 Growing Liberty for Centuries 2022

  6. #6

    Default

    I'm not really certain about what you are attempting to accomplish.

    If you want to build a physical implementation, use a double-pole, double-throw electromechanical relay as your "bit". DPDT relays are fairly cheap and widely available. For working out the logistics, you can hook a ton of those up in series or parallel to start building your AND, NAND, OR and NOR gates. That will give you the basics of a working "quaternary" system. From there it's only a matter of endless wiring and lots of napkin drawings. I know it's not "code" in a modern sense, but the logic will be the same.

    A more "codey" approach, following your four lights analogy, would be to use an RGB array structure with designated values of state. Why RGB? Well, there are already hundreds of algorithms for manipulating those which would probably come in handy. You could get freaky complex with transforms that way.

    If you're looking more for a theoretical approach, quantum computing has solved most of the maths and logic involved in working with n-state bits.

    As I said, I don't really know what you're asking so I may be way off base here.

    Best of luck!
    The newest computer can merely compound, at speed, the oldest problem in the relations between human beings, and in the end the communicator will be confronted with the old problem, of what to say and how to say it. - Edward R. Murrow (1964)

  7. #7
    Community Member Tscheuss's Avatar
    Join Date
    Jan 2012
    Posts
    0

    Default

    Looking at the design of DNA, I see coded instructions and data. I am trying to figure out whether there is a pattern for determining the difference between the two.

    Also, giving thought to how "logic" would need to be re-designed to apply to four-state switches as opposed to two-state switches.

    Such concepts as AND, OR, and NOT don't quite apply the same to four-state switches, and bit shifting/rotation wouldn't yield similar results.

    Mainly, I am trying to figure out how DNA is used to design biomechanical systems, subsystems, and replacement parts.
    1776 Growing Liberty for Centuries 2022

  8. #8
    Community Member Tscheuss's Avatar
    Join Date
    Jan 2012
    Posts
    0

    Default

    Sadly, there seems to be a dearth of ubergeeks to help me through this. Fortunately, this did help as a form of freewriting, and I got an A on my paper on Intelligent Design and Natural Selection.
    1776 Growing Liberty for Centuries 2022

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

This form's session has expired. You need to reload the page.

Reload