How do you go from this?

>How do you go from this?

Other urls found in this thread:

youtu.be/iboWG0cjIiM?t=13
twitter.com/SFWRedditVideos

>to this?

math

math

mivehind

...

Yeah but how do you make off and on become logic and shit?

>off and on isnt logic

Does anyone know gow this shit works? Not OP but something fishy is going on here. How can "math" turn on and offs to numbers and colors?

chinese reptilian magic stay woke

>fishy
>bait

gr8

Math

It's not just math dumbass. There's a machine there, it reads those bits continuously in a sequence, some of those bits tell the machine what to do, others are data such as numbers and memory locations to access.

At this point you can make a program that stores pixels to video memory, and you can make that program write the shape of 15 on the screen, despite being just a bunch of numbers in sequence.

Jews

How does it read?

Go make a clock with redstone in minecraft and you'll start to understand.

It just reads a word off of memory according to the current instruction pointer. From that point on and below it's all hardware. Electronics. Turtles.

It's a code. Hence where the term coding comes from. We might use a code where we treat 8 binary digits as a single number. Other times we treat groups of 64 digits as a number.
We have different codes for different things. For colors we store a number for the red component, green component, and blue component.

OP, read this book. Its a great book on its own if you're interested in how computers came to be and how they work.

Admittedly it can be a little tough at times to read but I really enjoyed it.

Look into state machines or processor design. You could make a circuit that takes binary input like this and converts it to display segments, and that would be a calculator (or computer).

Logic gates (AND, OR, XOR, NOT, NAND, NOR) are the building blocks of this kind of circuit. Registers (or flip-flops) are for storing bits of information.

You could make some kind of circuit to convert ASCII decimal digits into binary numbers.

Dividing by 2 is just a right bit shift, so if you have a register with 00011110 you move the bits to the right to get 00001111.

You can make an adder with gates. For a single bit, if you're adding A + B then the result is A XOR B and the carry is A AND B (think of 0+0, 0+1, 1+0, 1+1). You can make that out of gates and put a bunch of them together to add, say, 8-bit numbers.

You can use look-up tables for display segments. Use logic gates again to convert 00001111 (15 in binary) to maybe 0001 0101 (15 in binary-coded decimal), and then convert 0001 0101 to maybe 0010010 1101101, which is the seven-segment displays labeled from top to bottom with one bit per segment. Your look-up table would have the ten entries: 1110111, 0010010, 1101010, 1011011, 0111010, 1101010, 1101111, 1010010, 1111111, 1111011.

You'd use code converters to get between these different representations. Maybe multiplexers and demultiplexers to choose one out of a bunch of operations (maybe +,–,×,÷ and others) or signals.

Okay, that's not a very good explanation but it might be enough terminology to go look up.

meth

youtu.be/iboWG0cjIiM?t=13