Teen Programmers Unite  
 

 

Return to forum top

using serial port intterupt in protected mode.

Posted by RedX [send private reply] at May 01, 2002, 07:04:41 PM

Does anyone have a working example about how to use the serial port interrupt in protected mode with those DPMI functions? I've spend whole day trying to get it to work, but even the examples from DJGPP didn't work.
It's supposed to generate an interrupt when the UART has received some bytes, but it doesn't do a thing. I can get the bytes by polling the UART, but I would rather use a interrupt version to prevent the lose of data.

RedX

You must be logged in to post messages and see which you have already read.

Log on
Username:
Password:
Save for later automatic logon

Register as a new user
 
Copyright TPU 2002. See the Credits and About TPU for more information.