Let's Code MS DOS 0x2C: Noisy 3D Animation

แชร์
ฝัง
  • เผยแพร่เมื่อ 12 ม.ค. 2025

ความคิดเห็น • 6

  • @HypherNet
    @HypherNet 2 หลายเดือนก่อน +1

    It's a neat example that our brains aren't just perceiving a series of still images, but are clearly adapted to detect differences. Your ability to program C without the niceties of a modern IDE is impressive. Here I am with my garbage collection and syntax coloring and algebraic types, ha. nice work!

  • @EternalJoviality
    @EternalJoviality 3 หลายเดือนก่อน +4

    the best part is, if you pause the video while the cube's spinning, it disappears in the noisy background lol

    • @root42
      @root42  3 หลายเดือนก่อน +1

      Exactly!!

  • @prozacgodretro
    @prozacgodretro 2 หลายเดือนก่อน +1

    You should def. swap out the getch for keyboard scan code buffer technique. you can replicate the getche fairly easily
    create a buffer of 127 bools/chars
    hook interrupt 0x09, read scan code @port 60 update scan code index ... (I think you also need to write 0x20 to port 0x20 to signal end of interrupt.)
    I'm pretty sure the above description will print out code for this if you use an AI.

    • @root42
      @root42  2 หลายเดือนก่อน +1

      This is an AI free channel. :) We do this for the fun and heck of it. I have low level keyboard controller programming in an earlier episode. Check out episode 0x24. However to keep code for each episode short I am using getch and the like, so required dependencies to code from earlier episodes is minimal.

    • @prozacgodretro
      @prozacgodretro 2 หลายเดือนก่อน

      @@root42 Just a decompression algorithm, that's all I mentioned it for. I summed up my idea, in a way that inflates reliably.