Back to home page

DOS ain't dead

Forum index page

Log in | Register

Back to the forum
Board view  Mix view

Watcom ASM + C puzzle, variable has conflicting addresses (Developers)

posted by bencollver Homepage, 01.01.2026, 22:54

> > There are two ways to fix this: The MASM way is to ASSUME:
> >
> >     assume ds:DGROUP,es:DGROUP
>
> And as Japheth pointed out a DGROUP definition is missing:
>
>     DGROUP group _DATA

Thank you Japheth and boeckmann!

I notice that in the original source, va.asm has:

    DGROUP group _DATA

and also:

            assume  cs:_TEXT, ds:DGROUP, ss:DGROUP

None of the other asm sources had these.

I added them to vv.asm and now i get the expected offset for symbol activpg.

 

Complete thread:

Back to the forum
Board view  Mix view
23153 Postings in 2179 Threads, 404 registered users (0 online)
DOS ain't dead | Admin contact
RSS Feed
powered by my little forum