I can't believe I'm having problems with this, something I used to do hundreds of times.
Just trying to create a test program that'll run under DOS (using vDOS). Trying to create an .exe (I guess my next move would be to try for a .com program). I have stack and code segments, no data seg. (don't need one). I'm not even referencing the segments at all, just using
PUSH CS/POP DS to access my data in the code seg., so I'm not sure why it's complaining about fixups. Assembles no problem, but I'm getting link errors:
fatal error LNK1190: invalid fixup found, type 0x0001Something to do with segments, no doubt.
I'm using link.exe version 5.12.8078. Pretty sure the linker I used to use years ago was much older than that. Is this linker even capable of making an old-style DOS-compatible program?
Not sure about the following:
- SUBSYSTEM type? Should it be console? native? something else?
- Object format: COFF?
I've tried various combinations, nothing works. When I left off the
/coff option from ml.exe (assembler), I got a warning:
warning LNK4033: converting object format from OMF to COFFNot sure what "OMF" is.
Code is quite long, so not ready to post it just yet, but will do if needed.