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 04:25
中国DOS联盟论坛 » DOS开发编程 & 发展交流 (开发室) » [Help] Looking for DOS4GW interface documentation View 1,424 Replies 5
Original Poster Posted 2003-10-25 00:00 ·  中国 湖南 长沙 电信
初级用户
Credits 113
Posts 3
Joined 2003-10-25 00:00
22-year member
UID 11872
Gender Male
Status Offline
Hello everyone! I want to use DOS4GW to access extended memory, but I have no idea where to start, so I'd like to ask everyone for some documentation on this, so I can get it done!
Many thanks in advance
.虫虫.
I love dos,I love computer.
Floor 2 Posted 2003-10-25 00:00 ·  中国 广东 江门 电信
初级用户
Credits 120
Posts 8
Joined 2003-10-25 00:00
22-year member
UID 11896
Gender Male
From 广东
Status Offline
I want it too
kove
Floor 3 Posted 2003-10-26 00:00 ·  新加坡 星和视界(StarHub)宽带
初级用户
Credits 169
Posts 29
Joined 2003-07-09 00:00
23-year member
UID 6654
Gender Male
Status Offline
If you're using Watcom C, you probably don't need any special calls to get DOS4GW to support protected mode. You only need to specify dos4g at compile time. If you use wcl386 directly, you don't need to declare anything at all.

And DOS4GW's memory access mode is the so-called flat mode, so you can access it directly with pointers. But it seems that in the Open Watcom newsgroup nowadays, more people are using dos32a.
Floor 4 Posted 2003-10-30 00:00 ·  中国 湖南 长沙 雨花区 电信
初级用户
Credits 113
Posts 3
Joined 2003-10-25 00:00
22-year member
UID 11872
Gender Male
Status Offline
I'm not using Watcom C, I'm using TC++, is there any way?

Does anyone have Watcom C? I want a copy. Thanks!
.虫虫.
I love dos,I love computer.
Floor 5 Posted 2003-11-01 00:00 ·  新加坡 星和视界(StarHub)宽带
初级用户
Credits 169
Posts 29
Joined 2003-07-09 00:00
23-year member
UID 6654
Gender Male
Status Offline
open watcom c 1.1, just go to www.openwatcom.org and download it, it's open source.

Under TC++ you still need support from a DPMI server. But I don't know the specific details. It seems Borland includes one, so you should take a good look at the help.
Floor 6 Posted 2003-11-13 00:00 ·  中国 湖北 武汉 鹏博士宽带
中级用户
★★
Credits 286
Posts 59
Joined 2003-04-08 00:00
23-year member
UID 1437
Gender Male
Status Offline
The expert above, when I installed open watcom c/c++1.1 downloaded from www.openwatcom.org, my Rising antivirus said it found viruses. The files were pmodew.exe,pmwbind.exe,pmwlite.exe,pmwsetup.exe (4 files total). What's going on? I hope it's a false alarm.
Forum Jump: