El Sat, 10 Apr 2021 10:42:12 +0200
Christo Crause <christo.cra...@gmail.com> 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 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) Warning: Calling convention directive ignored:
> >   "OldFPCCall"
> >  
> 
> This was fixed in trunk rev 39838 (
> https://svn.freepascal.org/cgi-bin/viewvc.cgi/trunk/compiler/pdecsub.pas?r1=39703&r2=39838),
> but so far the fix didn't make it into a release yet.  At least for
> AVR the warning can be ignored. Not sure why your code doesn't work
> properly on i8086 though.

So it whould be fixed in 3.2.2.  Maybe I should install the RC and test
it.

Thanks for the note.

Guillermo "Ñuño" Martínez
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Reply via email to