Re: [fpc-pascal] RS232 isr

2006-07-02 Thread Tomas Hajny
On 3 Jul 06, at 2:39, Anders Jansson wrote: > I am making a DOS program that uses RS232 at 115200 bps with > XON/XOFF. There are some fairly simple public domain units for > real mode. But in protected mode it seems very complicated. Has > someone used Elecom? Could a real-mode ISR be used? You c

Re: [fpc-pascal] fpc & Lazarus with 64-bit

2006-07-02 Thread Vincent Snijders
Felipe Monteiro de Carvalho wrote: On 7/2/06, Alain Michaud <[EMAIL PROTECTED]> wrote: Question - 2 : Is there a special Lazarus version for AMD64 ? Does it work on AMD64 ? Please test! =) There is no pre-compiled binary for download, that´s for sure, but this may be because there is no mai

Re: [fpc-pascal] MSEide+MSEgui rev. 0.9

2006-07-02 Thread Martin Schreiber
On Monday 03 July 2006 06.06, Felipe Monteiro de Carvalho wrote: > On 7/2/06, Martin Schreiber <[EMAIL PROTECTED]> wrote: > > Screenshots: > > > > http://sourceforge.net/project/screenshots.php?group_id=165409 > > The assembler window is quite impressive! Most work is done by GDB. Next on assemble

Re: [fpc-pascal] MSEide+MSEgui rev. 0.9

2006-07-02 Thread Felipe Monteiro de Carvalho
On 7/2/06, Martin Schreiber <[EMAIL PROTECTED]> wrote: Screenshots: http://sourceforge.net/project/screenshots.php?group_id=165409 The assembler window is quite impressive! -- Felipe Monteiro de Carvalho ___ fpc-pascal maillist - fpc-pascal@lists.

Re: [fpc-pascal] fpc & Lazarus with 64-bit

2006-07-02 Thread Felipe Monteiro de Carvalho
On 7/2/06, Alain Michaud <[EMAIL PROTECTED]> wrote: Question - 1: Once I have installed the module: fpc-2.0.2.x86_64-linux.tar then does that means that I use the "regular" source code: fpc-2.0.2.source.tar.gz in order to recompile FPC or to compile lazarus? I think that you need to install fp

RE: [fpc-pascal] RS232 isr

2006-07-02 Thread Michael Preslar
> Has someone used Elecom? Could a real-mode ISR be used? I don't know anything about real mode.. But a good example of EleCom's usage can be found in MannDoor.. Available from http://www.randm.ca Of course, the EleBBS source makes heavy use of EleCom as well, but I cant find the download link to

[fpc-pascal] RS232 isr

2006-07-02 Thread Anders Jansson
I am making a DOS program that uses RS232 at 115200 bps with XON/XOFF. There are some fairly simple public domain units for real mode. But in protected mode it seems very complicated. Has someone used Elecom? Could a real-mode ISR be used? Kind regards, Anders

Re: [fpc-pascal] fpc & Lazarus with 64-bit

2006-07-02 Thread Alain Michaud
Hi, I wanted to install fpc/laz on a friend's AMD64 myself a fey days ago in order to show the "power of FPC" but I realized quickly that AMD64 is a different "animal". I can not answer any of your questions as I am not a developer. However I can say that there are as many platform to suppor

SV: SV: [fpc-pascal] writeln in threads on linux

2006-07-02 Thread Ole J. Røtne
> Please post the complete code. Here goes (Typed from my Linux box, as i don't have filesharing going there): < Start Unit1 Unit unit1; {$mode objfpc}{$H+} Interface Uses Classes, SysUtils; Type threadtest = class(tthread) constructor Create; procedure Execute: override; End

Re: [fpc-pascal] writeln in threads on linux

2006-07-02 Thread Graeme Geldenhuys
Could we see the complete code please... Graeme. On 7/2/06, Ole J. Røtne <[EMAIL PROTECTED]> wrote: Did try to wrap both of the WriteLn() with EnterCriticalSection/LeaveCriticalSection. Same result.. -- There's no place like 127.0.0.1 ___ fpc-pasc

Re: SV: [fpc-pascal] writeln in threads on linux

2006-07-02 Thread Florian Klaempfl
Ole J. Røtne wrote: > > >> -Opprinnelig melding- >> Fra: [EMAIL PROTECTED] >> [mailto:[EMAIL PROTECTED] På vegne av >> Florian Klaempfl >> Sendt: 2. juli 2006 12:46 >> Til: FPC-Pascal users discussions >> Emne: Re: [fpc-pascal] writeln in threads on linux >> >>> And if this is a "wrong

SV: [fpc-pascal] writeln in threads on linux

2006-07-02 Thread Ole J. Røtne
> -Opprinnelig melding- > Fra: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] På vegne av > Florian Klaempfl > Sendt: 2. juli 2006 12:46 > Til: FPC-Pascal users discussions > Emne: Re: [fpc-pascal] writeln in threads on linux > > > And if this is a "wrong way" of doing this thing, coul

[fpc-pascal] fpc & Lazarus with 64-bit

2006-07-02 Thread J.L. Blom
Hi, I recently retrieved fpc-pascal 2.0.2a from the Lazarus download site together with Lazarus 0.9.16. System: AMD64 1 Gb mem. sufficient disk space, Linux 2.6.17-1.2139_FC5. My problems: 1. Starting "fp" freezes the terminal window. When I do "fp &", the window is accessible but the first keystro

Re: [fpc-pascal] Re: writeln in threads on linux

2006-07-02 Thread Felipe Monteiro de Carvalho
On 7/2/06, Antal <[EMAIL PROTECTED]> wrote: So just look out for this in the source-code. Or just use write('Main Loop',#13#10); :^) Isn´t it better to use: write('Main Loop',LineEnding); this way the RTL will substitue LineEnding with the appropriate one for that platform. -- Felipe Monteir

Re: [fpc-pascal] writeln in threads on linux

2006-07-02 Thread Florian Klaempfl
Ole J. Røtne wrote: > > Can anyone explain why i get output like this in a small test program: > Inside Thread >Main Loop > Inside Thread >Main Loop > Inside Thread >Main Loop > > > On Windows the output are lined up just as I would expect: > Insi

SV: [fpc-pascal] Re: writeln in threads on linux

2006-07-02 Thread Ole J. Røtne
> > Can anyone explain why i get output like this in a small > test program: > > Inside Thread > > Main Loop > > Inside Thread > > Main Loop > > Inside Thread > > Main Loop > That's because the line terminator! > #10#13 or #13#10 acts differently > So, check

[fpc-pascal] Re: writeln in threads on linux

2006-07-02 Thread Antal
Can anyone explain why i get output like this in a small test program: Inside Thread Main Loop Inside Thread Main Loop Inside Thread Main Loop That's because the line terminator! #10#13 or #13#10 acts differently So, check in the source code whic

[fpc-pascal] writeln in threads on linux

2006-07-02 Thread Ole J. Røtne
Can anyone explain why i get output like this in a small test program: Inside Thread Main Loop Inside Thread Main Loop Inside Thread Main Loop On Windows the output are lined up just as I would expect: Inside Thread Main Loop Inside Thread Main

[fpc-pascal] MSEide+MSEgui rev. 0.9

2006-07-02 Thread Martin Schreiber
Version 0.9 of MSEide+MSEgui is released: http://mypage.bluewin.ch/msegui/ Screenshots: http://sourceforge.net/project/screenshots.php?group_id=165409 Have a lot of fun! Martin ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.