* WIP: Time syscalls

* Count time from PIT using low tickrate

* Implement realtime

* Implement nanosleep with a tight loop
This commit is contained in:
Jeremy Soller
2016-10-06 20:50:14 -06:00
committed by GitHub
parent 4aedeff717
commit cbd071e505
+1 -1
View File
@@ -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