Hey all!
I have decided to add multiplayer into my FPS game that I am programming for MS-DOS. I wanted to add in a multiplayer feature into the game to add some replayability, but however, I have yet to figure out how to do networking with the Watcom compiler. I have tried converting some Borland C and MSC code from various books that I have read to Watcom, but I have not gotten much success, unfortunately, as the initialization function doesn't even work, and I can not really find out what is going wrong.
Specifically, I was having an issue with inline assembly:
_asm sti
and
_asm cli
apparently do not want to work with Watcom, and I can not figure out for the life of me what the issue could be, so I just commented them out and the program compiled, but it did not work. I am not sure whether this could have caused connectivity issues with the program, but I took them out, or else the program would not compile, which is confusing me even more. Other than that, I did not change any other part of the code.
So, I am going to try and find a (preferably freeware) networking library to help me out. I know several ones for Borland like IBMCOM, but I can not even find it on Google anymore, and even if I could, I am not sure if there would be a Watcom-compatible version.