From cbd071e505d9bb91ed0738008a163f3a3581d866 Mon Sep 17 00:00:00 2001 From: Jeremy Soller Date: Thu, 6 Oct 2016 20:50:14 -0600 Subject: [PATCH] Time (#11) * WIP: Time syscalls * Count time from PIT using low tickrate * Implement realtime * Implement nanosleep with a tight loop --- x86_64/initialize.asm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/x86_64/initialize.asm b/x86_64/initialize.asm index 20f059b42e..1d468a17ff 100644 --- a/x86_64/initialize.asm +++ b/x86_64/initialize.asm @@ -38,7 +38,7 @@ initialize: .pit: ;initialize the PIT - mov ax, 65535 ;5370 ;this is the divider for the PIT + mov ax, 55483 ;5370 ;this is the divider for the PIT out 0x40, al rol ax, 8 out 0x40, al