Re: Safe way to write interrupt driven circular buffer tx rx?



In article <46d572d6$0$90271$14726298@xxxxxxxxxxxxxxx>, Sven@xxxxxxx
says...
Can someone point out source code for a safe circular buffer receiver
transmitter? It's for sending and receiving bytes via RS232.


You can find source code for a library using queues and interrupts
to receive UART data on a 68K system at:

http://www.oes.to/u4scfxlib.zip


It may not be the best code out there, but I haven't had
to make any major changes in about 5 years now, and my
customers indicate that it does the job for them.

If you have particular questions, send me an email.


Mark Borgerson


.



Relevant Pages

  • Rimax Linux DVD/DivX player firwmare source code
    ... I have been in discussions with Rimax regarding receiving a copy of the ... intrigued and interested to receive a copy of the source code so that I ... I received a reply from Mr Gregson seeking confirmation on 2004-03-08, ...
    (Linux-Kernel)
  • c54X question
    ... 1- If my source code is more than one page in c54X, ... between VOICE and DATA functions (sending and receiving) in it? ...
    (comp.arch.embedded)
  • Re: Re-install Warp 4.52
    ... > This is done by the LAPIC (built into every CPU) and assorted, ... the PSD_IRQ_xxx functions would only allow up to 32 interrupts ... I suspect some more audio drivers, ... Tropez or PciAudio source code from the DDK as template). ...
    (comp.os.os2.misc)
  • Re: Run-time error 453
    ... The source code is machine code. ... Nobody ever talks about using DOS Interrupts ... Everyone talks about API. ...
    (microsoft.public.vb.general.discussion)
  • Re: Dahm Locks
    ... certain the ALLOW and DISALLOW were in the original code, ... interrupts had less to do with I/O interrupts than with disabling ... The DISALLOW is to (from the source code comment): ... ensure that locking TTL and identifying the owner of TTL is an atomic ...
    (comp.sys.unisys)