中国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-08-01 18:39
48,037 topics / 350,122 posts / today 2 new / 48,249 members
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?
Printable Version  1,916 / 6
Floor1 lofe811 Posted 2006-08-13 10:00
初级用户 Posts 32 Credits 96
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...
Floor2 Wengier Posted 2006-08-13 13:46
系统支持 Posts 10,521 Credits 27,736
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.
Floor3 lofe811 Posted 2006-08-13 15:35
初级用户 Posts 32 Credits 96
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...
Floor4 Wengier Posted 2006-08-13 23:53
系统支持 Posts 10,521 Credits 27,736
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.
Floor5 lofe811 Posted 2006-08-15 22:02
初级用户 Posts 32 Credits 96
Does the webmaster have any relevant materials or sites in this regard? Both Chinese and English are acceptable
Floor6 poor Posted 2006-12-25 11:10
初级用户 Posts 36 Credits 160
Floor7 lofe811 Posted 2006-12-31 05:13
初级用户 Posts 32 Credits 96
I didn't expect my post to be dug up again
Hehe
[ Contact the Union admin team - 中国DOS联盟 - Standard version ]
Sponsored by ifanr Inc | © 2001–2023