X-Git-Url: http://git.mutantstargoat.com/user/nuclear/?a=blobdiff_plain;f=src%2Fkmain.c;h=fab4e6f565f91e0091fa4cc6e2db425b31dd34be;hb=b3d12cd7ebb86b8fafbb3ef9d2aaa9a4797b4f00;hp=af7bc6500fb11598d468ffddd0d78013f96e2588;hpb=97356e29f73e12f0856fde92a48e86c73bef387c;p=bootcensus 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)