Resources on programming in C without libraries?

Posted by BriefCautious7063@reddit | learnprogramming | View on Reddit | 11 comments

I want to learn how to program graphics and keyboard/mouse inputs with genuinely no libraries. No openGL, SDL, not even the standard library. The goal is to learn how these libraries were made in the first place. I know a decent bit about how to use libraries to do what I want, I just don't know how to use C and/or ASM to directly write to the screen or respond to hardware inputs. Anyone have any resources and/or github examples demonstrating this?