[fpc-pascal]Calling intr from Windows

Rich Pasco pasco at acm.org
Wed Mar 13 22:30:22 CET 2002

Intr() and its cousin MSDOS() are not implemented under Win32.
You need to use the system calls in the DOS and Windows units

     - 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

More information about the fpc-pascal mailing list