[fpc-pascal] Interruption handling on i8086
Christo Crause
christo.crause at gmail.com
Sat Apr 10 10:42:12 CEST 2021
On Sat, Apr 10, 2021 at 10:14 AM Guillermo via fpc-pascal <
fpc-pascal at 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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-pascal/attachments/20210410/ee5dc663/attachment.htm>
More information about the fpc-pascal
mailing list