[fpc-pascal] (Unix) serial port handling

2011-03-08 Thread Mark Morgan Lloyd
Can anybody say whether there is a good reason that serial.pp lacks a function to read the CD signal? Is SerFlush, which calls fpfsync, intended to discard input data, output data or both? -- Mark Morgan Lloyd markMLl .AT. telemetry.co .DOT. uk [Opinions above are the author's, not those of

Re: [fpc-pascal] (Unix) serial port handling

2011-03-08 Thread greim
Hi Mark, Can anybody say whether there is a good reason that serial.pp lacks a function to read the CD signal? i would recommend the synaser library, more sophisticated then the serial.pp http://www.ararat.cz/synapse/doku.php/download there is a function getCarrier, i guess this is what you

[fpc-pascal] Converting 32bit intel asm to Pascal or 64bit att asm

2011-03-08 Thread Andrew Haines
Hi, I'm trying to convert the following 32bit asm to pascal so it's portable. Also to 64bit asm. It's from ACS audio component suite. What am I doing wrong? I tested my Pascal code with linux 32bit but the output differs from the 32bit asm. In 64bit linux it differs further but this could be