TPT OS 2 AND TPTC Compiler

  • edy131109
    30th July Member 2 Permalink

    As some of you may know, I made an os for the R216K2A quite some time ago, in the past few weeks I've gotten back into the game and am currently making TPT OS 2 and a C compiler for TPT compatible with LBPHacker's assembler tptasm.

     

    The compiler is almost done, but will definitely miss some features for a while (floats and some other stuff I probably missed), it also needs some optimizations and probably won't compare to writing assembly by hand.

     

    I currently have putc, puts, getc, gets, and malloc in my c implementation, the only catch is just like in real os dev you have to make these functions yourself. After implementing some useful functions and optimizing them I'll share it as a standard library for tptc (yes, the compiler's name will be tptc, no, I'm not changing it).

     

    Please leave any suggestions for either the os or the compiler here and I will read them.

    Edited once by edy131109. Last: 30th July
  • drrs
    2nd August Member 0 Permalink

    I don't have time at the moment to fully look over your code but I have to say this is very impressive. A long time ago I wrote an assembler and emulator for Synergy's 29 bit computer https://powdertoy.co.uk/Discussions/Thread/View.html?Thread=19974 adn I love this project you are doing.

     

    I have also been out for a while but would love to contribute when I have some time and add support for Synergy's computer.

    Edited once by drrs. Last: 2nd August
  • edy131109
    4th August Member 0 Permalink

    @drrs (View Post)

     As long as it's supported by LBPHacker's assembler it should be supported. If it's not you'll probably need to modify my code but I would suggest adding support for the computer directly to the assembler so if I made future updates you won't need to modify them. Btw currently I'm facing a big issue so progress is slowing down.

    Edited once by edy131109. Last: 4th August