Super fast phun computer

Discuss scenes and videos made with Algodoo.

Super fast phun computer

Postby davidz40 » Wed Feb 02, 2011 12:36 am

Fully programmable 50Hz computer, with no strict limit of memory and code size. Vastly improved over old one, features very functional programming language.
Rating: rated 6.5
Filesize: 53.08 kB
Comments: 0
Ratings: 4
download
Phundamentalist
User avatar
davidz40
 
Posts: 438
Joined: Sun Sep 06, 2009 10:30 am

Re: Super fast phun computer

Postby Someone Else » Wed Feb 02, 2011 3:27 pm

oooooooohhhhhhhh
aaaaaaahhhhhhh....

But, I cannot try it just now. All I want is an opcode that will load the current memory value into the accumulator/carriage/whatever.
Matthias Wandel is epic, in my humble opinion.
I love my brain...
TC42 wrote:Also, your sig is too big, please change it.

ARE YA HAPPY NOW?????

Thymechanic/Phundamentalist

Recently, I discovered something a lot of you probably already knew: Minecraft is awesome.
Due to this, I may not be as active as usual for a while.
User avatar
Someone Else
 
Posts: 1147
Joined: Sun Nov 21, 2010 10:53 pm
Location: The Milky Way Galaxy

Re: Super fast phun computer

Postby davidz40 » Wed Feb 02, 2011 8:46 pm

^ moves current cell into register
v moves register into cell

All instructions are explained in the scene
Phundamentalist
User avatar
davidz40
 
Posts: 438
Joined: Sun Sep 06, 2009 10:30 am

Re: Super fast phun computer

Postby HavingPhun » Sun Feb 06, 2011 11:08 pm

what are these computers used for and how do they work? Because I am very confused :crazy:
I won't be on the forums much for a while. But maybe once in a while.
User avatar
HavingPhun
 
Posts: 178
Joined: Sun Feb 06, 2011 10:42 pm

Re: Super fast phun computer

Postby davidz40 » Mon Feb 07, 2011 1:30 pm

These computers don't really have any use, it's just a example how a fully functional computing machine can be done.

I think that current version didn't get popular due to weird programming language. I have idea of new cpu that works on real assembly language. What do You think about it?
Phundamentalist
User avatar
davidz40
 
Posts: 438
Joined: Sun Sep 06, 2009 10:30 am

Re: Super fast phun computer

Postby Someone Else » Mon Feb 07, 2011 7:32 pm

davidz40 wrote:These computers don't really have any use, it's just a example how a fully functional computing machine can be done.

I think that current version didn't get popular due to weird programming language. I have idea of new cpu that works on real assembly language. What do You think about it?


Sounds good to me.

However, I would be really happy if there was a way to program it in the text in the Appearance menu.
Such a thing is possible, one of Kutis's computers uses it, but I dunno cow it can be done without IF statement overload.

On this, it would be simpler. Still uses too many IF statements, but each opcode would have its own box. The gizmo that reads the opcode would check the text, and execute a command based on that.
Matthias Wandel is epic, in my humble opinion.
I love my brain...
TC42 wrote:Also, your sig is too big, please change it.

ARE YA HAPPY NOW?????

Thymechanic/Phundamentalist

Recently, I discovered something a lot of you probably already knew: Minecraft is awesome.
Due to this, I may not be as active as usual for a while.
User avatar
Someone Else
 
Posts: 1147
Joined: Sun Nov 21, 2010 10:53 pm
Location: The Milky Way Galaxy

Re: Super fast phun computer

Postby davidz40 » Mon Feb 07, 2011 9:56 pm

Yep I'm trying to make text readable program, but without success yet.

With the assembly, I am going to use boxes texturematrix. One command will be max 4 values long (command, parameter 1, parameter 2, parameter 3. Only few instructions will be that long, like ADD A B C will add registers A and B, and place result in C). This way, two commands could be placed in one box.

Your idea of one opcode per one box might do the job. With reasonably low amout of registers (4 or 8), and opcodes (planned 10), that might be pretty doable. I think that the best way would be separate code compiler device that encodes program into texturematrix to increase CPU efficiency.
Phundamentalist
User avatar
davidz40
 
