Proposal for a sticky of exercises for N00bZ
Moderator: Moderators
- never-obsolete
- Posts: 403
- Joined: Wed Sep 07, 2005 9:55 am
- Location: Phoenix, AZ
- Contact:
-
atari2600a
- Posts: 324
- Joined: Fri Jun 29, 2007 10:25 pm
- Location: Earth, Milkyway Galaxy, The Universe, M-Theory
- Contact:
It doesn't matter, the chart is probably too high-level for anything useful to teach to n00bs here. Try finding something w/ just the 6502 instruction set & more along the lines of something like this:
10
01
11
10
01
11
Last edited by atari2600a on Wed Dec 12, 2007 1:14 pm, edited 1 time in total.
Code: Select all
*=$0000
loop JMP loop
.eofThat has to be the craziest diagram I've ever seen.
This is what people need to know:
NOT 0 = 1
NOT 1 = 0
0 AND 0 = 0
0 AND 1 = 0
1 AND 0 = 0
1 AND 1 = 1
0 OR 0 = 0
0 OR 1 = 1
1 OR 0 = 1
1 OR 1 = 1
0 XOR 0 = 0
0 XOR 1 = 1
1 XOR 0 = 1
1 XOR 1 = 0
NAND = AND with inverted (NOT) output
NOR = OR with inverted output
XNOR = XOR with inverted output
If you're going to do digital design, then you should learn boolean algebra, but the above is all that's really necessary for bit masking.
This is what people need to know:
NOT 0 = 1
NOT 1 = 0
0 AND 0 = 0
0 AND 1 = 0
1 AND 0 = 0
1 AND 1 = 1
0 OR 0 = 0
0 OR 1 = 1
1 OR 0 = 1
1 OR 1 = 1
0 XOR 0 = 0
0 XOR 1 = 1
1 XOR 0 = 1
1 XOR 1 = 0
NAND = AND with inverted (NOT) output
NOR = OR with inverted output
XNOR = XOR with inverted output
If you're going to do digital design, then you should learn boolean algebra, but the above is all that's really necessary for bit masking.
- jargon
- B&: This is not your blog
- Posts: 208
- Joined: Fri Dec 07, 2007 11:40 pm
- Location: 480/85260
- Contact:
the chart is simple venn diagrams numbered by their binary truth table with ascii-based engineering notation for the logic gates using just OR/NOT/AND.atari2600a wrote:It doesn't matter, the chart is probably too high-level for anything useful to teach to n00bs here. Try finding something w/ just the 6502 instruction set & more along the lines of something like this:
10
01
11
it's as low level as its going to get.
i used to teach third graders using the original version of that chart using decals of each entry fused to the vertices of a physical hypercube i built. and they understood it fine. the complete newbies here seem to understand my chart while the self-hyped gurus such as yourself don't understand it at all. obviously you traded intuition for de-education, impo.
de-education btw is the united states public schools common practice of telling students conceptualization they intuitively put together on their own from course work is baseless and worthless wasted time, due to not being useful for the limited set of information in the task at hand, the teachers or the course normally not knowing how to intuitively put such conceptualization together on their own as they were also taught by their own teachers one can only learn by being reliant on the information published by others.
such practices have led to the united states producing most of the stupidest adults in all of the world, having even worse self-reliance than most children in even the most devastated of third world countries.
just like the student witness on the underlying realities based fictional television comedy Boston Legal claimed the other day. Most US Americans do not even understand the simple survival instinct that direction of north-west is obvious when one knows the relative positions of the sun, moon, or stars.
- jargon
- B&: This is not your blog
- Posts: 208
- Joined: Fri Dec 07, 2007 11:40 pm
- Location: 480/85260
- Contact:
MediaPlague.com :: Boolean Beakers Posters
0, 1, 2 input "Boolean Beakers" overview thumbnail
0 input "Boolean Beakers" poster

1 input "Boolean Beakers" poster

2 input "Boolean Beakers" poster

I grant NESdev permission to use these copyrighted images in their unmodified gif89a condition for the NESdev Newbie survival guide, however no derivative works shall be created.
0, 1, 2 input "Boolean Beakers" overview thumbnail
0 input "Boolean Beakers" poster

1 input "Boolean Beakers" poster

2 input "Boolean Beakers" poster

