Board index » delphi » Does doing WRITELN to screen enable hardware interrupts?

Does doing WRITELN to screen enable hardware interrupts?

Data aquisition software I've written uses hardware interrupts
(typically int 5).  There's times when I wish to disable it by turning
off interrupts using

asm cli; end;

But it seems as though they get turned back on if I write something to
the screen using "writeln".  Could this be true, and why, and any way
to avoid it?

spa...@umich.edu

 

Re:Does doing WRITELN to screen enable hardware interrupts?


Quote
Steve Parus (spa...@umich.edu) wrote:

: Data aquisition software I've written uses hardware interrupts
: (typically int 5).  There's times when I wish to disable it by turning
: off interrupts using

: asm cli; end;

: But it seems as though they get turned back on if I write something to
: the screen using "writeln".  Could this be true, and why, and any way
: to avoid it?

        Make your own writeln routine which draws directly to screen
memory.

        Jooans

Other Threads