I am attempting to develop a simple OS. I have done some assembly programs before and have had to use INT 10h
to display characters to the screen. I understand that UEFI has support for legacy BIOS and may still be able to use INT 10h
services. However, If I choose to build a pure UEFI bootable OS, should I avoid using INT 10h
? Or am I looking at things the wrong way?
In other words, does the drilled down printf
to stdout
(screen) end up calling the BIOS INT 10h
? Or is the question - "Is SYS_WRITE
function call based on INT 10h?" more appropriate?
Will I still have to create a boot sector with 512 bytes and place them as the zeroth sector on a disk (or disk image)? Does the location 0x7c00
have significance anymore?