Back to home page

DOS ain't dead

Forum index page

Log in | Register

Back to the forum
Board view  Mix view

Debugging HX applications under WD for DOS (Developers)

posted by Rugxulo(R) Homepage, Usono, 29.08.2017, 01:09

> I want to make protected mode DOS programs using HX DOS Extender in
> assembler.
> Before I write anything complicated, I'm trying to get the debugging
> environment to work (WD.EXE) and I am having problems.

Okay (although I haven't debugged a lot under WD myself).

> After much experimenting with JWASM, I gave up on it and went with plain

Why exactly? JWasm is much better.

> All of the examples in HX say to use MASM + LINK but I do not have the
> latest versions of the Microsoft tools.

You shouldn't need them. JWasm + JWlink were Japheth's preferred tools.

> Can anyone help me get the local and global variables to show up under WD
> using the below program as an example? Further down I give the exact
> command-line for WASM and WLINK that I used.
> Here were my exact options:
> ======================
> WASM -D1 -Fo=sample.obj sample.asm
> WLINK @sample.lnk

Doesn't WASM go up to -d3 ? Maybe you didn't set it high enough?

AFAIK, default debugging info is Dwarf, but there are other variants available (e.g. older "watcom" or CodeView). Some may work better (or worse) than others. Not sure if they fully work for DOS, though.

BTW, Japheth also modified (fixed) WD.EXE, so you may wish to try that variation as well:

Otherwise, dunno, try asking on news://openwatcom.contributors , they seem minimally active.


Complete thread:

Back to the forum
Board view  Mix view
15297 Postings in 1378 Threads, 254 registered users, 14 users online (0 registered, 14 guests)
DOS ain't dead | Admin contact
RSS Feed
powered by my little forum