diff options
Diffstat (limited to 'src/common/common.protmode.clear.asm')
| -rw-r--r-- | src/common/common.protmode.clear.asm | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/src/common/common.protmode.clear.asm b/src/common/common.protmode.clear.asm new file mode 100644 index 0000000..47cb980 --- /dev/null +++ b/src/common/common.protmode.clear.asm @@ -0,0 +1,13 @@ +;; common.protmode.print.asm + +%include "common.asm" + +_clear_screen: + mov edi, VGA_BUFFER + mov ecx, VGA_SCREEN + mov ax, VGA_WHITE_ON_BLACK +.clear: + mov [edi], eax + add edi, 2 + loop .clear + ret |
