aboutsummaryrefslogtreecommitdiff
path: root/src/bringelle.c
blob: 5431ad49dd7a1c800e11595b2db7289a5e4f0e21 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#include "libc/stdio.h"
#include "utils/pic.h"
#include "boot/multiboot.h"

void bringelle(){
  clear();
  printc("Booting Bringelle...",GREEN);

  // Kernel boot sequence
  pic_enable_interrupt();

  printc(" done!\n",GREEN);
  while(1);
}

void clock(){
  static int tic=0;
  static int sec=0;
  tic++;
  if(tic>=20){
    tic=0;
    sec++;
  }
}