[comp.sys.ibm.pc] questions about MSC 5.0

mbate@inmet.UUCP (11/14/87)

    Sorry, but I have the MSC 5.0 user's guide in front of me and see no
    reference to generating code for the 80386.  It will generate code
    for the 80286, however.  MASM 5.0 can generate code for 80386.

					       Michael Bate

roth@mrsvr.UUCP (Dean Roth) (11/17/87)

If the 80386 is running in 8086 mode, as nearly all are,
and running DOS, then MS C 5.0 will generate code that will
run on an 80386 machine. However, if one wants to run the
80386 in protected mode (OS/2), then one needs the OS/2 C
compiler (or the Xenix C compiler if running Xenix, etc.)

The MS's DOS 5.0 C compiler will only generate code for 
8088/86/286/386 machines running in 8086 mode under MS/PC DOS.

mac@idacrd.UUCP (Bob McGwier) (11/18/87)

in article <234@mrsvr.UUCP>, roth@mrsvr.UUCP (Dean Roth) says:
> Summary: Different compiler for 80386
> 
> 
> If the 80386 is running in 8086 mode, as nearly all are,
> and running DOS, then MS C 5.0 will generate code that will
> run on an 80386 machine. However, if one wants to run the
> 80386 in protected mode (OS/2), then one needs the OS/2 C
> compiler (or the Xenix C compiler if running Xenix, etc.)
>

while we are on the limitations of the MSC 5.0 compiler, I am having
trouble with the graphics libraries.  I have  a PC-AT clone (PC's
Limited) , ATI EGA wonder board running in the enhanced mode (EGA,
etc.).  When I do

_setvideomode(_ERESCOLOR)

I get nada as they say in Spanish.  When I do it with

in.h.ah=0;
in.h.al=16;
int86(16,&in,&out);
where in and out are the register unions

it works.  I can't get _floodfill or _lineto to work in EGA modes.
PLEASE tell me someone that the jerks didn't limit these functions to
CGA and lesser modes.  (Yes I have done _setfillmask and _setcolor).

HELP!!

Bob