Re: [fpc-pascal] Re: [fpc-devel] cpu

2009-11-26 Thread Florian Klaempfl
Schatzl Thomas schrieb: > Hi again What about making it an FPC package? ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] Re: [fpc-devel] cpu

2009-11-25 Thread Schatzl Thomas
Hi again Original-Nachricht > Datum: Wed, 25 Nov 2009 17:11:27 +0100 > Von: Peter Beisel > An: FPC-Pascal users discussions > Betreff: Re: [fpc-pascal] Re: [fpc-devel] cpu > thank's for the hint. I could now fix unit cpu.pp > The problem was the ca

Re: [fpc-pascal] Re: [fpc-devel] cpu

2009-11-25 Thread Peter Beisel
thank's for the hint. I could now fix unit cpu.pp The problem was the calling convention (all assambly routines assumed parameters on the stack - but now they are in registers in fact) But {$calling oldfpccall} didn't work (neither on top of the unit nor in interface or implementation) I had

Re: [fpc-pascal] Re: [fpc-devel] cpu

2009-11-25 Thread Jonas Maebe
On 25 Nov 2009, at 11:46, Schatzl Thomas wrote: Hi, is there anyone who ported cpu.pp (from Thomas Schatzl) to fpc 2.2.4 (target go32v2) it compiles out of the box with the 2.2.4 go32v2 compiler. You will want to add a {$CALLING PASCAL} statement at the top of the units - some assembly

[fpc-pascal] Re: [fpc-devel] cpu

2009-11-25 Thread Schatzl Thomas
Hi, > is there anyone who ported cpu.pp (from Thomas Schatzl) to fpc 2.2.4 > (target go32v2) it compiles out of the box with the 2.2.4 go32v2 compiler. You will want to add a {$CALLING PASCAL} statement at the top of the units - some assembly code assumes some (ancient) calling convention.