• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

Did I write a bootloader or an operating system?

chrstrbrts

Senior member
Hi,

A few weeks ago I wrote a program that calls a BIOS interrupt to talk to the pixels on the screen and make a horizontal test pattern looking design.

I burned this program to a USB.

Then I booted it, and it worked.

My program really does nothing obviously.

But technically, did I write a bootloader or an operating system?
 
Last edited:
If your program didn't make the usb bootable,since you state that you copied and then made it bootable,then you didn't write either.
For it to be an OS it actually has to offer some kind of operations and for it to be a bootloader it has to actually do the boot up itself.
 
If your program didn't make the usb bootable,since you state that you copied and then made it bootable,then you didn't write either.
For it to be an OS it actually has to offer some kind of operations and for it to be a bootloader it has to actually do the boot up itself.

I should edit the original question.

I did make it bootable.

I wrote the program in assembly and put 55aa at byte position 511 and 512 filling the dead space after my actual code and before 55aa with zeros.
 
Last edited:
It sounds like it's just a program. It's very possible to have a program that loads on boot and does its thing with no OS involved (see memtest, for example).
 
Back
Top