Page 1 of 1

How to write usleep function?

Posted: Sat Nov 10, 2007 1:15 pm
by kapitan_hak
Welcome
first - sorry for my English, because I'm Polish, and don't speak in this language very well. I'm writing simple OS. It yet don't have Memory Manager, Filesystem Support, Multitasking. When I'm writing floppy driver I need to use usleep function. How can I do it? Thanks for your help. k_h

Posted: Sun Nov 11, 2007 4:31 am
by Combuster
Set up the PIT timer, then repeatedly read back the time.