x86 Bare Metal Examples
11–20 of 59 posts
Re: x86 Bare Metal Examples
#12You can use efi text mode or framebuffer these days.
Links to minimal runnable working examples / patches welcome.
Re: x86 Bare Metal Examples
#13What is the use-case in real life ? Is it to run special lab/factory equipment ? Anyone here who develops for bare metal - can you share any details?
A dream I've had for a long time is to make an application that you boot into, which is the only application on the computer, for maximum optimization. Upgrades would be easy, just reboot the computer and load the new software. Wouln't write everything in assembly though.
Re: x86 Bare Metal Examples
#14What is the use-case in real life ? Is it to run special lab/factory equipment ? Anyone here who develops for bare metal - can you share any details?
A dream I've had for a long time is to make an application that you boot into, which is the only application on the computer, for maximum optimization. Upgrades would be easy, just reboot the computer and load the new software. Wouln't write everything in assembly though.
See "IncludeOS" for one representative example.
Re: x86 Bare Metal Examples
#15Fortunately most of the bios examples are using bios_* filenames. Rest of the files are very nice.
Re: x86 Bare Metal Examples
#16Using BIOS calls doesn't seem to be really "bare metal". One could use bios interrupt to read data from a disk, or also one could use memory mapping with a target device to write a device driver that could request the file. I find the second case a "bare metal" approach. Fortunately most of the bios examples are using bios_* filenames. Rest of the files are very nice.
I wonder how much lower level you can go with QEMU / how much it can match real hardware.
Pull requests / links welcome ;-)
Re: x86 Bare Metal Examples
#17I'm kind of curious who's behind this Ciro Santili guy. He(?) seems to be doing a ton of interesting github repos, a great deal of informative stackoverflow answers and who knows what else. Also, some anti-CCP stuff in the profile?
Re: x86 Bare Metal Examples
#18What is the use-case in real life ? Is it to run special lab/factory equipment ? Anyone here who develops for bare metal - can you share any details?
A dream I've had for a long time is to make an application that you boot into, which is the only application on the computer, for maximum optimization. Upgrades would be easy, just reboot the computer and load the new software. Wouln't write everything in assembly though.
Re: x86 Bare Metal Examples
#19Using BIOS calls doesn't seem to be really "bare metal". One could use bios interrupt to read data from a disk, or also one could use memory mapping with a target device to write a device driver that could request the file. I find the second case a "bare metal" approach. Fortunately most of the bios examples are using bios_* filenames. Rest of the files are very nice.
Yes, here we go again: https://news.ycombinator.com/item?id=18532102 :-) I wonder how much lower level you can go with QEMU / how much it can match real hardware. Pull requests / links welcome ;-)
Re: x86 Bare Metal Examples
#20I'm kind of curious who's behind this Ciro Santili guy. He(?) seems to be doing a ton of interesting github repos, a great deal of informative stackoverflow answers and who knows what else. Also, some anti-CCP stuff in the profile?
I feel like this material is good for reference, but not so much for learning (especially if starting from zero with your first OS). I applaud the effort though.