v50 Steam/Premium information for editors
- v50 information can now be added to pages in the main namespace. v0.47 information can still be found in the DF2014 namespace. See here for more details on the new versioning policy.
- Use this page to report any issues related to the migration.
This notice may be cached—the current version can be found here.
Editing User:Green Sprite
Jump to navigation
Jump to search
Warning: You are not logged in.
Your IP address will be recorded in this page's edit history.
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 131: | Line 131: | ||
</frame> | </frame> | ||
</diagram> | </diagram> | ||
− | In the design, each row of red gear assemblies {{Raw Tile|☼|4:1}} are linked to the row of pressure plates in a byte. The purple gear assemblies {{Raw Tile|☼|5:0}} are normally inverted and decide which byte to read. A binary decoder selects which purple gear assembly to engage. Reading works by first letting power flow through a single purple gear assembly corresponding to one byte and then through the red gear assemblies that are engaged. The lower z level (0) carries the power to a [[Mechanical_logic#Power_to_signal_converter|power to signal converter]] | + | In the design, each row of red gear assemblies {{Raw Tile|☼|4:1}} are linked to the row of pressure plates in a byte. The purple gear assemblies {{Raw Tile|☼|5:0}} are normally inverted and decide which byte to read. A binary decoder selects which purple gear assembly to engage. Reading works by first letting power flow through a single purple gear assembly corresponding to one byte and then through the red gear assemblies that are engaged. The lower z level (0) carries the power to a [[Mechanical_logic#Power_to_signal_converter|power to signal converter]]. |
==Binary Decoder== | ==Binary Decoder== | ||
I will be using [[User:Jong/Dwarven_Computer#Decoder|Jong's design]] for a binary decoder. Binary decoders allow for memory addressing and selecting operations from an opcode. | I will be using [[User:Jong/Dwarven_Computer#Decoder|Jong's design]] for a binary decoder. Binary decoders allow for memory addressing and selecting operations from an opcode. | ||
Line 138: | Line 138: | ||
Components: | Components: | ||
− | <diagram fg=7:0 | + | <diagram fg=5:0> |
+ | [#7:0]O══════════════════O | ||
+ | [#5:1]^[#0:0][@7:0]■[@][#1:1]☼☼[#7:0] Bitwise and | ||
+ | [#7:1]╚╝[#7:0] | ||
O══════════════════O | O══════════════════O | ||
− | [#5:1]^[#0:0][@7:0]■[@][# | + | [#5:1]^[#0:0][@7:0]■[@][#4:1]☼[#7:0] Bitwise xor |
− | [#7:1]╚╝[#] | + | [#7:1]╚╝[#7:0] |
O══════════════════O | O══════════════════O | ||
− | [# | + | OO[#]☼☼[#7:0]☼ (x and y) or z |
− | + | [#5:1]^[#0:0][@7:0]■[@#]☼☼☼ | |
− | |||
− | |||
− | [#5:1]^[#0:0][@7:0]■[@#] | ||
[#7:1]╚╝ | [#7:1]╚╝ | ||
</diagram> | </diagram> | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
==Edge Detectors (Rising and Falling)== | ==Edge Detectors (Rising and Falling)== | ||
Rising edge detector design: | Rising edge detector design: | ||
Line 173: | Line 156: | ||
╚═════╝ | ╚═════╝ | ||
</diagram> | </diagram> | ||
− | The rising edge detector sends a pulse when an open signal is sent. Both rollers {{Raw Tile|╢|7:0}} are always active and sending the cart from west to east. The red door {{Raw Tile|┼|#C0C0C0|#F00}} is linked to the input. The input is also connected to a not gate, which feeds to a | + | The rising edge detector sends a pulse when an open signal is sent. Both rollers {{Raw Tile|╢|7:0}} are always active and sending the cart from west to east. The red door {{Raw Tile|┼|#C0C0C0|#F00}} is linked to the input. The input is also connected to a not gate, which feeds to a power to signal converter. The power to signal converter connects to the red door {{Raw Tile|┼|#C0C0C0|#0F0}}. The pressure plate {{Raw Tile|^|5:1}} is the output. A minecart is placed on the roller between both doors. When the input sends a open signal the green door opens, letting the minecart past the pressure plate. The pressure plate sends a pulse starting instantly for 99 ticks. At the same time, the red door closes, stopping the minecart from going through. When the input sends a closed signal again, the red door opens, but the green door closes, so the minecart is set back to the original position. |
The falling edge detector is the same as the rising edge detector, but the green and red doors are flipped. | The falling edge detector is the same as the rising edge detector, but the green and red doors are flipped. |