- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
Link Copied
2 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.

Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page