Skip to content
Snippets Groups Projects
Commit cbd071e5 authored by Jeremy Soller's avatar Jeremy Soller Committed by GitHub
Browse files

Time (#11)

* WIP: Time syscalls

* Count time from PIT using low tickrate

* Implement realtime

* Implement nanosleep with a tight loop
parent 4aedeff7
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment