Hello. I know the title of the topic seems in other category than games but a game is what I want to do for learning porpuse.
I want to program the bare metal of an raspberry Pi while I try to make a simple "3d game" for learning porpuses. A simple game means a spining cube textured that will change direction while I press buttons on the keyboard. I'm very intersted in knowing how a CPU and a GPU works at a low level. And I want to program the whole framework that will covert the 3D coords of the cube in final pixel for the monitor (like a software renderer). I know C++ and some ASM and I worked with shaders and custom model loaders. So I have some quesions:
1. Am I realistic? I never programmed a microcontroller and I want to know if making an extremely simple OS that will run the render code is posible.
2. Can I acces the GPU directly with ASM and there are know limitation if I dont use the driver?
3. Is it posible to program the bare metal of the CPU and GPU with C ?
4. Will it worth the trouble ? Im intersted in gamedev on PC mostly but I always had the curiosity how hardware works at a low level so I can program the GPU and CPU better no matter in what arhitecture.
Thanks.