Mail Archives: djgpp/2005/12/06/11:47:42
frog wrote:
>OS: DOS 6.22
>DJGPP 2.04
>ALLEGRO 4.03
>
>Hi!
>I do experience serious problem with interrupt driven serial
>communication.
>I am using Dzcom0.99i library, and from time to time I can send nothing
>via my serial port.
>After successfull initialization(dzcom_init and comm_port_init) I send
>bytes to port via comm_port_out function. I see that they are witten
>into queue, but they are not sent via serial port. I checked this using
>terminall program on other computer. I think, I have problem with
>interrupt. I must add that this happend from time to time ( not always
>, more or less 3 times from 10) right after initalization. If datas are
>transmitted successfully via com after initialization, I experience no
>problems till program termination.
>I am also using allegro timer interrupts in my program. Cound it be
>that this is the reason?
>Please, help me if you can
> Artur Pendzich
>
>
>
>
Allegro reprograms the timer chip. If dzcomm uses the timer , you must set
i_love_bill = 1 in allegro
CC Vural
- Raw text -