▲ | dmwilcox 18 hours ago | |
I don't know if it's been much used but it is known and works. I was doing this early on in my x86-16 assembler experiments but ended up using DOS as a program launcher for an easier emulator to use than qemu (dosbox-staging). The big limits if you don't want to get into disk IO, is 512 bytes or less since you're basically running your program as a master boot record. To get more you'll need to load some LBAs from disk which yes there is an interrupt for and osdev has even better stuff. Other than that, the difference between a .com file (usual limit 64kb single segment) and an MBR style bootable program is pretty minimal |