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
-
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
-
man, I think this is gonna start a new era of tpt. C is much easier than assembly. The problem is that lbpHacker's computer is pretty old and therefore slow. I have seen other computers much faster.
-
imagine programming in TPT with C
-
Progress on making the c compiler is going great, currently adding pointer and ref support