Of course it calls BIOS directly, tries to do so. But don't think you can use such code to call BIOS in Windows or Linux.
You can use many assembly codes in the application mode, but hardly BIOS. In x86 real mode, you could, but this is not what modern OS use. For example, in your code,
int 0x10
will throw the exception like General Protection Fault. Remember, you are working in the
protected mode of x86. Please see:
http://en.wikipedia.org/wiki/Protected_mode[
^].
See also:
http://en.wikipedia.org/wiki/Real_mode[
^],
http://en.wikipedia.org/wiki/Unreal_mode[
^].
—SA