

Are these assembly codes the results of attempts to convert 16-bit code to 32-bit code? Those routines contain invalid 16-bit code: there are no registers called ECH or ECL, and you cannot use 32-bit registers in R/M expressions in 16-bit code. This example does not use the routines that are provided in your 16-bit assembler codes. program tsunĬALL SETTEXTPOSITION (int2(9),int2(6),XY) As Steve said, these are both old compilers. The two compilers that you listed (IFort 8.1 and Powerstation 4) had many bugs and you would do well to use a different compiler.

Here is a modified version of your Fortran code that works with CVF6.6C and IFort 17.0.4. Given all these roadblocks, you may wish to consider rewriting your example code from scratch or by using the example programs furnished with your compiler as templates. Some integer arguments to Quickwin routines may need to be surrounded by INT2(). Assembly code written for 16-bit CPUs cannot be used in recent versions of 32-bit or 64-bit Windows. You will need to port them to 32 or 64 bit Windows. With Microsoft Fortran programs were written for MSDOS, a 16-bit OS. Kindly let me know the fault in the Main Program and Subroutine and their corrections. How can I solve this problem?I tried in so many ways.but not succeeded.Please help me in this matter at the earliest.I have already developed interface to MS-DOS 5.0 Assembly Language routines to Fortran.But in that also object file not created.Because they are in MS-DOS Assembler 5.0.Only these 2 problems are pending.In assembler it is indicating no errors.but object file not created on windows 8.0 version. Object file not created due to these 2 errors. Originally,I have developed in MS-DOS Fortran 5.0 in 1983.After that I am busy with my Jobs.Now,I am a retired person.That is why I want to update that softwares in to Windows/Visual Fortran environment.I am facing trouble at the time of linking,call color, the below main routine and subroutine color routine from MSFLIB.F90 in the visual Studio Environment of Intel Visual Fortran 8.1 & Microsoft Fortran PowerStation 4.0 the color routine not working and it displays unresolved external symbols _bkcolor,_textcolor. My name is D.SundarChand from Hyderabad,Telangana,India.
