Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.
29236 Discussions

fortran w2000 in/out instructions

bleepoid
Beginner
545 Views
Have a assembler .obj program that we have written to link with MS Fortranto do IN and OUT instructions to communicate to a custom ISA board we have fabricated for our use.
This program works well with Windows 95 but when we try to run on a system with Windows 2000 a protect mode fault occurs.
Is there available a program to link with HP Fortran to do the same.
This would be like IN and OUT as used in Basic.
Conrad Cepek
Boeing SB
MC1149@Juno.com
0 Kudos
2 Replies
Steven_L_Intel1
Employee
545 Views
Your code will not work in Windows 2000/XP/NT, no matter what compiler you try to use it with. It is DOS code. You will have to go through a device driver.
0 Kudos
alfredwodell
Beginner
545 Views
See www.internals.com for software to do this.
The winio library allows you to use in and out instructions in NT/2000.
There are also routines to access ports.
Alternatively, you can alter the pif file for the program.
0 Kudos
Reply