So I decide to program my Raspberry Pi only in HEX. I want to write an OS impossible to brake, so only in HEX I can see exactly what I write.
(Sorry, can't find where to quote user. Maybe because I'm on mobile.)
So let me get this straight, you want to write a whole operating system in "HEX code"? Do you realize that an operating system is NOT a simple project that you can finish in a month, writing in machine language? You are saying you want to write the equivalent of Linux (assuming your OS you are writing is secure/stable) in its compiled form. This would be very impractical, and very hard to manage.
That's why I hate also C, and because of C exist hackers. If I have somebody to help me I can build a server imposible to brake.
I will do it anyway starting from next year when I will have enough money to eat, and stay relax.
I need only one month to read books of Assembler for x86, one month to makesmall exercises in ASM, and one month to programming the server.
Sometimes I'm asking...how much cost me a machine who can build me my own processor/SOC and my own Raspberry Pi? I can make it 10-20 times faster only by chanching the logic from inside him. I lose time from my brain trying to find how the processor working, instead make programs on Raspberry Pi. If a company will sell a kit to make your own Raspberyy Pi, i will change the world. Windows and Linux will be just history. I cane make every kind of program, but only in HEX.
If u find time, put here the code in HEX and ASM, to print a character on screen.
Please learn the difference between a hacker and a cracker. Hacker is misused, as you are doing.
You should not hate on C at all. C is actually a very useful and powerful language. Learn it. It's awesome. It even has inline asm if you really are that addicted to it.
Try making your own processor, you didn't describe how you want your processor made.
And make your own Pi.
What do you mean you can make it 10-20 times faster by "chanching the logic from inside him"?
If you lose time thinking of how the processor is working, then maybe you should find a language where you don't worry about the processor all the time? And you're switching to the Pi because you are confused by a processor?
I'm pretty sure that the Pi has a processor also.
A kit for the Pi would be interesting, soldering that many parts.
Go ahead and challenge Windows/Linux. I'm guessing your OS would be open source, but maybe not. Anyways, if it was, I'm not sure too many people would help.
That really is not good, writing in hex only, any programmer would tell you. If you decided "boy, I better learn the hardest possible thing that you could program in and use it for every single program I make", you should really learn something else.
So the Windows print to screen thing looks simple. If you want to print with no OS at all, you would need a bootloader (I'm pretty sure) and video output (and a print function, etc..).
But go ahead, make an OS in hex.