[Boards: 3 / a / aco / adv / an / asp / b / bant / biz / c / can / cgl / ck / cm / co / cock / d / diy / e / fa / fap / fit / fitlit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mlpol / mo / mtv / mu / n / news / o / out / outsoc / p / po / pol / qa / qst / r / r9k / s / s4s / sci / soc / sp / spa / t / tg / toy / trash / trv / tv / u / v / vg / vint / vip / vp / vr / w / wg / wsg / wsr / x / y ] [Search | Free Show | Home]

>How do you go from this?

This is a blue board which means that it's for everybody (Safe For Work content only). If you see any adult content, please report it.

Thread replies: 22
Thread images: 4

File: Q.jpg (43KB, 1059x345px) Image search: [Google]
Q.jpg
43KB, 1059x345px
>How do you go from this?
>>
File: A.jpg (22KB, 800x600px)
A.jpg
22KB, 800x600px
>>59789804
>to this?
>>
math
>>
math
>>
>>59789819
>>59789822
mivehind
>>
File: 1405428240222.gif (1MB, 300x207px)
1405428240222.gif
1MB, 300x207px
>>59789811
>>
>>59789819
Yeah but how do you make off and on become logic and shit?
>>
>>59789838
>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?
>>
>>59789859
chinese reptilian magic stay woke
>>
>>59789859
>fishy
>bait

gr8
>>
Math
>>
>>59789859
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.
>>
>>59789859
>>59789811
Jews
>>
>>59790587
How does it read?
>>
>>59789804
Go make a clock with redstone in minecraft and you'll start to understand.
>>
>>59791064
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.
>>
>>59789859
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.
>>
File: code.gif (166KB, 314x475px)
code.gif
166KB, 314x475px
>>59789804
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.
>>
>>59789838
>>59789859
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
>>
>>59789831
https://youtu.be/iboWG0cjIiM?t=13
Thread posts: 22
Thread images: 4


[Boards: 3 / a / aco / adv / an / asp / b / bant / biz / c / can / cgl / ck / cm / co / cock / d / diy / e / fa / fap / fit / fitlit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mlpol / mo / mtv / mu / n / news / o / out / outsoc / p / po / pol / qa / qst / r / r9k / s / s4s / sci / soc / sp / spa / t / tg / toy / trash / trv / tv / u / v / vg / vint / vip / vp / vr / w / wg / wsg / wsr / x / y] [Search | Top | Home]

I'm aware that Imgur.com will stop allowing adult images since 15th of May. I'm taking actions to backup as much data as possible.
Read more on this topic here - https://archived.moe/talk/thread/1694/


If you need a post removed click on it's [Report] button and follow the instruction.
DMCA Content Takedown via dmca.com
All images are hosted on imgur.com.
If you like this website please support us by donating with Bitcoins at 16mKtbZiwW52BLkibtCr8jUg2KVUMTxVQ5
All trademarks and copyrights on this page are owned by their respective parties.
Images uploaded are the responsibility of the Poster. Comments are owned by the Poster.
This is a 4chan archive - all of the content originated from that site.
This means that RandomArchive shows their content, archived.
If you need information for a Poster - contact them.