Time (#11)
* WIP: Time syscalls * Count time from PIT using low tickrate * Implement realtime * Implement nanosleep with a tight loop
This commit is contained in:
parent
798f7c8808
commit
64cc730eac
11 changed files with 199 additions and 7 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue