中国DOS联盟论坛

China DOS Union

-- Unite DOS · Advance DOS · Grow DOS --
Union site: www.cn-dos.net Forum site: www.cn-dos.net/forum
Guest | Log in | Register | Members | Search | China DOS Union
中国DOS联盟论坛
The time now is 2026-09-14 23:55
47,812 topics / 349,917 posts / today 0 new / 48,268 members
DOS开发编程 & 发展交流 (开发室) » What is SS_DOSMEM?
Printable Version  1,984 / 4
Floor1 yysn Posted 2010-09-27 12:24
初级用户 Posts 26 Credits 65
temp_ptr = (char far*)MK_FP(SS_DOSMEM, 0x10L*(long)seg);

Saw this in a program, but I searched all the include folders of the compiler and didn't find SS_DOSMEM. It's not found in the other party's program either. I don't know what this is. Does anyone know? What header file needs to be included
Floor2 yysn Posted 2010-10-14 10:27
初级用户 Posts 26 Credits 65
No one has encountered it? It's definitely not defined in the program, it should be a segment base address, but just can't find the definition.
Floor3 qzwqzw Posted 2010-10-14 22:18
银牌会员 Posts 636 Credits 2,343
Can this program pass the compilation?
If it can, then the definition must be found.
If it can't, then it's normal that it can't be found
Floor4 yysn Posted 2010-10-28 11:05
初级用户 Posts 26 Credits 65
The compiler is OPEN WATCOM
Floor5 yysn Posted 2010-10-28 11:08
初级用户 Posts 26 Credits 65
Okay, I'll post the source code address.
http://www.opensource.apple.com/source/libpcap/libpcap-18/libpcap/msdos/pktdrvr.c
It appears in the last few lines.
[ Contact the Union admin team - 中国DOS联盟 - Standard version ]
Sponsored by ifanr Inc | © 2001–2023