China DOS Union

-- Unite DOS · Advance DOS · Grow DOS --

Union site: www.cn-dos.net Forum site: www.cn-dos.net/forum
DOS stands for freedom, openness and progress. Let us work hard, learn from the openness and GNU spirit of FreeDOS and Linux, and together build and grow a free GNU GPL world!

中国DOS联盟论坛
The time now is 2026-07-31 20:46
中国DOS联盟论坛 » DOS开发编程 & 发展交流 (开发室) » What is SS_DOSMEM? View 1,897 Replies 4
Original Poster Posted 2010-09-27 12:24 ·  中国 安徽 合肥 电信
初级用户
Credits 65
Posts 26
Joined 2010-07-29 17:15
16-year member
UID 171437
Gender Male
Status Offline
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
Floor 2 Posted 2010-10-14 10:27 ·  中国 江苏 南京 秦淮区 电信
初级用户
Credits 65
Posts 26
Joined 2010-07-29 17:15
16-year member
UID 171437
Gender Male
Status Offline
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.
Floor 3 Posted 2010-10-14 22:18 ·  中国 山西 运城 电信
银牌会员
★★★
天的白色影子
Credits 2,343
Posts 636
Joined 2004-03-06 00:00
22-year member
UID 19350
Gender Male
Status Offline
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
Floor 4 Posted 2010-10-28 11:05 ·  中国 上海 联通
初级用户
Credits 65
Posts 26
Joined 2010-07-29 17:15
16-year member
UID 171437
Gender Male
Status Offline
The compiler is OPEN WATCOM
Floor 5 Posted 2010-10-28 11:08 ·  中国 上海 联通
初级用户
Credits 65
Posts 26
Joined 2010-07-29 17:15
16-year member
UID 171437
Gender Male
Status Offline
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.
Forum Jump: