Fortran programs compiled with the Lahey Essential Fortran 90 compiler, which uses Phar Lap's 386 DOS extender v 7.0, will result in program termination with a page fault error (see screenshot).
To Reproduce:
Install Lahey Essential Fortran 90 compiler.
Compile the included demo program: ELF90 demo.f90
Run demo.exe
The exact same executable/runtime work fine in DosBox-X, 86Box and VirtualBox.
Tested with various 386, 486 and Pentium configurations with MS-DOS 6.22 and Windows 95, all resulting in the same page fault error. PCem is compiled from Git dev 10 Nov, host is Linux Mint LMDE 6 on a i7-4790.
If desired, I can send the demo.exe and runtime files for testing, e.g. on a bootable disk image.
Fortran programs compiled with the Lahey Essential Fortran 90 compiler, which uses Phar Lap's 386 DOS extender v 7.0, will result in program termination with a page fault error (see screenshot).
To Reproduce:
The exact same executable/runtime work fine in DosBox-X, 86Box and VirtualBox.
Tested with various 386, 486 and Pentium configurations with MS-DOS 6.22 and Windows 95, all resulting in the same page fault error. PCem is compiled from Git dev 10 Nov, host is Linux Mint LMDE 6 on a i7-4790.
If desired, I can send the demo.exe and runtime files for testing, e.g. on a bootable disk image.