Unoffical empeg BBS

Quick Links: Empeg FAQ | RioCar.Org | Hijack | BigDisk Builder | jEmplode | emphatic
Repairs: Repairs

Topic Options
#216184 - 13/05/2004 19:27 Programming Question
CommOri
journeyman

Registered: 30/12/2001
Posts: 83
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.

Top
#216185 - 14/05/2004 02:23 Re: Programming Question [Re: CommOri]
Roger
carpal tunnel

Registered: 18/01/2000
Posts: 5682
Loc: London, UK
Get my hands on the correct MS compiler

I've got a copy of VC++ 1.52 around here somewhere. Lemme see if I can dig it out later today.

_________________________
-- roger

Top
#216186 - 14/05/2004 17:07 Re: Programming Question [Re: Roger]
CommOri
journeyman

Registered: 30/12/2001
Posts: 83
Oh wow, that would save my butt. I appreciate you checking.

Top
#216187 - 15/05/2004 04:08 Re: Programming Question [Re: CommOri]
Roger
carpal tunnel

Registered: 18/01/2000
Posts: 5682
Loc: London, UK
I appreciate you checking.

Well, I found where it's supposed to be, but the CD isn't there any more.

Sorry.


_________________________
-- roger

Top
#216188 - 15/05/2004 17:14 Re: Programming Question [Re: Roger]
CommOri
journeyman

Registered: 30/12/2001
Posts: 83
Hehe, isn't that always the way with old software.

Thank you VERY much for checking.

Top