01-10-2014, 05:10 PM
(This post was last modified: 01-10-2014, 05:15 PM by Halflife390.)
(01-09-2014, 11:26 PM)WrytXander Wrote: Man does this look promising. But, there are few things that bugged me a little bit. First comes the logic operations. Having 18 logic op is overkill, kinda useless, and it opposes the idea behind risc. You can have the basic nand, xnor and be good to go. Altought it would take more than a cycle to do other operations, a cpu will use them 1,2% (actual fact from risc research, mostly used operations are OR and AND).
By removing those Operations from the IS, you can have much more space for other stuff (like interrupts, routine calls, rotation, pair registers..)!
Secondly, to me, having unconditional and branch if equal, at the same IS, is very inefficient. You can just test if zero register equals to it self, ehich will always return true. In real life, having as much jumps possible is a nice thing. But in mc, maybe you could have optimized a little bit more!
I guess it is a bit late to change stuff around, but do not get me wrong. Von neumann and signed data and all other fancy stuff looks just great! I hope hearing more about this soon, and maybe a v3?
Thanks. I didn't add the logic operations to use them but more to finally say that I have made an ALU that can do all logical functions and also for flexibility if other people coded programs on it that might need them. I was thinking of getting rid of my ALU and just make one bennyscube style (extremely small, extremely efficient and fast!) I still have not decided yet. Also my IS still has lots of space so I can already add the things you have mentioned. I made space to add an interrupt system so if i ever thought i needed it i can easily add it. My computer does have the ability to call on routines and subroutines! By rotation do you mean bit rotation because it can do that. Im not sure what pair registers are though.
Having unconditional branching allows you to branch without any IF. Simply saying branch IF then giving it a scenario that will always return true will act the same as a normal branch operation. Having two separate commands only add a bit more hardware and so won't hurt to add it. After all it wont use as much of the CPU at once and therefore will reduce lag. Plus its easier for first time coders on my computer to simply jump somewhere rather than needing to use the IF.
A v3 will be VERY far in the future, this computer has it all already so theres no need to make another one. Maybe if i do it would be one thats a lot faster then the current one and have a stack system.
(01-10-2014, 04:57 AM)himehowareu Wrote: I am working on an OS that can be ran on binary computers I am still coding it and because of how I am codeing it , it is easy to switch CPUs if you want I can build a OS for you the only things I would need would be screen size,GPU interface codes , (when done network interface ) , key board encode ,and the way you want everything to work
Latter on I will make a assembler built in to the OS the only problem is the size of the OS I might have to make a kernal that loads the OS but that is my problem.
PS I will be OK if you say no
This sounds like a good idea, i already have plans fr my own OS so it would be good to compare with yours. The computer is not finished yet so you can actually code it now but you can plan it all out. You will need to make sure it works with my IS though. Also iv never made a GPU before so adding that won't be very soon. I do want to learn how one works though! I will add a keyboard and a device adapter eventually. Making a kernal might be a good option as i plan to code a lot into RAM so there wont be much space left.
The IS has been uploaded so if you want to start on a program that would be cool. Send me it once your done!