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, 03.01.2026, 18:09

> Thanks for the suggestion. I will try JWASM.

This morning i tried JWASM. Everything worked fine except i had to change one line in vv.asm.

OLD:

        es lodsb

NEW:

    IFDEF __JWASM__
        lodsb es:0
    ELSE
        es lodsb
    ENDIF


I figured this out after reading

https://www.boeckmann.io/articles/rasmporting.html

This morning i troubleshat why writing to 0000:0450 (AKA 0040:0050) didn't change the cursor position.

Turns out it DOES change the cursor position, just not within the Watcom debugger. I guess WD.EXE uses DOS4GW and that disables some BIOS functionality. I will need to spend some time with DEBUG.COM

 

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