edy131109
edy131109
145 / 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

  • resic
    resic
    30th Jul 2024
    definitly yes.
  • edy131109
    edy131109
    30th Jul 2024
    Now I've implemented getc and soon I'll do gets, btw should I make a forum for the talk about this compiler and the os?
  • edy131109
    edy131109
    30th Jul 2024
    I've successfully added pointers to the C compiler which makes me be very close to actually finishing the compiler, only thing is probably a few optimizations here and there.
  • edy131109
    edy131109
    30th Jul 2024
    As for my compiler, It's pretty easy to modify but I don't anyone is going to read my code.
  • edy131109
    edy131109
    30th Jul 2024
    You don't actually need to modify my compiler to do that, I used LBPHacker's assembler to turn the assembly into code for the computer so if you can implement binary for another computer into that assembler then everything will work (assuming you implemented it correctly)
  • resic
    resic
    29th Jul 2024
    is it possible to reprogram your compiler so you can code on other computers? I mean, if that is easy to do
  • polziet21
    polziet21
    29th Jul 2024
    My god this is amazing. +1
  • edy131109
    edy131109
    29th Jul 2024
    UPDATE: I have putc and puts, next is getc and gets, all programmed in C and inline assembly
  • edy131109
    edy131109
    29th Jul 2024
    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
  • 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.