Files
x86-bare-metal-examples/bios_pixel_line.S

20 lines
323 B
ArmAsm
Raw Normal View History

2018-12-04 09:46:27 +00:00
/* https://github.com/cirosantilli/x86-bare-metal-examples#bios-draw-pixel */
2015-09-20 12:16:43 +02:00
#include "common.h"
BEGIN
mov $0x0013, %ax
int $0x10
mov $0x0000, %cx
mov $0x0000, %dx
start:
mov $0x0C88, %ax
mov $0x01, %bh
int $0x10
inc %cx
inc %dx
cmp $201, %dx
jz end
jmp start
end:
hlt