An operating system inside of tpt. Not complete, you can suggest features in the comments or tell me about bugs so i can fix them. Also use tpt.setfpscap(2) in console(~) for faster speed.
r216
r216k2a
pcos
subframe
computer
batch
electronic
tptos
Comments
-
My god this is amazing. +1
-
UPDATE: I have putc and puts, next is getc and gets, all programmed in C and inline assembly
-
I can currently compile some simple C programs which is amazing but it will still need some work to get perfect, but to me the idea of just using C to program something in this game is amazing
-
True, I will add some code that will go over the assembly after it's been compiled and optimize it, my current roadblock was pointers but I think I just figured out a way to do them.
-
that's the price you have to pay when you want to code easier
-
Optimizing compilers is really hard, I'll probably never get my compiler to compare to gcc or writing assembly by hand.
-
Yeah this computer can't deal with floating points, it was only programmed with integers in mind, though floating point support isn't that hard to make I was tired. And you can't just use floating point registers like on real cpus you need to do something else.
-
MeltedLawnFlamingo: I think this computer can't deal with floating points.
-
2+4.6 = 388, this is amazing
-
some of them could even run TPT in TPT. They're just too hard to program with normal assembly or even without assembly. Like FTC-2 or FTC-Sigma