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 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
22049 Postings in 2034 Threads, 396 registered users, 135 users online (0 registered, 135 guests)
DOS ain't dead | Admin contact
RSS Feed
powered by my little forum