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-06-21 11:32
中国DOS联盟论坛 » DOS开发编程 & 发展交流 (开发室) » The Terminator of DOS Interface Development View 94,126 Replies 290
Original Poster Posted 2004-11-24 00:00 ·  中国 广东 深圳 宝安区 电信
中级用户
Credits 225
Posts 39
Joined 2004-10-06 00:00
21-year member
UID 32162
Gender Male
Status Offline
I have personally developed a software called "WINSail", which is a completely free set of software. The complete "library files", "header files", "instructions", and "source code" can be downloaded from "www.FirstSail.B2B.Cn". It is a software development package developed under the Large model using Borland C++ 3.1 language based on the DOS system. Although the complete software package is about 450K, the programs generated under DOS can have the exactly same interface as WIN9x, with interface elements such as Group, Label, Edit, ComboBox, Button, Radio, Check, ListBox, Grid, ScrollBar, Desktop, ToolsBar, StatusBar, Menu, PopuMenu, Window, Dialog, ICON, Bitmap, oscilloscope, etc. It supports the mouse, and the operation of controls is 99.9% compatible with Windows! It can load and run script dialog boxes; supports Socket socket programming; the smallest application with a complete window graphic interface is about 150K and can run in an electronic disk with only 1M; has a delay function with an accuracy of 0.5 microseconds. It can be said that DOS + WinSail >= Windows CE.

The "WinSail Industrial Control Development System" currently supports:
(1) The API of "WinSail" coexists with the "C++ For DOS" function library, especially coexists with the graphic function BGI of the C language.
(2) Supports multi-tasking with priorities, and can reach up to 50 tasks. (Note: The configuration script file can be used to not require multi-tasking support, so that the program runs in a single task.)
(3) Supports databases, and the generated files are compatible with Foxpro 2.6 libraries and can be directly opened in Microsoft Office's Excel.
(4) Uses 16*16 simplified and traditional Chinese character fonts, 8*16 English character fonts, and supports TrueType character fonts.
(5) The "dialog box" can be pre-made in Visual C++, and then through the conversion software, the Windows dialog box interface can be converted into the interface code source file or script file of the "WinSail" system, making full use of the superiority of Visual, so that the interface development of application programs on the DOS platform "is no longer difficult"!!!!!
(6) Supports multiple resolutions such as 600*480*16, 600*400*256, 800*600*256, 1024*768*256.
(7) Supports interface elements such as Group, Label, Edit, ComboBox, Button, Radio, Check, ListBox, Grid, ScrollBar, Desktop, ToolsBar, StatusBar, Menu, PopuMenu, Window, Dialog, ICON, Bitmap, MessageBox, oscilloscope, multi-ordinate oscilloscope, etc.
(8) Supports memory access to extended memory - XMS and expanded memory EMS.
(9) Supports reading and writing of text registry - INI files, and when writing key values, it can ensure that the "comment content" behind the key values still exists.
(10) Supports object-oriented I/O access and shields the underlying I/O ports.
(11) Has a COMM port communication interface and supports multiple parity bits, including "no parity bit", "odd parity bit", "even parity bit", "parity bit always 1", "parity bit always 0". The latter two parity methods are mostly used in multi-machine communication to distinguish "address" and "data".
(12) Supports barcode display. Including EAN_8, UPC_A, UPC_E, EAN_13 (product code), ISBN, ISSN, 39, 128, Codabar, cross 25 code.
(13) The window supports multiple callback functions such as "virtual keyboard defined by I/O port", "window timer", "call a function when idle", "call a function when the window is refreshed", etc.
(14) Multiple common mathematical operations, including the generation of coefficients of "low-pass", "high-pass", "band-pass", "band-stop" filters (rectangular window, triangular window, Hanning window, Hamming window, Blackman window, Sin(x)/x window, cosine window, Kaiser window can be added), filtering, interpolation, fitting, calculus, correlation analysis, FFT, DFT, etc.
(15) Statistical process SPC and histogram, measurement reliability and repeatability GageR&R report.
(16) Supports display of "Bitmap", "ICON" image files and playback of "Wav" sound files.
(17) Supports "ordinary oscilloscope" and "multi-ordinate oscilloscope".
(18) Supports Socket socket programming.
Recent Ratings for This Post ( 6 in total) Click for details
RaterScoreTime
redtek +2 2006-11-07 21:17
pengfei +5 2006-11-15 22:28
henrya2 +4 2007-04-30 23:30
AlexZhang +4 2007-08-06 09:41
fqljwdyq +1 2007-12-12 19:00
153146156 +1 2008-06-01 02:12
Floor 2 Posted 2004-11-24 00:00 ·  中国 福建 福州 电信
元老会员
★★★
农民
Credits 2,903
Posts 991
Joined 2003-07-23 00:00
22-year member
UID 7391
Gender Male
From 福建省
Status Offline
Wow! PFPF! Can this GUI be made into a complete DOS Shell?
艰难奋长戟,万古用一夫

