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!
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.
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.
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!
the best part is, if you pause the video while the cube's spinning, it disappears in the noisy background lol
Exactly!!
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.
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.
@@root42 Just a decompression algorithm, that's all I mentioned it for. I summed up my idea, in a way that inflates reliably.