generic image
Processing...
  • Games
  • Catalog
  • Develop
  • Robux
  • Search in Players
  • Search in Games
  • Search in Catalog
  • Search in Groups
  • Search in Library
  • Log In
  • Sign Up
  • Games
  • Catalog
  • Develop
  • Robux
   
ROBLOX Forum » Game Creation and Development » Scripters
Home Search
 

Re: I finally did it!

Previous Thread :: Next Thread 
cntkillme is not online. cntkillme
Joined: 07 Apr 2008
Total Posts: 44956
23 Jun 2015 04:04 AM
For the first time ever, I did something with redstone instead of Roblox's wiring objects (from stamper tool)! I created a 4-bit adder yay!11

Well, not the first time I ever did anything with redstone, but the first time I actually made something that isn't a door or light switch.

prntscr/7k9w2m

I know the busing is gross and it's probably bad in general, but yay I finally finished something (it's been more than a year since I've completed a project that took more than 30 minutes).

Now I have to make a calculator that has more than 1 function (maybe one that can add, sub, and, or, nand, nor, xor, xnor, not) but I have no idea how to make a multiplier/divider D: (yet)

If you noticed the intermediate and the register outputs are inverted, that's just how I handled it but it gets reinverted before entering the adder.
Report Abuse
cntkillme is not online. cntkillme
Joined: 07 Apr 2008
Total Posts: 44956
23 Jun 2015 04:05 AM
I should probably store the output of addition into the actual register and have an overflow bit, then add a READ instruction or something but I would have to change too much.
Report Abuse
iLiekPiercings is not online. iLiekPiercings
Joined: 27 Mar 2009
Total Posts: 270
23 Jun 2015 04:07 AM
Congrats :)
Report Abuse
distalDigitPhalanx is not online. distalDigitPhalanx
Joined: 25 Jan 2015
Total Posts: 1509
23 Jun 2015 04:52 AM
GZ. Just a quick comment on the image, though. Next time, please use sandstone instead of grass as the ground. This way, it will be easier to see things.
Report Abuse
cntkillme is not online. cntkillme
Joined: 07 Apr 2008
Total Posts: 44956
23 Jun 2015 07:02 PM
Working on a new machine, but right now (after I finish 1 more part) it can only store numbers in a given mem addr (ofc. 4 bits).

prntscr/7kkmxa (Everything here is my design except the memory cells, same design as before since it works so well but the way it works vertically is ofc. my design)

It works like this: there is one input that's 4 bits in size (like the adder) and 1 register (for now) that holds a number.

The register holds the current address, so when you click the "SET" button, the intermediate is set into that address.

To change the address, you click the "SELECT" button and it will store the number in that register, so when you click "set" a binary to decimal/hexadecimal decoder (my design, also it was fun since I had to program it) [prntscr/7kko8y] will select which memory address to trigger so it can be set.

Right now the binary to hexadecimal (4 bits = 1 hex digit, so yeah) is not included in the main system, all I got to do is port it over and it should all work >:)
Report Abuse
cntkillme is not online. cntkillme
Joined: 07 Apr 2008
Total Posts: 44956
23 Jun 2015 07:03 PM
This is really going to be a calculator v2, it has memory and soon to have actual bit operations (or, and, etc.) which 2 registers (need a button to load an intermediate into a register) and the output will MAYBE be displayed on a 7-segment (I never designed that on Roblox, so I have no good ways I can think of unlike the adder and stuff). It'll have add and subtract, no mul/div :(
Report Abuse
sm1t3 is not online. sm1t3
Joined: 04 Jun 2011
Total Posts: 103
23 Jun 2015 07:40 PM
GG Good job :3
Report Abuse
cntkillme is not online. cntkillme
Joined: 07 Apr 2008
Total Posts: 44956
24 Jun 2015 12:02 AM
O_o what is this voodoo... I actually finished something?!? So, "WorldEdit" I never heard about it until googling "how to copy and paste in minecraft" (something like that). It made finishing this about, well, 5x faster?

Anyways right now it's really just a "write and read to and from memory", you can have 16 memory cells (I only created 4 but easily expandable vertically)

prntscr/7kmy0r

It's actually pretty fast for an actual first redstone "project" IMO [the adder was easy to create, and I'll probably create an add instruction here that'll add the store register to the immediate or something and store it back in the store register and then that means I need to create busses so you can store the register value into memory -.- qq I think I might need to plan things out next time]
Report Abuse
Despawned is not online. Despawned
Joined: 06 Apr 2013
Total Posts: 12569
24 Jun 2015 12:17 AM
"Redstone"
Report Abuse
cntkillme is not online. cntkillme
Joined: 07 Apr 2008
Total Posts: 44956
24 Jun 2015 12:19 AM
What is that supposed to mean D:

On another note, since I think this thread is off-topic (even though technically it is about programming) I should probably not make threads here and go to OT or something.
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripters
   
 
   
  • About Us
  • Jobs
  • Blog
  • Parents
  • Help
  • Terms
  • Privacy

©2017 Roblox Corporation. Roblox, the Roblox logo, Robux, Bloxy, and Powering Imagination are among our registered and unregistered trademarks in the U.S. and other countries.



Progress
Starting Roblox...
Connecting to Players...
R R

Roblox is now loading. Get ready to play!

R R

You're moments away from getting into the game!

Click here for help

Check Remember my choice and click Launch Application in the dialog box above to join games faster in the future!

Gameplay sponsored by:
Loading 0% - Starting game...
Get more with Builders Club! Join Builders Club
Choose Your Avatar
I have an account
generic image