Posts: 438
Joined: Sun Sep 06, 2009 10:30 am

Re: Super fast phun computer

Postby HavingPhun » Mon Feb 07, 2011 10:38 pm

i dont understand all of this opcode stuff but maybe you should make a new programming launguage for this computer. this could have simple and advanced commands. so people would just write there program on a textbox then plug the textbox into the computer and it would read the code on it. But this would have to be programmed somehow. alos why dont we start a collab on this and try to make the best computer we can on this. Also think if we could make it fully functional with os and built in programs. also are you using theme for this and is theme hard to use?
I won't be on the forums much for a while. But maybe once in a while.
User avatar
HavingPhun
 
Posts: 178
Joined: Sun Feb 06, 2011 10:42 pm

Re: Super fast phun computer

Postby davidz40 » Tue Feb 08, 2011 12:41 am

I'm using only basic thyme, but amout of if statements inside each other may get annoying.
All collabs there seem to die pretty quickly, sadly. I'll consider starting a collab when basic CPU will be completed, with aim of creating RAM, HDD, keyboard and other things for it.
Unfortunately, just plugging a textbox is not easy task :|
Phundamentalist
User avatar
davidz40
 
Posts: 438
Joined: Sun Sep 06, 2009 10:30 am

Re: Super fast phun computer

Postby HavingPhun » Tue Feb 08, 2011 2:08 am

i mean you hook the textbox up and a program reads the info on it and interprets that into the language
I won't be on the forums much for a while. But maybe once in a while.
User avatar
HavingPhun
 
Posts: 178
Joined: Sun Feb 06, 2011 10:42 pm

Re: Super fast phun computer

Postby HavingPhun » Tue Feb 08, 2011 2:21 am

or have say a box inside the computer that when the textbox collides with that box in the computer then the program will read the contents of the box so oncollide command would work
I won't be on the forums much for a while. But maybe once in a while.
User avatar
HavingPhun
 
Posts: 178
Joined: Sun Feb 06, 2011 10:42 pm

Re: Super fast phun computer

Postby davidz40 » Tue Feb 08, 2011 10:20 am

I know what You mean, but reading textbox and interpreting it is not very simple. Just reading numbers from textbox is a bit tricky.
Phundamentalist
User avatar
davidz40
 
Posts: 438
Joined: Sun Sep 06, 2009 10:30 am

Re: Super fast phun computer

Postby Someone Else » Wed Feb 09, 2011 2:24 am

davidz40 wrote:I'm using only basic thyme


BASIC Thyme??!! :shock: ?!?! :wtf: ??!!?! :o ?!?!!?!

Your Thyme is the most complicated I have ever seen!

That is to say, I have never taken apart any of Kutis's computers. But I know (from collab forum posts) that at least one of those allows you to write entire programs in one box's text. I dunno how.

All I can think of for one opcode per box is to put the command in text and program the rest in the script menu

OR

epic IF statement overload.

OR

somehow come up with what my Java book calls a string tokenizer- it would turn
Code: Select all
ADI 5
4 8
[which adds 5 + 4 = 9 and save it in memory 8. ADI means ADD IMMEDIATE, inspired Intel 8080 assembly language.]

into

Code: Select all
string "ADI"
token " "
int "5"
token "newLine"
int "4"
token " "
int "8"


This could then more easily be saved in textureMatrix as
Code: Select all
[5, 5, 4, 8, -, -, -, -, -]

where - means an irrelevant value.

Understood?
Matthias Wandel is epic, in my humble opinion.
I love my brain...
TC42 wrote:Also, your sig is too big, please change it.

ARE YA HAPPY NOW?????

Thymechanic/Phundamentalist

Recently, I discovered something a lot of you probably already knew: Minecraft is awesome.
Due to this, I may not be as active as usual for a while.
User avatar
Someone Else
 
Posts: 1147
Joined: Sun Nov 21, 2010 10:53 pm
Location: The Milky Way Galaxy

Re: Super fast phun computer

Postby davidz40 » Wed Feb 09, 2011 10:21 am

