DJGPP - how to make timeout in loop when interrupt disabled? (Developers)
> The KBC port - what did you mean by "refresh cycle"? Is it DRAM refresh
> period? I think this can vary for different DRAM chips. There are some
> with extended refresh time, standard is about 15us? I don't need any
> precise timing here but it shouldn't lock longer than 1 second if there's
> no response from IDE port.
IIRC this bit is toggled when PIT timer 1 reaches zero. PIT timer 1 was used for DRAM refresh in the original IBM PC. What's important is that the timer ticks with a known frequency and its initial counter value isn't changed usually.
---
MS-DOS forever!
Complete thread:
- DJGPP - how to make timeout in loop when interrupt disabled? - RayeR, 22.04.2008, 02:08 (Developers)
- DJGPP - how to make timeout in loop when interrupt disabled? - Japheth, 22.04.2008, 10:33
- DJGPP - how to make timeout in loop when interrupt disabled? - RayeR, 22.04.2008, 11:34
- DJGPP - how to make timeout in loop when interrupt disabled? - Japheth, 22.04.2008, 12:41
- DJGPP - how to make timeout in loop when interrupt disabled? - RayeR, 22.04.2008, 14:04
- DJGPP - how to make timeout in loop when interrupt disabled? - Ninho, 22.04.2008, 12:42
- DJGPP - how to make timeout in loop when interrupt disabled? - Japheth, 22.04.2008, 12:41
- DJGPP - how to make timeout in loop when interrupt disabled? - RayeR, 22.04.2008, 11:34
- DJGPP - how to make timeout in loop when interrupt disabled? - Japheth, 22.04.2008, 10:33