Hi!

     First try is negative. :) :( I try to compile my MEM with Watcom, but
without (full) success. There was some small things, which I correct to make
WPP happy:

- to remove warnings about truncation, I add some castings. (Strange, that
  without casting WPP gives this warning for "SYS.OS.flags & 0x18", where
  both .flags and receiving parameter are `byte'.)

- add watcom.h, where I copy definitions (from BC' dos.h) for struct fcb and
  struct xfcb; #define asm _asm; there also included conio.h, because OW
  defines inp/outp in conio.h. (Strange logic, at my taste.)

- watcom.h compiled with main source (without change for source) with help
  of /fi= option.

But there remains unrecoverable errors, because Watcom doesn't knows
register pseudo-variables (_AX, etc) and __emit__. Unforunately, there are
places, where inline asm is required. Fortunately, Watcom knows presents
inline asm. Unfortunately, rewriting register pseudo-variables into inline
asm not always is easy task. Does anyone knows, how to imitate in Watcom
register pseudo-variables and __emit__?




-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
_______________________________________________
Freedos-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freedos-devel

Reply via email to