My thyme is really basic, only collision changing and if's, no fireworks like Killinich :lol:
I have idea about such set of commands, that they would be distinguishable by first letter, or two first letters at most. That would make "compiler" device less complicated. I will use only one instruction that contains set number. SET [register] value, because reading numbers from text is tricky. All other commands will operate on registers A..H. All commands will be 3 letters long, so register letters will be always 5th and 7th letter. [like MOV A D].
Phundamentalist
User avatar
davidz40
 
Posts: 438
Joined: Sun Sep 06, 2009 10:30 am

Re: Super fast phun computer

Postby Someone Else » Wed Feb 09, 2011 7:03 pm

Wait... How can you make an IF based on what one letter is?

Which, I believe, is what you plan to do there.

Hmm... This might be used to make a string tokenizer, not that anyone would ever use it.
Matthias Wandel is epic, in my humble opinion.
I love my brain...
TC42 wrote:Also, your sig is too big, please change it.

ARE YA HAPPY NOW?????

Thymechanic/Phundamentalist

Recently, I discovered something a lot of you probably already knew: Minecraft is awesome.
Due to this, I may not be as active as usual for a while.
User avatar
Someone Else
 
Posts: 1147
Joined: Sun Nov 21, 2010 10:53 pm
Location: The Milky Way Galaxy

Re: Super fast phun computer

Postby HavingPhun » Wed Feb 09, 2011 10:52 pm

how do you measure the cpu speed of these pc's and can you make the cpu speed of this faster than the cpu speed of the pc you are using in real life?
I won't be on the forums much for a while. But maybe once in a while.
User avatar
HavingPhun
 
Posts: 178
Joined: Sun Feb 06, 2011 10:42 pm

Re: Super fast phun computer

Postby davidz40 » Wed Feb 09, 2011 11:20 pm

SomeoneElse: Oh, I though that text(3)== A ? {}:{}; would work, but I was wrong :(
HavingPhun: Making cpu faster than real one is plain impossible. Mine does 50 instructions per second, even less when not working at 100% realtime, while real cpu does billions operations.
Phundamentalist
User avatar
davidz40
 
Posts: 438
Joined: Sun Sep 06, 2009 10:30 am

Re: Super fast phun computer

Postby HavingPhun » Thu Feb 10, 2011 12:09 am

davidz40 wrote:SomeoneElse: Oh, I though that text(3)== A ? {}:{}; would work, but I was wrong :(
HavingPhun: Making cpu faster than real one is plain impossible. Mine does 50 instructions per second, even less when not working at 100% realtime, while real cpu does billions operations.

Thanks
I won't be on the forums much for a while. But maybe once in a while.
User avatar
HavingPhun
 
Posts: 178
Joined: Sun Feb 06, 2011 10:42 pm

Re: Super fast phun computer

Postby Someone Else » Thu Feb 10, 2011 1:33 am

Did you test your text IF thing?

If so, all I can say is DIG SOME AHOX COMPUTER COLLAB TOPIC.
Then, FIND A COMPUTER PROGRAMMED IN APPEARANCE. I know it exists.
Then, DIG IT.
Matthias Wandel is epic, in my humble opinion.
I love my brain...
TC42 wrote:Also, your sig is too big, please change it.

ARE YA HAPPY NOW?????

Thymechanic/Phundamentalist

Recently, I discovered something a lot of you probably already knew: Minecraft is awesome.
Due to this, I may not be as active as usual for a while.
User avatar
Someone Else
 
Posts: 1147
Joined: Sun Nov 21, 2010 10:53 pm
Location: The Milky Way Galaxy

Re: Super fast phun computer

Postby davidz40 » Thu Feb 10, 2011 10:18 am

Yes, I tested the text if and it didn't work.
I'll dig in AHOX computer, but they generally use obscenely high number of scene.my variables :/
Phundamentalist
User avatar
davidz40
 
Posts: 438
Joined: Sun Sep 06, 2009 10:30 am

Re: Super fast phun computer

Postby HavingPhun » Sun Feb 13, 2011 3:33 am

did you find anything in the ahox?
User avatar
HavingPhun
 
Posts: 178
Joined: Sun Feb 06, 2011 10:42 pm


Return to Scenes

Who is online

Users browsing this forum: No registered users and 7 guests