![]() |
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-09-14 23:11 |
47,812 topics / 349,917 posts / today 0 new / 48,268 members |
| DOS开发编程 & 发展交流 (开发室) » The Terminator of DOS Interface Development |
| Printable Version 98,379 / 290 |
| Floor1 郭恒 | Posted 2004-11-24 00:00 |
| 中级用户 Posts 39 Credits 225 | |
|
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. |
|
| Floor2 cn_archer | Posted 2004-11-24 00:00 |
| 元老会员 Posts 991 Credits 2,903 From 福建省 | |
|
Wow! PFPF! Can this GUI be made into a complete DOS Shell?
|
|
| Floor3 郭恒 | Posted 2004-11-25 00:00 |
| 中级用户 Posts 39 Credits 225 | |
|
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.
|
|
| Floor4 autoit | Posted 2004-11-25 00:00 |
| 系统支持 Posts 339 Credits 904 From 厦门 | |
|
Really so? Down and have a look...
|
|
| Floor5 郭恒 | Posted 2004-11-25 00:00 |
| 中级用户 Posts 39 Credits 225 | |
|
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". |
|
| Floor6 boblhh9999 | Posted 2004-11-25 00:00 |
| 中级用户 Posts 74 Credits 316 | |
|
Is it really that powerful?
|
|
| Floor7 jaywang | Posted 2004-11-25 00:00 |
| 初级用户 Posts 5 Credits 117 | |
|
Got a look, not bad. Great. Learning from you.
|
|
| Floor8 郭恒 | Posted 2004-11-27 00:00 |
| 中级用户 Posts 39 Credits 225 | |
|
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.
|
|
| Floor9 unknow | Posted 2004-12-07 00:00 |
| 初级用户 Posts 4 Credits 109 | |
|
Is it really that good? I'll download one and have a look
|
|
| Floor10 zykdos | Posted 2004-12-07 00:00 |
| 初级用户 Posts 31 Credits 183 | |
|
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.
|
|
| Floor11 郭恒 | Posted 2004-12-11 00:00 |
| 中级用户 Posts 39 Credits 225 | |
|
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"
|
|
| Floor12 cdl | Posted 2004-12-12 00:00 |
| 中级用户 Posts 107 Credits 340 | |
|
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.
|
|
| Floor13 jiaking | Posted 2004-12-18 00:00 |
| 中级用户 Posts 52 Credits 223 | |
|
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.
|
|
| Floor14 jiaking | Posted 2004-12-18 00:00 |
| 中级用户 Posts 52 Credits 223 | |
|
I saw it, it's really very good!! By the way, what's the login password for that SAIL2000.EXE? I want to learn.
|
|
| Floor15 郭恒 | Posted 2004-12-18 00:00 |
| 中级用户 Posts 39 Credits 225 | |
|
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 4 … 20 Next |
|
[ Contact the Union admin team -
中国DOS联盟 -
Standard version ] Sponsored by ifanr Inc | © 2001–2023 |