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 Japheth Homepage, Germany (South), 04.01.2026, 05:21

> Great! While the GROUP definition it strictly neccessary, depending on the
> exact assembler and version

It's still not 100% clear why DGROUP has to be defined explicitely in this special case. Because OW WASM's -ml cmdline option should declare the large memory model, similar to Masm's ".model large" directive. And the large memory model is supposed to automatically

1) define group DGROUP and segment _DATA
2) put _DATA into DGROUP
3) add ASSUME DS:DGROUP

---
MS-DOS forever!

 

Complete thread:

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