Home    LBP Showcase / Reviews / Recommendations    Level Showcase
#1

Multiplication Machine (Calculator)

Archive: 11 posts


Multiplication Machine (Calculator)Hibbsi91
A machine that takes any two numbers from 0 to 99, multiplies them, and displays the result.
all
PSN: Hibbsi91
Level Name: Multiplication Machine (Calculator)

Inspired by the well-known Little Big Calculator, I thought to myself, "I can do that, and maybe make something better!" I then figured that the next step up from adding and subtracting would be to multiply (division? maybe someday, but not likely). So I made it: a machine that takes two numbers and gives the product of them. To my surprise, I still had two notches left on the thermometer, too.

(Pictures coming soon)

There are two negatives that I am aware of now:
1) Each calculation takes about 28 seconds (because of limited speed of pistons).
2) If there is network lag, some of the parts may break after repeated use.

Any feedback is welcome.
2009-09-22 22:45:00

Author:
Hibbsi
Posts: 203


Ohhh I was thinking of doing an 8-bit adder-subtractor-multiplier at one point, probably with some bitwise logic functions as well. I couldn't be bothered though.

28 seconds sounds like an awful long time though. What method are you using to calcualte it?
2009-09-22 22:51:00

Author:
rtm223
Posts: 6497


Ill take a look. ive always wanted to try this myself but havent been motivated as i dont think the general lbp appreciates this type of level much.2009-09-22 22:58:00

Author:
SteveBigGuns
Posts: 423


@rtm223 :

Yeah I know it's a long time, but any faster and the ripple-carry of the adders doesn't propogate fast enough and it misses a bit, so the answer would be off by, say, 4, 8, 16, 32, 64, 128, or 256 (etc.).

First, I convert each decimal number into binary via some full adders that adds the values of each digit for a number (like 14 = 10 + 4 = 1010 + 0100 = 1110) This part of the process is almost immediate (less than half a second)..

The next step involves accumulating the bit-shifted sums of the two numbers with a sort of bit-shift-and-add mechanism of 14 (9801 is max answer, one for each bit) resettable latches that output a carry to the next more significant bit if it is currently at 1 (on). This is where I have to slow it down, because if the signals get sent too close together, the 1-shot pistons don't register the signal while it is still in it's flipper motion.

The last part is converting it back to decimal and displaying it. The way it works is rather simple, but the base 2 -> base 10 decoder is what takes up most of the thermometer.

Sorry that this may be vague. When I upload pictures (maybe soon? I'm 18 and I have schoolwork to deal with..), I will be able to explain this much more effectively.

Thanks for taking a look at this thread, by the way. Nice to know that it might possibly be interesting to somebody.

p.s. : I enjoyed the wheel-based switches showcase you made!


@SteveBigGuns :

Thanks! Yeah, I don't really expect the general LBP players to flock to this level and heart it like crazy. It'd be nice, but I did this to challenge myself and find new ways to make stuff. Hearts are good, but I think accomplishing something feels better.
2009-09-23 04:06:00

Author:
Hibbsi
Posts: 203


I couldnt find your level. The search function does not work for newly published levels and wont go to the authors profile unless they have a level that has been published before the function had these issues.2009-09-23 05:08:00

Author:
SteveBigGuns
Posts: 423


@ SBG :
well... that's fantastic!
Thanks for bringing this to my attention, I suppose the only way for somebody to find it is to be on my psn friend's list..
Oh well, thanks for trying, anyway.

I wonder if posting another level would make me show up somewhere?
I probably shouldn't just publish a level for that purpose, but this is annoying
2009-09-23 05:15:00

Author:
Hibbsi
Posts: 203


If its in the cool pages ill be able to find it. Any idea if it is?2009-09-23 06:04:00

Author:
SteveBigGuns
Posts: 423


Edit: Yes! its on there right now, in the Atlantic Ocean region.2009-09-23 06:21:00

Author:
Hibbsi
Posts: 203


Just to throw this out there, should all of the sensors and keys be shown? I would think that people may want to see them, but does not rendering all of the switches help with frame rate and complexity?2009-09-23 07:00:00

Author:
Hibbsi
Posts: 203


Well it's been a while, and i think it's safe to say that this should be deleted, as I have nearly completed a multiplying calculator that only has a delay of .5 seconds. Because there is nothing between the current version and the version aforementioned in this thread that is remotely similar, this thread would be redundant and irrelevant. So, I apologize for prematurely starting this thread, albeit a long time ago, before I was truly finished making my creation. Please delete this thread, and I will only start to discuss this once again when this project is completely "public-ready", or possibly, "beta-ready". Thanks! 2009-11-17 00:50:00

Author:
Hibbsi
Posts: 203


How 'bout I just lock it for you?



Locked.
2009-11-17 00:55:00

Author:
comphermc
Posts: 5338


LBPCentral Archive Statistics
Posts: 1077139    Threads: 69970    Members: 9661    Archive-Date: 2019-01-19

Datenschutz
Aus dem Archiv wurden alle persönlichen Daten wie Name, Anschrift, Email etc. - aber auch sämtliche Inhalte wie z.B. persönliche Nachrichten - entfernt.
Die Nutzung dieser Webseite erfolgt ohne Speicherung personenbezogener Daten. Es werden keinerlei Cookies, Logs, 3rd-Party-Plugins etc. verwendet.