Hi I'm completely new to bare metal programming and I have never done it before. Sorry I couldn't come up with a better title
Anyways I like to do stuff myself instead of having it being done for me by some black box. I am studying Computer Science currently so I do understand (at least in theory) how Assembler is supposed to work. And I recently had this idea of having pretty much the bare minimum of a computer just run 24/7 calculating something. Like some new numbers for OEIS.org or something similar, where I could easily write a C program for it. Then I would want to connect it to some simple 7-segment display which would be possible to control without any drivers (like just 7 on/off inputs). And then I could put it somewhere and it shows the latest result of it's calculations digit by digit on that display.
I hope you get the general idea.
I do know, that this is a Raspberry Pi specific forum but do you think that this would actually maybe work even without the extra stuff a raspberry has? If I can get my program really really small, shouldn't I be able to pretty much run it just on the CPU caches without even RAM? Or BIOS and stuff? I guess it will definitely be easier on the Raspberry because of the tutorials and all that are on here and the pins it has and so on. But would it be doable on just a CPU alone? How would one start it?
Sorry for the many questions, I'm just trying to figure out a viable way I could actually bring this idea to life. And I want to try to do it bare metal because I find the concept really interesting and I think it should be a lot faster if there are literally no cache misses because everything would be in the cache.
Thanks for any suggestions and answers in advance.
PS: I have a Raspberry Pi 3 at the moment but I would probably use a Raspberry Zero for that if a single CPU is too hard (which I guess it is)