[fpc-pascal]Calling intr from Windows
Aitor Santamaria Merino
aitor.sm at wanadoo.es
Thu Mar 14 00:15:39 CET 2002
WHAT????
Is this true??
Well, I suppose I can always use assembler to do this, can't I? Yes,
this may not be portable to WinNT, but for my purposes, I don't care.
Aitor
Rich Pasco wrote:
> Intr() and its cousin MSDOS() are not implemented under Win32.
> You need to use the system calls in the DOS and Windows units
> instead.
>
> - Rich
>
>
> Fernando Lozano wrote:
>
>
>>Hi there,
>>
>>Running a simple program created for Turbo Pascal which uses some DOS
>>system calls (int 21h) I get from wrong results (invalid system date) to
>>a complete system crash. I am not calling functions that need a memmory
>>buffer, just functions where all arguments and return values come from
>>8086 registers. Is this suposed to work?
>>
>>I am using an old snapshot (about august 2001) of 1.0.5 under Windows
>>95.
>>
>>[]s, Fernando Lozano
>>
>
> _______________________________________________
> fpc-pascal maillist - fpc-pascal at lists.freepascal.org
> http://lists.freepascal.org/mailman/listinfo/fpc-pascal
>
>
>
More information about the fpc-pascal
mailing list