[fpc-pascal] Interruption handling on i8086

Sven Barth pascaldragon at googlemail.com
Sun Apr 11 00:26:39 CEST 2021


Am 10.04.2021 um 12:15 schrieb Guillermo via fpc-pascal:
> El Sat, 10 Apr 2021 10:42:12 +0200
> Christo Crause <christo.crause at gmail.com> escribió:
>> 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.
> So it whould be fixed in 3.2.2.  Maybe I should install the RC and test
> it.
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.

Regards,
Sven


More information about the fpc-pascal mailing list