uart interrupt tx rx in Dos32 bit open watcom (Developers)
> I did something like that a LONG time ago, too (except in 16-bit DOS, not
> DPMI). I looked for the code, but can't find it any more.
>
> I remember using the source code for an old PC Magazine utility called
> PCREMOTE as the starting point for that particular part of my program. I
> also used the source code for PCREMOTE as the starting point to set up
> circular buffers to store the transmit and receive data. PCREMOTE uses the
> IRQ for both transmit and receive, which is what you're trying to do. I
> personally agree that's the _right_ way to do it, even though it's a little
> more difficult than transmit polling.
>
> I think uploading the PCREMOTE source code might be forbidden here because
> of copyright issues, but you can still find the files on the Internet if
> you look. PCREMOTE is in V9N01 of the PC Magazine archives.
>
> Since you haven't shown any of your code, one thing I will say that you
> absolutely need to do is to make sure in the Interrupt Enable Register you
> set the Transmitter Holding Register interrupt bit.
Hi,
thanks a lot for the info about the example, I manage to find it, and at the moment, merging it with my code, the uart is sending up to 16 bytes in interrupt, but after the 16th, no more data is transmitted, probably it is depending on enabling fifo on the FIFO Control Register.
I'll try to use the example, I'll post as soon as I have any news.
Thanks again.
maui
Complete thread:
- uart interrupt tx rx in Dos32 bit open watcom - maui, 11.11.2013, 11:14
![Open in board view [Board]](img/board_d.gif)
![Open in mix view [Mix]](img/mix_d.gif)
- uart interrupt tx rx in Dos32 bit open watcom - RayeR, 11.11.2013, 19:34
- uart interrupt tx rx in Dos32 bit open watcom - RayeR, 12.11.2013, 01:50
- uart interrupt tx rx in Dos32 bit open watcom - tom, 12.11.2013, 12:24
- uart interrupt tx rx in Dos32 bit open watcom - RayeR, 12.11.2013, 12:30
- uart interrupt tx rx in Dos32 bit open watcom - bretjohn, 12.11.2013, 16:55
- uart interrupt tx rx in Dos32 bit open watcom - maui, 12.11.2013, 19:23
- uart interrupt tx rx in Dos32 bit open watcom - bretjohn, 12.11.2013, 21:12
- uart interrupt tx rx in Dos32 bit open watcom - tom, 13.11.2013, 11:22
- uart interrupt tx rx in Dos32 bit open watcom - maui, 13.11.2013, 15:49
- uart interrupt tx rx in Dos32 bit open watcom - Oso2k, 13.11.2013, 22:26
- uart interrupt tx rx in Dos32 bit open watcom - maui, 15.11.2013, 19:43
- uart interrupt tx rx in Dos32 bit open watcom - tom, 16.11.2013, 19:02
- uart interrupt tx rx in Dos32 bit open watcom - Brian_extended, 17.11.2013, 04:21
- uart interrupt tx rx in Dos32 bit open watcom - maui, 19.11.2013, 12:42
- uart interrupt tx rx in Dos32 bit open watcom - Brian_extended, 19.11.2013, 20:59
- uart interrupt tx rx in Dos32 bit open watcom - Brian_extended, 22.11.2013, 15:22
- uart interrupt tx rx in Dos32 bit open watcom - Brian_extended, 23.11.2013, 03:09
- uart interrupt tx rx in Dos32 bit open watcom - maui, 24.11.2013, 13:45
- uart interrupt tx rx in Dos32 bit open watcom - Brian_extended, 26.11.2013, 23:25
- uart interrupt tx rx in Dos32 bit open watcom - RayeR, 27.11.2013, 03:26
- uart interrupt tx rx in Dos32 bit open watcom - Brian_extended, 05.01.2014, 20:42
- uart interrupt tx rx in Dos32 bit open watcom - Brian_extended, 26.01.2014, 02:06
- uart interrupt tx rx in Dos32 bit open watcom - tom, 27.01.2014, 22:46
- uart interrupt tx rx in Dos32 bit open watcom - Brian_extended, 26.01.2014, 02:06
- uart interrupt tx rx in Dos32 bit open watcom - Brian_extended, 05.01.2014, 20:42
- uart interrupt tx rx in Dos32 bit open watcom - RayeR, 27.11.2013, 03:26
- uart interrupt tx rx in Dos32 bit open watcom - Brian_extended, 26.11.2013, 23:25
- uart interrupt tx rx in Dos32 bit open watcom - maui, 24.11.2013, 13:45
- uart interrupt tx rx in Dos32 bit open watcom - Brian_extended, 23.11.2013, 03:09
- uart interrupt tx rx in Dos32 bit open watcom - maui, 19.11.2013, 12:42
- uart interrupt tx rx in Dos32 bit open watcom - Brian_extended, 17.11.2013, 04:21
- uart interrupt tx rx in Dos32 bit open watcom - tom, 16.11.2013, 19:02
- uart interrupt tx rx in Dos32 bit open watcom - maui, 15.11.2013, 19:43
- uart interrupt tx rx in Dos32 bit open watcom - Oso2k, 13.11.2013, 22:26
- uart interrupt tx rx in Dos32 bit open watcom - maui, 13.11.2013, 15:49
- uart interrupt tx rx in Dos32 bit open watcom - maui, 12.11.2013, 19:23
- uart interrupt tx rx in Dos32 bit open watcom - Brian_extended, 16.11.2013, 01:14
- uart interrupt tx rx in Dos32 bit open watcom - Brian_extended, 16.11.2013, 01:15
- uart interrupt tx rx in Dos32 bit open watcom - Brian_extended, 16.11.2013, 01:16
- uart interrupt tx rx in Dos32 bit open watcom - Brian_extended, 16.11.2013, 01:32
- uart interrupt tx rx in Dos32 bit open watcom - RayeR, 11.11.2013, 19:34
Mix view