Waiting for 3 (or 3.3) microseconds? 286 and up. (Developers)
> What is a good way to guarantee a wait for a few microseconds? Can I use
> the same code on a 286 while still guaranteeing long enough delay on a
> 64bit cpu who happens to be talking to a real sound blaster in an ISA slot?
> Those motherboards exists [even though I don't have one, nor a real sound
> blaster].
One may query Keyboard controller port B ( cpu port 61h ). Bit 4 ("refresh request") toggles at a frequency of 1.193 MHz. It's often used for PC-speaker sound timings.
---
MS-DOS forever!
Complete thread:
- Waiting for 3 (or 3.3) microseconds? 286 and up. - myrkraverk, 09.12.2012, 23:41 (Developers)
![Open in board view [Board]](img/board_d.gif)
![Open in mix view [Mix]](img/mix_d.gif)
- Waiting for 3 (or 3.3) microseconds? 286 and up. - RayeR, 10.12.2012, 03:09
- Waiting for 3 (or 3.3) microseconds? 286 and up. - Japheth, 10.12.2012, 11:42
- Waiting for 3 (or 3.3) microseconds? 286 and up. - RayeR, 10.12.2012, 18:04
- Waiting for 3 (or 3.3) microseconds? 286 and up. - bretjohn, 10.12.2012, 15:52
- Waiting for 3 (or 3.3) microseconds? 286 and up. - myrkraverk, 10.12.2012, 21:22
- Waiting for 3 (or 3.3) microseconds? 286 and up. - myrkraverk, 10.12.2012, 21:16
- Waiting for 3 (or 3.3) microseconds? 286 and up. - Rugxulo, 10.12.2012, 22:03
- Waiting for 3 (or 3.3) microseconds? 286 and up. - myrkraverk, 13.12.2012, 14:07
- Waiting for 3 (or 3.3) microseconds? 286 and up. - marcov, 13.12.2012, 22:51
- Waiting for 3 (or 3.3) microseconds? 286 and up. - RayeR, 14.12.2012, 01:12
- Waiting for 3 (or 3.3) microseconds? 286 and up. - marcov, 13.12.2012, 22:51
- Waiting for 3 (or 3.3) microseconds? 286 and up. - myrkraverk, 13.12.2012, 14:07
Mix view