Unsigned Long returning signed value
I don't know if any of you have used the digital mars c compiler but I am having issues with some of the functions within it. i would use something else but i need the 16-bit environment to control disk access at kernel level (INT 13H BIOS Command) The compiler when given a number larger than 2^15 is returning a signed value (16th bit is the sign value) even when it is explicitly declared as unsigned.
This isn't restricted to the 16bit mode as i have been using the 32bit large memory model in the compiler as well. But ideally i need to have this working in 16bit.