Welcome, Guest. Please login or register.

Author Topic: Buffers in general and this case....  (Read 1982 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline Noster

  • Sr. Member
  • ****
  • Join Date: Jan 2004
  • Posts: 375
    • Show all replies
Re: Buffers in general and this case....
« on: June 08, 2004, 10:39:16 AM »
Hi

The buffer you described is known as so called ring-buffer and a usual buffer for serial input.

If you use an existing DOS program to get the data from the serial port you should think about writing this data into a PIPE instead of the ramdisk and read the data to be compared from this PIPE. There is an existing device called PIPE: implemented in the AmigaOS, I'm not shure about the restrictions of this device but it might be used for this purpose.

Noster
DON\\\'T PANIC
    Douglas Adams - Hitch Hiker\\\'s Guide to the Galaxis