Electronics Help

  • FlyingLotus
    4th Oct 2014 Member 0 Permalink

    I'm currently trying to make a computer in powdertoy and i understand most of the simple electronics in this game like logic gates and memory and stuff but after looking around I havent been able to find out what an ALU is. Can someone explain to me what it is, what it does and how it works in a computer?

     

    sorry, im new

  • Schicko
    4th Oct 2014 Member 1 Permalink

    Ok, lemme see...

     

    Here ya go:

     

    http://bit.ly/ZFWqzu

  • FlyingLotus
    4th Oct 2014 Member 0 Permalink

    very funny...

  • FeynmanLogomaker
    4th Oct 2014 Member 0 Permalink
    @Schicko (View Post)
    Don't be "that one guy", either make an actual suggestion or just don't post.


    Anyhow, the ALU is what does all the arithmetic (and some logic) in your computer. In this case, you would use it to calculate things, probably after your computer interprets the required calculation and sends it to the ALU in a more usable form.

    I don't actually know very much about what I'm talking about, but I think that's what you're looking for.

  • iamdumb
    5th Oct 2014 Member 0 Permalink

    @FlyingLotus (View Post)

     

    An ALU does addition, subtraction, multiplication, division, compares numbers and does logical operations on them. You can start off with an ALU the only adds, though. :P In TPT, ALUs tend to have built-in memory, due to SPRK cycle limits.

     

     You should probably start off making other tech before making a full-blown computer. You logic gates are excellent, but smaller solutions (and faster) are avaliable. Take a look at 

     

     

    for smaller, faster logic gates. You can use X-NOR for a comparator. 

     

    Sandwichlizard has made some great logic gates at

     

     

    The alu at

    is just an adder with some logic operations, like NOT.

     

    Anyway, as I said, you should make more tech to give you more experience, and hopefully you should build a better computer.