Mail Archives: djgpp/2011/02/23/11:24:43
Sure! Maybe I have what I need right now (except for a ported version), but
just don't know it. This book and examples by Mark Goodwin might be the
perfect foundation that I am looking for. It points out the deficiencies of
ROM-BOS calls with examples, then shows you how to create his interrupt driven
"serial" toolkit step-by-step. He creates two compiled versions, one in C, and
the other in C++. They both work great. His "serasm.asm" source deals with
handling the ISR and the clock. Hopefully, this will shed some light on
porting to DJGPP. Naturally, I'm starting at point 'A' and working toward
point 'Z'. My end goal is to learn how to use PCOM, DZCOM routines in my
application.
I will gladly share everything that is produced from this experience.
I'm trying to follow protocol for posting questions. I have seen the comment
about reading and posting to the news group instead of mailing list. I will
look for the HOW-TO on this. If someone can point me in the right direction
that would be great!
-jw
On Wednesday, February 23, 2011 07:28:24 am you wrote:
> On Tue, Feb 22, 2011 at 7:01 PM, John Wright <john AT wacontrols DOT com> wrote:
> > I'm looking for some complete code examples using PCOM, DZCOM or SVASYNC
> > routines. Which ever anyone might have or recommend. I have several books
> > that
> > I have been studying, and they all have good examples, but everything is
> > based
> > on MSC 6.0 or Turbo C++.
> >
> > The hard part is the ISR which is very DJGPP specific. And without
>
> interrupts you can forget to run serial comms at any reasonable baud-rate.
>
> I have a working implementation for the PPP portion of a commercial TCP/IP
> package and are quite willing to give you the source code (for free of
> course), but it is by no means a nicely structured library. If you want to
> use it to port a good library, you are welcome if you will also make the
> library available for free.
- Raw text -