From 376d7ec265085ae3a77664356a2ad35921cfccaf Mon Sep 17 00:00:00 2001 From: Clyne Sullivan Date: Sat, 28 Sep 2024 10:01:26 -0400 Subject: millisecond pit; fix multiboot headers for optimization --- vgaterminal.cpp | 2 -- 1 file changed, 2 deletions(-) (limited to 'vgaterminal.cpp') diff --git a/vgaterminal.cpp b/vgaterminal.cpp index f2bb081..8158b14 100644 --- a/vgaterminal.cpp +++ b/vgaterminal.cpp @@ -46,11 +46,9 @@ void VGATerminal::checkpos() noexcept void VGATerminal::updatecursor() const noexcept { - asm volatile("cli"); outb(0x03d4, 0x0f); outb(0x03d5, static_cast(offset)); outb(0x03d4, 0x0e); outb(0x03d5, static_cast(offset >> 8)); - asm volatile("sti"); } -- cgit v1.2.3