Howdy all,
I'm trying to compile a modified piece of MS source code that came with Platform Builder 4.2. Specifically, I'm trying to compile LOADCEPC.EXE for DOS. It's a basic C program with some inline assembly.
I assumed I was going to be able to compile using VS with the MSDOS option, but the switch no longer exists for MS compilers.
I don't have a copy of a VC 1.5 or earlier compiler, but I do have Open Watcom. Problem is, there seems to be some MS extensions/assumptions in use and the code won't compile without a good chunk of porting. I'm getting a bunch of errors in the ASM portions of the code: 'operands must be the same size' and '[label-name] not declared' (for jumps to a label outside of the ASM segment), and an 'invalid octal value' (I assume this one is because the compiler doesn't recognize the 'h' for hex, maybe a compiler switch?).
The wording of the errors may be a bit off, but you'll recognize the problem if you can help. I need one of two things to happen:
1) Get my hands on the correct MS compiler. -OR-
2) Learn how to get the code to compile under Open Watcom.
Any help is appreciated.