New 8-bit Processor

  • Ferne
    4th Aug 2013 Member 0 Permalink
    Cool that you keep upgrading and upgrading this computer but the space ends ;_;. Cool if there'd be an option to choose the size of the powder toy screen so you get more room.
  • Synergy
    4th Aug 2013 Member 0 Permalink

    Yeah, but if we could just expand the window, no one would endevour to make every as small as they can.

     

    Got plenty of room left atm though. Should be enough for those extra bitwise functions.

     

    @Schmolendevices

     

    I finally found and fixed the problem that was preventing your program from working properly!!

    Edited once by Synergy. Last: 4th Aug 2013
  • Ferne
    4th Aug 2013 Member 0 Permalink
    Why is everyone making multiplication programs O_o?

    Also, any update today?
  • Synergy
    4th Aug 2013 Member 0 Permalink

    Haha I have no idea. It's the easiest thing to make currently. I want to make a guessing game like mark22's. However I can't understand why his is so slow... How long can it take to shift your upper and lower bounds and guess the number in the middle? I can think of a way without even using division. It's 2:00am at the moment, but I intend to add some things tomorrow (IF A!=B, A > B, A < B). I am thinking up a way to include subraction without having to make a massive slow modified addition ripple carry adder.

     

    Today I basically just fixed some bugs (I think I have found 99.9999% of them now).

  • Ferne
    4th Aug 2013 Member 0 Permalink
    Well gonna do basics of my supercomplex calculator oh oh oh.
  • Synergy
    4th Aug 2013 Member 0 Permalink

    What operations will be the most crucial/useful for that?

     

    Also I was considering making a seperate save with 100x25-bit RAM.

     

    I could then make a sort of user friendly program compiler that would store the instructions in RAM. I imagine there is a command to convert BRAY to INWR. When it's done you can just copy/paste into the processor in the seperate save.

    Edited once by Synergy. Last: 4th Aug 2013
  • Okte
    4th Aug 2013 Member 0 Permalink

    @Synergy (View Post)

    Ah. It looks like I broke something when I added user input.

    I've updated it, but I'm not sure I've fixed it (I haven't tested it yet).

  • MiningMarsh
    4th Aug 2013 Member 0 Permalink

    @Synergy (View Post)

     

    Go the UM32 way of subtraction, and just add a universal logic NAND gate.

     

    subtraction is simply:

    a = 5

    a = a NAND a

    a = a+2

    a = a NAND a

     

    now a is 3.

     

    You could just add a NOT gate, but you could also remove all the logic gates but NAND (the fun way :P). It should be as simple as negating the output bits of the AND gate.

     

    Edited 3 times by MiningMarsh. Last: 4th Aug 2013
  • Ferne
    4th Aug 2013 Member 0 Permalink
    Well most useful would be IF comparision, maybe subtraction for itself and modulo. And I guess it'd be more handy if you'd add a negation to them, so IF EQUAL works like:
    If a = b, jump to specified adress.
    else go to next instruction.
    If you want the old way you can always do it like:
    IFE A, B [this + 2]
    JMP [address you want if not equal]
    I just think it'd be more frequently used in this way...
    Edited once by Ferne. Last: 4th Aug 2013
  • Synergy
    4th Aug 2013 Member 0 Permalink

    i shall look into those . Also i just visualized how to do double dabble in a program. this should be fun.

    Edited once by Synergy. Last: 4th Aug 2013