Merge into main the new state of the operating system/kernel #1

Open
Nigel wants to merge 120 commits from dev into main
2 changed files with 10 additions and 0 deletions
Showing only changes of commit 48b65b2276 - Show all commits

View File

@ -144,6 +144,15 @@ extern "C" {
asm volatile ("int $4");
while (true){
// Read time indefinetely
read_rtc();
printf( "(YY-MM-DD h:mm:ss): %2d-%2d-%2d %2d:%2d:%2d\r" ,year, month, day, hour, minute, second);
delay(1000);
}
/** Lets start using the serial port for debugging .. **/
// Hopefully once we go into realmode or do something that
// cause the screen to go black.. this serial comms part will give

View File

@ -7,3 +7,4 @@ extern "C" {
#include "arch/i386/idt/idt.h"
#include "MMU.h"
#include "io.h"
#include "time.h"