Baron-von-Riedesel / JWasm

Masm compatible assembler
107 stars 24 forks source link

JWASMD refuses to overwrite existing file #17

Closed boeckmann closed 5 months ago

boeckmann commented 1 year ago

At least under DosBox JWASMD refuses to overwrite an existing .OBJ file. JWASMR and the original WASM have no problems with it. Is that perhaps some incompatibility between the DOS extender and DosBox? command_001

Baron-von-Riedesel commented 1 year ago

Is that perhaps some incompatibility between the DOS extender and DosBox?

Miost likely. jwasm.exe uses LFN if available, and this requires that DOS returns the correct error code and carry flag if it's not supported.

boeckmann commented 1 year ago

Worked around it by building a 32-bit DOS4G/W version of 2.17 by misusing a slightly modified OWOS2.mak makefile. Was able to build it under Open Watcom 1.9 DOS. I do not know if this build is LFN enabled, but I do not need it anyway. The DOS4G/W executable also fixes my EGA problem.

Baron-von-Riedesel commented 5 months ago

JWasmD v2.18 uses the "standard" OW 2.0 DOS extended modules - so this issue should be fixed now.