1

80 Byte Random Access Memroy

luigi_vampa's Avatar luigi_vampa7/31/14 11:47 am
8/1/2014 6:57 am
luigi_vampa's Avatar luigi_vampa
I've been refining some 80 Byte RAM I made a while back. Write time is still hideous, the redstone signal has to climb the entire tower but I've got the read time from any address under 1.5 secs. Might soon be possible to actually use this practically.




1 bit
Posted by luigi_vampa's Avatar
luigi_vampa
Level 52 : Grandmaster Dragonborn
176

Create an account or sign in to comment.

17

1
08/01/2014 6:57 am
Level 52 : Grandmaster Dragonborn
luigi_vampa
luigi_vampa's Avatar
Pewman
luigi_vampaI've been refining some 80 Byte RAM I made a while back. Write time is still hideous, the redstone signal has to climb the entire tower but I've got the read time from any address under 1.5 secs. Might soon be possible to actually use this practically.

-snip-
-snip-

1 bit
-snip-


fantastic job, friend! quite the intellect you've got there about redstone. never really learned it, to be honest haha.


Thanks Pew
1
08/01/2014 6:37 am
Level 69 : High Grandmaster Meme
VeryMadCrafter
VeryMadCrafter's Avatar
Looks awesome, but does it have an actual purpose in MC?
Oh, and can you make a 4.1 Ghz one? Just kidding
1
08/01/2014 6:47 am
Level 52 : Grandmaster Dragonborn
luigi_vampa
luigi_vampa's Avatar
Purpose is to build a minecart track that can be controlled from a central point on the server. One byte can store the open/closed settings for a 4 point cart intersection/junction. I want to be able to stand in a control room and control the direction of a cart where ever it is in the entire server.
1
08/01/2014 6:04 am
Level 3 : Apprentice Network
thebla100
thebla100's Avatar
How in the world are people doing this? All I know is that I'm bad at redstone.
1
08/01/2014 6:03 am
Level 34 : Artisan Architect
Pewman
Pewman's Avatar
luigi_vampaI've been refining some 80 Byte RAM I made a while back. Write time is still hideous, the redstone signal has to climb the entire tower but I've got the read time from any address under 1.5 secs. Might soon be possible to actually use this practically.

-snip-
-snip-

1 bit
-snip-


fantastic job, friend! quite the intellect you've got there about redstone. never really learned it, to be honest haha.
1
08/01/2014 5:18 am
Level 54 : Grandmaster Programmer
nickfromgreece
nickfromgreece's Avatar
Waiting for 1KB memory :p that's 1024 bytes for those who don't know
1
08/01/2014 5:49 am
Level 52 : Grandmaster Dragonborn
luigi_vampa
luigi_vampa's Avatar
I'm working on it! Put 2020 in your diary!

Edit: Scrap that, Moore's law defines when you'll get it!
1
08/01/2014 4:20 am
Level 52 : Grandmaster Dragonborn
luigi_vampa
luigi_vampa's Avatar
I placed all the redstone on different colour wools just to keep track of the paths. I think they were:
Red - intermediate wiring
Green - to set read/write
Purple - data out
Yellow - data in
Light blue - address bus (power here to turn on bit to read/write to/from).
1
08/01/2014 4:12 am
Level 88 : Elite Scapegoat
Paril
Paril's Avatar
use simg instead of img. simg scales it to fit the post.
1
08/01/2014 4:13 am
Level 14 : Journeyman Modder
searchndstroy
searchndstroy's Avatar
Thanks.
1
08/01/2014 4:08 am
Level 14 : Journeyman Modder
searchndstroy
searchndstroy's Avatar
luigi_vampa
SearchndstroyHow is this done?

EDIT:
Try to use blocks to represent bits, ex: stone for 0, and dirt for 1.

So lets say I have a render distance of 5 chunks. 5*5 = 25 chunks, each chunk can hold 16*16*255 = 65280 blocks. 25*65280 = 1632000 blocks. So you could theoretically have 1632000 bits, or 204000 bytes of memory in a 5*5 chunk rendering distance. Not sure whether using blocks is the best way though.

Click to reveal








that's a great deal more RAM than I've managed! Could you repost the images that were in the spoiler? I can't seethem.


Open the image in a new tab
But that is only theoretically, in those images I've used 11 blocks for one byte instead of 8(1 for stating whether it is unsigned or not, and 2 for the marks of where it starts and where it ends) The only problem is chunks, they are 16 by 16. I'm not sure whether you could do this from top to bottom instead of west to east, or south to north(so you can make sure bytes are stored in a chunk correctly, you can have 252 bit integer SAFELY compared to a 13 bit integer safely)
Unfortunately, there aren't any integers that can hold anything more than 2^64(I'm pretty sure in Java the max is a long, but I'm not so sure on floating point integers) which is, so having the 252 bit integer would be hard to handle.

But then there's the problem of detecting the blocks with commands....
1
08/01/2014 4:06 am
Level 52 : Grandmaster Dragonborn
luigi_vampa
luigi_vampa's Avatar
SearchndstroyHow is this done?

EDIT:
Try to use blocks to represent bits, ex: stone for 0, and dirt for 1.

So lets say I have a render distance of 5 chunks. 5*5 = 25 chunks, each chunk can hold 16*16*255 = 65280 blocks. 25*65280 = 1632000 blocks. So you could theoretically have 1632000 bits, or 204000 bytes of memory in a 5*5 chunk rendering distance. Not sure whether using blocks is the best way though.

Click to reveal








that's a great deal more RAM than I've managed! Could you repost the images that were in the spoiler? I can't seethem.
1
08/01/2014 2:57 am
Level 11 : Journeyman Gent
fase
fase's Avatar
Not sure what all the levers are about...
Also, have you looked into the ORE server? It's great for people like you (and me in my spare time :3) http://openredstone.org
1
08/01/2014 4:15 am
Level 52 : Grandmaster Dragonborn
luigi_vampa
luigi_vampa's Avatar
This is so very far from legit! All the black wool/lever combos are logic gates (mostly ANDs) for space saving from the craftbook plugin.
1
08/01/2014 2:41 am
Level 14 : Journeyman Modder
searchndstroy
searchndstroy's Avatar
How is this done?

EDIT:
Try to use blocks to represent bits, ex: stone for 0, and dirt for 1.

So lets say I have a render distance of 5 chunks. 5*5 = 25 chunks, each chunk can hold 16*16*255 = 65280 blocks. 25*65280 = 1632000 blocks. So you could theoretically have 1632000 bits, or 204000 bytes of memory in a 5*5 chunk rendering distance. Not sure whether using blocks is the best way though.

Click to reveal






1
08/01/2014 2:37 am
Level 13 : Journeyman Princess
Faxwy
Faxwy's Avatar
I don't know how people do this, this is really amazing!
1
08/01/2014 5:55 am
Level 52 : Grandmaster Dragonborn
luigi_vampa
luigi_vampa's Avatar
thanks.
Planet Minecraft

Website

© 2010 - 2024
www.planetminecraft.com

Welcome