2018-12-04 09:46:27 +00:00
|
|
|
/* https://github.com/cirosantilli/x86-bare-metal-examples#bios-examples */
|
|
|
|
|
|
2015-09-06 23:16:58 +02:00
|
|
|
#include "common.h"
|
|
|
|
|
BEGIN
|
2018-07-17 09:46:13 +01:00
|
|
|
/* 40 == ASCII for '@'
|
|
|
|
|
* 0E == BIOS function ID.
|
|
|
|
|
*/
|
2015-09-18 11:35:08 +02:00
|
|
|
mov $0x0E40, %ax
|
2015-09-06 16:17:39 +02:00
|
|
|
int $0x10
|
|
|
|
|
hlt
|