中国DOS联盟 http://www.cn-dos.net 欢迎大家来共同学习
我的MSN&E-Mail cn_archer@hotmail.com QQ 56049418
Floor 3 Posted 2004-11-25 00:00 ·  中国 广东 深圳 宝安区 电信
中级用户
Credits 225
Posts 39
Joined 2004-10-06 00:00
21-year member
UID 32162
Gender Male
Status Offline
Yes! With it, you can make a desktop system similar to WIN95. After downloading WinSail.Zip from the web page www.FirstSail.B2B.Cn, there is a project "Sail3000" directory inside. Run the executable file "Sail2000.Exe" or the batch file "A.Bat" to see it. It can run in (1) pure "DOS" system (supports all private resolutions) (2) "DOS" inside Win9X system (supports all private resolutions) (3) Windows2000 Professional (supports only private 640*480*16 colors). The "resolution" is changed in "Display Properties" in "Accessories". There is complete source code in the project. The project file is "Sail2000.Prj" and the development environment is Bc31.
Floor 4 Posted 2004-11-25 00:00 ·  中国 福建 厦门 电信
系统支持
★★★
Credits 904
Posts 339
Joined 2002-10-10 00:00
23-year member
UID 1904
From 厦门
Status Offline
Really so? Down and have a look...
Floor 5 Posted 2004-11-25 00:00 ·  中国 广东 深圳 宝安区 电信
中级用户
Credits 225
Posts 39
Joined 2004-10-06 00:00
21-year member
UID 32162
Gender Male
Status Offline
MakeDlg is a WINDOWS program. Its function is to convert the dialog box of a VC++ project into a dialog box of the "WInSail" development platform under DOS. It can generate 5 forms:
(1) The function form of int main3(int argc, char** argv)
(2) The function form of int main3(int argc, char** argv)
(3) The function form of void far VccFuncton(CObject *)
(3) The function form of void far VccFuncton()
(5) The first 4 forms of the script file are the source code of the CPP file. They need to be compiled in BC31 before they can be used. The 5th form is a script file, which can be loaded and run using the kernel's AfxLoadDialog(char* pFileName) function. It can also be run in the "Sail2000.Exe" in the sample project "Sail3000" directory of "WinSail.Zip". The "password" is empty. There is a "Load Dialog Script" menu item in the "Accessories" menu, which is used to load and run it. With this tool, you can develop a lot of very beautiful "dialog boxes".
Floor 6 Posted 2004-11-25 00:00 ·  中国 辽宁 丹东 联通
中级用户
★★
Credits 316
Posts 74
Joined 2004-03-04 00:00
22-year member
UID 19167
Gender Male
Status Offline
Is it really that powerful?
Floor 7 Posted 2004-11-25 00:00 ·  中国 广东 东莞 电信
初级用户
Credits 117
Posts 5
Joined 2004-07-10 00:00
21-year member
UID 28126
Gender Male
Status Offline
Got a look, not bad. Great. Learning from you.
Floor 8 Posted 2004-11-27 00:00 ·  中国 广东 深圳 宝安区 电信
中级用户
Credits 225
Posts 39
Joined 2004-10-06 00:00
21-year member
UID 32162
Gender Male
Status Offline
WinSail kernel runs in "real mode". Currently, it has enhanced support for "multitasking". When the kernel starts, it will "hook" the clock interrupt - INT8 and modify the initial count value of timer 0 to 2048. The system will schedule a task every 55/32 = 1.72mS. When scheduling a task, if the current task is in "DOS busy", the system will not switch tasks. Therefore, when programming multitasking, functions that do not use INT21 interrupt should be called as much as possible. If running under WINDOWS, the MultiMask key value in the section of the Config.Sys script file should be set to "False" so as not to modify INT8 and without multitasking support. For details, please refer to the manual. You can download "WinSail" from Http://WWW.FirstSail.b2b.CN.
Floor 9 Posted 2004-12-07 00:00 ·  中国 北京 顺义区 联通
初级用户
Credits 109
Posts 4
Joined 2004-09-14 00:00
21-year member
UID 31403
Gender Male
Status Offline
Is it really that good? I'll download one and have a look
Floor 10 Posted 2004-12-07 00:00 ·  中国 广东 深圳 福田区 电信
初级用户
Credits 183
Posts 31
Joined 2003-08-01 00:00
22-year member
UID 7862
Gender Male
Status Offline
Please provide the specific MSN contact information you want to get. If you just want a general request for an MSN contact, it can be translated as: Please give an MSN contact.
Floor 11 Posted 2004-12-11 00:00 ·  中国 广东 深圳 宝安区 电信
中级用户
Credits 225
Posts 39
Joined 2004-10-06 00:00
21-year member
UID 32162
Gender Male
Status Offline
The WinSail kernel currently fully supports the "TCP/IP" protocol and supports SOCKET socket programming. Since WinSail runs in the DOS "real mode", when designing the "TCP/IP" protocol, all "received data packets" and "sent data packets" are placed by the kernel in the "expanded memory XMS", not occupying the space of "conventional memory", so the entire protocol code does not occupy much "space". When designing the "protocol", all "data structures" and "socket" function interfaces try to be compatible with Microsoft's "WINDOWS" documentation. The original design of "WinSail" is that people who know "WINDOWS" programming can program in DOS without any difficulty!!! Download "WinSail" from Http://WWW.FirstSail.b2b.CN. (Currently, the TCP/IP protocol is being tested. As of December 11, 2004, the WinSail containing the TCP/IP protocol cannot be downloaded yet. Currently, the protocol has been tested, but the SOCKET socket is still being tested... It is guaranteed that the "WinSail" including the TCP/IP protocol can be downloaded after December 20, 2004.) For what the "above-mentioned person" said about MSN, after decompressing the downloaded WinSail, there is a relatively simple manual inside. Due to time constraints, the detailed manual is being continue... If you have any questions, you can send an email to "szhello8@21cn.net" or "wave@public.guangzhou.gd.cn"
Floor 12 Posted 2004-12-12 00:00 ·  中国 广东 珠海 联通
中级用户
★★
bbpc
Credits 340
Posts 107
Joined 2004-04-11 00:00
22-year member
UID 22257
Gender Male
Status Offline
That's good, great!!! Is it really running in real mode? Our company's website is www.baby-pc.com. Let's see if it can be ported to our product. Now many users need such a GUI. Cooperation is possible if feasible.
x86!dos!
爱你就象老鼠爱大米
http://www.baby-pc.com/
Floor 13 Posted 2004-12-18 00:00 ·  中国 广东 深圳 罗湖区 电信
中级用户
★★
Credits 223
Posts 52
Joined 2004-03-07 00:00
22-year member
UID 19481
Gender Male
Status Offline
That's pretty good! The technical documentation is very detailed. Is it free for a long time? I really like the interface development and TCP/IP support in it. I'll study it.
Floor 14 Posted 2004-12-18 00:00 ·  中国 广东 深圳 罗湖区 电信
中级用户
★★
Credits 223
Posts 52
Joined 2004-03-07 00:00
22-year member
UID 19481
Gender Male
Status Offline
I saw it, it's really very good!! By the way, what's the login password for that SAIL2000.EXE? I want to learn.
Floor 15 Posted 2004-12-18 00:00 ·  中国 广东 深圳 宝安区 电信
中级用户
Credits 225
Posts 39
Joined 2004-10-06 00:00
21-year member
UID 32162
Gender Male
Status Offline
Regarding the Sail3000 sample project---------The username is: super (lowercase), and the password is: empty.

Uploaded on the morning of December 18, 2004, "the latest version of WinSail". The minimum graphic application is "171K", and the complete graphic application is "220K". The "complete graphic application" has more code than the "minimum graphic application", including "oscilloscope CGraph", "multivariate oscilloscope CTorqueGraph", "desktop class CDesktop", "dialog box file loading CDialog::LoadDailog()", "login box", "permission modification", "device manager", "multitask manager". In about a week, the kernel containing the TCP/IP protocol and supporting SOCKET socket programming will be uploaded. At that time, the "minimum graphic application" will increase by about 30-50K of code.

Note: "The TCP/IP protocol of the kernel is based on the Packet Driver network card driver"

============================================================================The design purpose of WinSail is for industrial use. In the application of the power system, this kernel has completed 95% of its work. In the application of CNC machine tools, this kernel has completed 75% of its work. In the application of smart instruments, this kernel has completed 80% of its work.
1 2 3 20 Next ›
Forum Jump: