<div dir="ltr"><div dir="ltr"></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sat, Apr 10, 2021 at 10:14 AM Guillermo via fpc-pascal <<a href="mailto:fpc-pascal@lists.freepascal.org">fpc-pascal@lists.freepascal.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi pascaloids,<br>
<br>
I'm doing DOS development for fun and, after installing the compiler<br>
(was quite hard), I'm having problems handling interrupts.<br>
<br>
I started with keyboard and it doesn't work.  The handler declaration:<br>
<br>
  procedure DOS_KbdHandler; interrupt;<br>
<br>
but compiler says:<br>
<br>
  keybrd.inc(14,29) Warning: Calling convention directive ignored:<br>
  "OldFPCCall"<br></blockquote><div><br></div><div>This was fixed in trunk rev 39838 (<a href="https://svn.freepascal.org/cgi-bin/viewvc.cgi/trunk/compiler/pdecsub.pas?r1=39703&r2=39838">https://svn.freepascal.org/cgi-bin/viewvc.cgi/trunk/compiler/pdecsub.pas?r1=39703&r2=39838</a>), 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.<br></div></div></div>