X-Git-Url: http://git.mutantstargoat.com/user/nuclear/?p=bootcensus;a=blobdiff_plain;f=src%2Fkmain.c;h=fab4e6f565f91e0091fa4cc6e2db425b31dd34be;hp=af7bc6500fb11598d468ffddd0d78013f96e2588;hb=11db15bb0f0f3d23aa9b2966c2f65a0379246813;hpb=4c7af0d72e32cc07c04345bc9fe57a4a32a29695
diff --git a/src/kmain.c b/src/kmain.c
index af7bc65..fab4e6f 100644
--- a/src/kmain.c
+++ b/src/kmain.c
@@ -16,14 +16,24 @@ You should have received a copy of the GNU General Public License
along with this program. If not, see .
*/
#include
+#include
#include
#include "segm.h"
#include "intr.h"
#include "keyb.h"
#include "timer.h"
#include "contty.h"
+#include "int86.h"
+
+static void set_mode13h(void)
+{
+ struct int86regs regs;
+
+ memset(®s, 0, sizeof regs);
+ regs.eax = 0x13;
+ int86(0x10, ®s);
+}
-void set_mode13h(void);
void logohack(void);
void pcboot_main(void)