X-Git-Url: http://git.mutantstargoat.com/user/nuclear/?a=blobdiff_plain;f=src%2Fdos%2Fcdpmi.h;h=e8a695092f7b92392306f01df9f08d15f9b414a0;hb=f06babe97875e6023dad1843c1f0c56639967656;hp=71138b6392a61ef21791a773e7a9e6b045d114b5;hpb=01b93b41c17cc4da5e4b57adbb8373ef7fb8dc26;p=dosdemo diff --git a/src/dos/cdpmi.h b/src/dos/cdpmi.h index 71138b6..e8a6950 100644 --- a/src/dos/cdpmi.h +++ b/src/dos/cdpmi.h @@ -29,6 +29,17 @@ struct dpmi_regs { } PACKED; #pragma pack (pop) +enum { + FLAGS_CF = 0x000001, + FLAGS_PF = 0x000004, + FLAGS_ZF = 0x000040, + FLAGS_SF = 0x000080, + FLAGS_IF = 0x000020, + FLAGS_DF = 0x000040, + FLAGS_VM = 0x020000, + FLAGS_ID = 0x200000, +}; + uint16_t dpmi_alloc(unsigned int par, uint16_t *sel); void dpmi_free(uint16_t sel); void dpmi_int(int inum, struct dpmi_regs *regs);