For Programmers: Free Programming Magazines  


Home > Archive > Fortran > June 2007 > Re: Compiled with MS FORTRAN 5 my Program executes in colour but not









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Re: Compiled with MS FORTRAN 5 my Program executes in colour but not
Kevin G. Rhoads

2007-06-20, 10:06 pm

>Any help or advice would be very much appreciated.

MS Fortran 5 is producing a 16 bit real mode DOS EXE and writing to
the console screen with (apparently) some escape sequences that
something (? ANSI.SYS) is interpreting to give effects. Character
set is some ASCII/USASCII/ANSI 8 bit flavor.

GFortran is producing a 32 bit protected mode Win32 Console-mode
EXE that writes to a "text" Console mode window and does not have
ANSI.SYS emulation.

You can try to find something that emulates the ANSI.SYS screen
driver for Win32 and try to use the same escape sequences.

You can find something that is native for Win32 that you can
talk to instead of ANSI.SYS.

You can have GFortran compute and write to a file, then use a trivial
MS 5 program to read the file and display to the screen.

What do you WANT to accomplish?

Sincerley
Kevin
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com