Re: [fpc-pascal] DOS Timer Interrupt, serial Interrupt

2006-08-11 Thread Lubomír Čabla
Hello,   solution you can find in file "c:\pp\source\docs\go32ex\intpm.pas".Best regards  -- Lubomir Cabla/CBLWeb page : http://www.hdat2.com/Web forum: http://www.getphpbb.com/phpbb/index.php?mforum=lcabla { This example shows how to redirect a software interrupt by changing the protected mode ha

Re: [fpc-pascal] DOS Timer Interrupt, serial Interrupt

2006-08-10 Thread Andreas Berger
Rainer Stratmann wrote: Hello, is there a document or sample code for accessing the timer interrupt and the serial interrupt in DOS mode. Rainer I found that getintvec and setintvec do not work. Use get_pm_interrupt and set_pm_interrupt instead. Andreas __

Re: [fpc-pascal] DOS Timer Interrupt, serial Interrupt

2006-08-09 Thread Rainer Stratmann
Hello Alexey, yes, it should be get_cs, I wonder why it not crashes with ds. Now it counts, but slowly, when running out of win98. When running in 'pure' DOS mode (when ending windows) it has also no effect. The timer interrupt normally counts 18.2 times per second. ??? Best regards Rainer Am Mi

Re: [fpc-pascal] DOS Timer Interrupt, serial Interrupt

2006-08-09 Thread Rainer Stratmann
Hello Alexey, the program is changed now, but is has the same effect. May be it has to do with the special role of the timer interrupt. Best regards Rainer program time; uses crt,dos,go32; var timervar:longint; procedure hardtime; interrupt; begin inc(timervar); end; var htimeivecbak : tse

Re: [fpc-pascal] DOS Timer Interrupt, serial Interrupt

2006-08-09 Thread Alexey Pavluchenko
Hello Rainer, Wednesday, August 09, 2006, 1:19:52 PM, you wrote: RS> is there a document or sample code for accessing the timer interrupt and the RS> serial interrupt in DOS mode. RS> This does not work: [skip] You should use get_pm_interrupt and set_pm_interrupt from GO32 unit instead of DOS u