Using Dos for Real Time applications -> CLI (Developers)
> > Most likely it's the timer interrupt called every cca 18.2 ms (!!!) and
> > eating more time than usual cca every 1 second.
> >
> > > Is this avoidable ?
> >
> > > > CLI
> >
>
> Yes the most of time can take BIOS/DOS interrupts. But even if you CLI,
> there will occur some SMM interrupts that are handled by SMI handler and
> cannot be disabled (this is transparrent and running behind all OS). BIOS
> writers should make this routines as fast as possible but it still may take
> some us or maybe tens of us? It also depends on hardware config and BIOS.
> If you need some microsecond precision timing I rather suggest to connect
> some external microcontroller to do this job.
Thank you for your answers, DOS386 and RayeR.
I don't know much about CLI but I will look for "how to use it". Thus if you have an interesting link, please tell me.
I also use some microcontrollers, and I do some communications between this DOS PC and Arduino-like cards. For some basic tasks these microcontroller are nice, but when I do more complex programming I prefer to use the real computer, which has much more calculation power and on which it is easier to debug.
So on the PC I don't really care about 10us but then when more than 100us break happen it can be a little bit disturbing. I use "quite powerfull" computer, I mean for DOS, for example Pentium 4 or Athlon.
By the way RayeR, thank you again, as I used your tool "MTRRLFBE" which works well on my Nvidia cards :)
Complete thread:
- Using Dos for Real Time applications - Damien, 23.12.2012, 18:41 (Developers)
![Open in board view [Board]](img/board_d.gif)
![Open in mix view [Mix]](img/mix_d.gif)
- Using Dos for Real Time applications -> CLI - DOS386, 24.12.2012, 09:39
- Using Dos for Real Time applications -> CLI - RayeR, 24.12.2012, 15:13
- Using Dos for Real Time applications -> CLI - Damien, 26.12.2012, 12:50
- Using Dos for Real Time applications -> CLI - Damien, 27.12.2012, 23:23
- Using Dos for Real Time applications -> CLI - RayeR, 28.12.2012, 01:32
- Using Dos for Real Time applications -> CLI - Damien, 02.01.2013, 13:20
- Using Dos for Real Time applications -> CLI - Laaca, 02.01.2013, 21:02
- Using Dos for Real Time applications -> CLI - RayeR, 02.01.2013, 23:22
- Using Dos for Real Time applications -> CLI - Damien, 05.01.2013, 14:10
- Using Dos for Real Time applications -> CLI - RayeR, 06.01.2013, 21:43
- Using Dos for Real Time applications -> CLI - Damien, 09.01.2013, 13:12
- Using Dos for Real Time applications -> CLI - RayeR, 09.01.2013, 13:52
- Using Dos for Real Time applications -> CLI - Arjay, 09.01.2013, 23:40
- Using Dos for Real Time applications -> CLI - RayeR, 09.01.2013, 13:52
- Using Dos for Real Time applications -> CLI - Damien, 09.01.2013, 13:12
- Using Dos for Real Time applications -> CLI - RayeR, 06.01.2013, 21:43
- Using Dos for Real Time applications -> CLI - Laaca, 02.01.2013, 21:02
- Using Dos for Real Time applications -> CLI - Damien, 02.01.2013, 13:20
- Using Dos for Real Time applications -> CLI - RayeR, 28.12.2012, 01:32
- Using Dos for Real Time applications -> CLI - RayeR, 24.12.2012, 15:13
- Using Dos for Real Time applications -> CLI - DOS386, 24.12.2012, 09:39
Mix view