16. 何でBIOS無いと
ブートローダ動かんの
• GRUBの例
/*
* BIOS call "INT 0x13 Function 0x42" to read sectors from disk into memory
*
Call with
%ah = 0x42
*
%dl = drive number
*
%ds:%si = segment:offset of disk address packet
*
Return:
*
%al = 0x0 on success; err code on failure
*/
movb
$0x42, %ah
int
$0x13
↑BIOSコール(ソフトウェア割り込みにより実現)