Mail Archives: djgpp-workers/1999/02/12/13:29:25
DJ said:
> Users who need it would be using the dpmi.h or dos.h header anyway.
> machine/asm.h is for people writing .s files. I think one option that
> wouldn't be too bad is to add these lines to both dpmi.h and dos.h:
>
> #ifndef _CPU_FLAG_CARRY
> #define _CPU_FLAG_CARRY 1
> #endif
>
> We can then debate a separate file that defines all the flag bits as
> _CPU_FLAG_* but dpmi.h and dos.h wouldn't need to include it.
I'm not sure I follow you. Are you saying that _only_ those _three_
lines should be added to dpmi.h (and dos.h)?
If so, then I don't understand why we shouldn't add the whole bunch of
them (parity, zero, sign, ...).
Personally I think the asm.h (not machine/asm.h) is the right way. Why
shouldn't dpmi.h include that file?
Does Borland have these #defines? In what file?
Right,
MartinS
- Raw text -