edy131109
edy131109
156 / 2
3rd Nov 2023
1st Aug 2024
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

  • edy131109
    edy131109
    29th Jul 2024
    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.
  • resic
    resic
    29th Jul 2024
    that's the price you have to pay when you want to code easier
  • edy131109
    edy131109
    29th Jul 2024
    Optimizing compilers is really hard, I'll probably never get my compiler to compare to gcc or writing assembly by hand.
  • edy131109
    edy131109
    29th Jul 2024
    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.
  • resic
    resic
    28th Jul 2024
    MeltedLawnFlamingo: I think this computer can't deal with floating points.
  • MeltedLawnFlamingo
    MeltedLawnFlamingo
    28th Jul 2024
    2+4.6 = 388, this is amazing
  • resic
    resic
    28th Jul 2024
    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
  • resic
    resic
    28th Jul 2024
    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.
  • resic
    resic
    28th Jul 2024
    imagine programming in TPT with C
  • edy131109
    edy131109
    28th Jul 2024
    Progress on making the c compiler is going great, currently adding pointer and ref support