- 4 Bit Homemade Computer
- 08 Apr 2011 02:26:06 pm
- Last edited by Ashbad on 09 Apr 2011 10:13:04 am; edited 1 time in total
Me and my friend spent last weekend making a 2 bit computer out of ONLY household items.
What we used:
-6 nails
-3 miniature cardboard boxes
-6 low charge magnets
-tons of wire
anyways, no picture yet, my friend is gonna give me a few pictures on monday -- hopefully by then we can allow for writing of programs in nibble hex using switches
Here's the plan on what the possible opcode table will be:
0 - NOP
1 - ADD O, A, B
2 - SUB O, A, B
3 - ADD A, B
4 - SUB A, B
5 - OUT A
6 - OUT B
7 - IN A
8 - IN B
9 - AND A, B
A - LD A, PC$ + 1
B - LD B, PC$ + 1
C - OUT PC$ + 1
D - AND A, B
E - IN PC$
F - RET
To do this program writing however, we'll need more materials -- we'll try to find the cheapest switches available ;D and more copper wire, we already use a full roll
What we used:
-6 nails
-3 miniature cardboard boxes
-6 low charge magnets
-tons of wire
anyways, no picture yet, my friend is gonna give me a few pictures on monday -- hopefully by then we can allow for writing of programs in nibble hex using switches
Here's the plan on what the possible opcode table will be:
0 - NOP
1 - ADD O, A, B
2 - SUB O, A, B
3 - ADD A, B
4 - SUB A, B
5 - OUT A
6 - OUT B
7 - IN A
8 - IN B
9 - AND A, B
A - LD A, PC$ + 1
B - LD B, PC$ + 1
C - OUT PC$ + 1
D - AND A, B
E - IN PC$
F - RET
To do this program writing however, we'll need more materials -- we'll try to find the cheapest switches available ;D and more copper wire, we already use a full roll