I grant NESdev permission to use these copyrighted images in their unmodified gif89a condition for the NESdev Newbie survival guide, however no derivative works shall be created.
- Laserbeak43
- Posts: 188
- Joined: Fri Sep 21, 2007 4:31 pm
- Contact:
- jargon
- B&: This is not your blog
- Posts: 208
- Joined: Fri Dec 07, 2007 11:40 pm
- Location: 480/85260
- Contact:
you must rely on intuition.Laserbeak43 wrote:i must be stupider than a 3rd grader cause as soon as i think it makes sense, something about it proves me wrong.
notice the overlapping layout of the 3 posters.
to grok, takes time and patience.
I haven't slept since Tuesday morning/afternoon. Amazing that I am still pretty lucid eh? Consuming raw garlic cloves burns worse than hot pepper seeds, however it isn't a burn that sticks to your tongue.
-
atari2600a
- Posts: 324
- Joined: Fri Jun 29, 2007 10:25 pm
- Location: Earth, Milkyway Galaxy, The Universe, M-Theory
- Contact:
I finally understand this table!. Each square covers a different logic function, of the 16 possible functions involving two boolean inputs (including ones which don't even examine the inputs). The result is shown in two ways, graphically and as a binary value. The function is also expressed in two ways, as a named binary operator and as an expression involving the common operators ! (NOT), | (OR), & (AND), and ^ (XOR).
Graphically, it's fairly simple. There are two fruits with some overlap, and a background. The left (apple) represents A, the right (orange) B. This forms four regions: neither A nor B (the water background), A only (the non-overlapped part of the apple), B only (the non-overlapped part of the orange), and A and B (the overlapping part). Each of these regions can be either colored or outlined; when colored, the function is true in this case, otherwise it's false.
The four bit binary value is the least obvious. It represents the same information as the image. The bits correspond to the following inputs being true: AB, A, B, (none). So with OR you get 1110 (true as long as either A or B is true), with AND you get 1000 (true only when both A and B are true).
To summarize each function (sorry, challenge not included):
Graphically, it's fairly simple. There are two fruits with some overlap, and a background. The left (apple) represents A, the right (orange) B. This forms four regions: neither A nor B (the water background), A only (the non-overlapped part of the apple), B only (the non-overlapped part of the orange), and A and B (the overlapping part). Each of these regions can be either colored or outlined; when colored, the function is true in this case, otherwise it's false.
The four bit binary value is the least obvious. It represents the same information as the image. The bits correspond to the following inputs being true: AB, A, B, (none). So with OR you get 1110 (true as long as either A or B is true), with AND you get 1000 (true only when both A and B are true).
To summarize each function (sorry, challenge not included):
Code: Select all
1 1 0 0 A Inputs
1 0 1 0 B
--------------------
0 0 0 0 FALSE
0 0 0 1 NOR
0 0 1 0 JUST B
0 0 1 1 NOT A
0 1 0 0 JUST A
0 1 0 1 NOT B
0 1 1 0 A XOR B
0 1 1 1 A NAND B
1 0 0 0 A AND B
1 0 0 1 A XNOR B
1 0 1 0 B
1 0 1 1 A IMP B
1 1 0 0 A
1 1 0 1 A LIMP B
1 1 1 0 A OR B
1 1 1 1 TRUE-
Celius
- Posts: 2159
- Joined: Sun Jun 05, 2005 2:04 pm
- Location: Minneapolis, Minnesota, United States
- Contact:
I've tasted raw garlic cloves before. You're right, they burn worse than hot pepper seeds. I was once cooking, and I cut up some garlic. I thought I'd just try a peice of it. It was so sick. No wonder vampires are allergic to it.jargon wrote:you must rely on intuition.Laserbeak43 wrote:i must be stupider than a 3rd grader cause as soon as i think it makes sense, something about it proves me wrong.
notice the overlapping layout of the 3 posters.
to grok, takes time and patience.
I haven't slept since Tuesday morning/afternoon. Amazing that I am still pretty lucid eh? Consuming raw garlic cloves burns worse than hot pepper seeds, however it isn't a burn that sticks to your tongue.
By the way, I need to keep looking at your poster you've displayed. I don't even understand it. I don't know if someone who's new to the NESdev scene will.
Here's how I understand it:
- Iff a bin has water in it, the function is true when a is false and b is false.
- Iff a bin has apple in it, the function is true when a is true and b is false.
- Iff a bin has orange in it, the function is true when a is false and b is true.
- Iff a bin has plum in it, the function is true when a is true and b is true.
- a false, b false: result false, no water
- a true, b false: result true, apple
- a false, b true: result true, orange
- a true, b true: result true, plum
