Re: [fpc-pascal] Why the difference in the rounded results?

2021-10-15 Thread Guillermo via fpc-pascal
Hi, Silly question: Were all compiled an executed in the same computer and operating system? Also, were all compilations done with same optimization configuration? It is well known that different CPUs have differences in some operations, specially DIV ones that even introduced bugs in the past (

Re: [fpc-pascal] Hello, new Pascal programmer. had a question!

2021-08-29 Thread Guillermo via fpc-pascal
Hi Joseph, Besides all other answers, once you have a (Turbo) Pascal basis you can read "Modern Object Pascal Introduction for Programmers" [https://castle-engine.io/modern_pascal_introduction.html]. It will show you old and new stuff. Regards, Guillermo "Ñuño" Martínez El Fri, 27 Aug 2021 16:0

Re: [fpc-pascal] How does FPC perform in the FASTEST Computer Language Race

2021-07-10 Thread Guillermo via fpc-pascal
Hi, I remember years ago a similar test in a web page. Pascal was way low in the list, even below Java and Python! but we (in a forum) found that it wasn't Pascal fault: most versons program were optimised in code while Pascal used brute force (also compiling using -O3 made it way faster than the

Re: [fpc-pascal] Interruption handling on i8086

2021-04-11 Thread Guillermo via fpc-pascal
El Sun, 11 Apr 2021 00:26:39 +0200 Sven Barth escribió: > That revision wasn't merged to 3.2.x, so it's not fixed in the RC. > I've now done so, thus it should be in the final 3.2.2. Thanks Sven. I was about to ask at Lazarus forums right now. :) > > Regards, > Sven Regards, Guillermo "Ñuño

Re: [fpc-pascal] Interruption handling on i8086

2021-04-11 Thread Guillermo via fpc-pascal
Hi, Tomas. El Sat, 10 Apr 2021 16:05:28 +0200 Tomas Hajny via fpc-pascal escribió: > > Hi, > > I believe that you need to add the "far" modifier after the > "interrupt" - at least this has been the case with TP/BP and is > probably needed at least for some memory models supported with FPC > for

Re: [fpc-pascal] Interruption handling on i8086

2021-04-10 Thread Guillermo via fpc-pascal
El Sat, 10 Apr 2021 10:42:12 +0200 Christo Crause escribió: > On Sat, Apr 10, 2021 at 10:14 AM Guillermo via fpc-pascal < > fpc-pascal@lists.freepascal.org> wrote: > > > Hi pascaloids, > > > > I'm doing DOS development for fun and, after installing the com

Re: [fpc-pascal] Interruption handling on i8086

2021-04-10 Thread Guillermo via fpc-pascal
El Sat, 10 Apr 2021 11:35:18 +0200 Marco Borsari via fpc-pascal escribió: > Il 09/04/2021 19:56, Guillermo via fpc-pascal ha scritto: > > Hi pascaloids, > > > > I'm doing DOS development for fun and, after installing the compiler > > (was quite hard), I'

[fpc-pascal] Interruption handling on i8086

2021-04-10 Thread Guillermo via fpc-pascal
Hi pascaloids, I'm doing DOS development for fun and, after installing the compiler (was quite hard), I'm having problems handling interrupts. I started with keyboard and it doesn't work. The handler declaration: procedure DOS_KbdHandler; interrupt; but compiler says: keybrd.inc(14,29) Wa