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-08-01 19:43
中国DOS联盟论坛 » DOS开发编程 & 发展交流 (开发室) » 请问DJGPP 编译的程序是16位还是32位 请问DJGPP 编译的程序是16位还是32位 The program compiled by DJGPP, is it 16-bit or 32-bit? The program compiled by DJGPP, is it 16-bit or 32-bit? The program compiled by DJGPP, is it 16-bit or 32-bit? View 1,919 Replies 6
Original Poster Posted 2006-08-13 10:00 ·  中国 浙江 宁波 电信
初级用户
Credits 96
Posts 32
Joined 2006-04-15 16:03
20-year member
UID 53877
Status Offline
Weakly asking, I see many people say that DJGPP and wattom c are 32-bit DOS compilers in protected mode. There's one thing I don't understand. DOS is 16-bit, so how can it run 32-bit things? I'm confused...
Also, how is its memory addressing implemented under 16-bit DOS...
Can someone help explain it in detail...
Thanks...
Floor 2 Posted 2006-08-13 13:46 ·  加拿大 Bell
系统支持
★★★★★★
“新DOS时代”站长
Credits 27,736
Posts 10,521
Joined 2002-10-09 12:00
23-year member
UID 9
Status Offline
Programs compiled with DJGPP are of course 32-bit. Some people say "DOS is 16-bit", but in fact this statement is not precise. It can only be said that "the kernel of DOS is 16-bit", and through various DOS extension specifications (such as DPMI) or extenders (such as DOS4GW, CWSDPMI, etc.), DOS can easily support 32-bit mode.
Wengier - 新DOS时代

欢迎大家来到我的“新DOS时代”网站,里面有各类DOS软件和资料,地址:
http://wendos.mycool.net/

E-Mail & MSN: wengierwu AT hotmail.com (最近比较忙,有事请联系DOSroot和雨露,谢谢!)

Floor 3 Posted 2006-08-13 15:35 ·  中国 浙江 宁波 电信
初级用户
Credits 96
Posts 32
Joined 2006-04-15 16:03
20-year member
UID 53877
Status Offline
Oh, then if we install DOS now, without other tools, can't we run programs compiled by DJGPP? Does it need to be expanded to support...
Floor 4 Posted 2006-08-13 23:53 ·  加拿大 Bell
系统支持
★★★★★★
“新DOS时代”站长
Credits 27,736
Posts 10,521
Joined 2002-10-09 12:00
23-year member
UID 9
Status Offline
Originally posted by lofe811 at 2006-8-13 03:35 PM:
Oh, so if we install DOS now, without other tools, can we not run programs compiled by DJGPP? Do we need to expand to support it...


Of course not. DJGPP, like other 32-bit programs, already has its own expansion function.
Wengier - 新DOS时代

欢迎大家来到我的“新DOS时代”网站,里面有各类DOS软件和资料,地址:
http://wendos.mycool.net/

E-Mail & MSN: wengierwu AT hotmail.com (最近比较忙,有事请联系DOSroot和雨露,谢谢!)

Floor 5 Posted 2006-08-15 22:02 ·  中国 浙江 宁波 电信
初级用户
Credits 96
Posts 32
Joined 2006-04-15 16:03
20-year member
UID 53877
Status Offline
Does the webmaster have any relevant materials or sites in this regard? Both Chinese and English are acceptable
Floor 6 Posted 2006-12-25 11:10 ·  中国 北京 鹏博士宽带
初级用户
Credits 160
Posts 36
Joined 2006-12-23 12:07
19-year member
UID 74361
Gender Male
Status Offline
Floor 7 Posted 2006-12-31 05:13 ·  中国 浙江 宁波 宁海县 电信
初级用户
Credits 96
Posts 32
Joined 2006-04-15 16:03
20-year member
UID 53877
Status Offline
I didn't expect my post to be dug up again
Hehe
Forum Jump: