12-28-2013, 11:25 PM
(12-28-2013, 10:28 PM)mort96 Wrote: I think, with the speed of minecraft CPUs, interpreting an instruction set would be a huge overhead. I think we should choose one IS as the "ORE x86", the IS most CPUs use and most software is written for.
I wrote a specification for an IS which I think is pretty neat: http://mortie.org/?webapp=compiler_16/morcore_spec.txt. It should be fairly easy to implement.
Another plus is that I've already written a compiler for it, http://mortie.org/?webapp=compiler_16. If we went with that IS, all CPUs implementing it could be programmed via that web app.
I don't know if my IS is necessarily the best to choose for a standard IS, but it's at least out there.
Could you make a thread going more in depth on how to code for that? It looks interesting and if we were to standardize then it would be good to know.