Back to home page

DOS ain't dead

Forum index page

Log in | Register

Back to the forum
Board view  Mix view

DJGPP - how to make timeout in loop when interrupt disabled? (Developers)

posted by RayeR(R) Homepage, CZ, 22.04.2008, 02:08

Hi,
does someone know how to make a timeout in a loop executing during interrupt disabled (CLI)? Timeout would be about 1sec but it shouldn't be dependent on CPU speed. I cannot use clock/uclock/delay functions when interrupt disabled. It should also work under win9x.

---
DOS gives me freedom to unlimited HW access.

 

Complete thread:

Back to the forum
Board view  Mix view
15115 Postings in 1359 Threads, 249 registered users, 11 users online (0 registered, 11 guests)
DOS ain't dead | Admin contact
RSS Feed
powered by my little forum