|
dk7725
初级用户
 
积分 117
发帖 6
注册 2005-4-15
状态 离线
|
『第 46 楼』:
使用 LLM 解释/回答一下
“WinSail的设计目的是用在工业上, 在电力系统应用中,本内核已完成其95%的工作, 在数控机床应用中,本内核已完成其75%的工作, 在智能仪器应用中,本内核已完成其80%的工作”请问郭兄上述应用内核包括哪 些具体内容,能否详细介绍一下!!!谢谢!!!!
"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." Then, Brother Guo, which specific contents are included in the above-mentioned application kernels? Can you introduce them in detail!!! Thank you!!!!!
|
|
2005-4-20 00:00 |
|
|
郭恒
中级用户
  
积分 225
发帖 39
注册 2004-10-6
状态 离线
|
『第 47 楼』:
使用 LLM 解释/回答一下
1:对于界面而言,支持320*200*256,640*480*16,800*600*256,1024*768*256色分辨率的VGA形式,
支持320*240*2色分辨率的SED1335控制器的LCD屏幕形式,支持各种Windows界面因素。对话框可以VC++中
拉好界面,通过本系统提供的转换程序可转换成WinSail的源代码或脚本文件,开发界面不难了。2:提供的“示波器”控件,功能强大,特别是支持“多纵坐标”,可满足大多数的动态“波形”显示需要。3:电力系统是弱电控制强电,输出元件多,如继电器、电磁阀、指示灯、电机等等,WinSail的“面象对象
的I/O控制”接口功能强大,硬件可采用“I/O卡、PLC、网卡、COM通讯口”,但软件接口一致,区别是在配
置文件的不同. 例如:
ExecuteRelay("K1, K2, ~K3, 300, SSR1, 20", pRegister, TRUE, TRUE);
表示:
合上K1, K2机械继电器,断开K3机械继电器,等待300mS, 再吸合SSR1固态继电器,等待20mS。
4:系统提供的数学仿真包,可以仿真“正弦波、方波、冲击波、三角波”等等,由这些波形的叠加可实现
大多数外部信号的实际情况,是仿真真实世界不可多得的工具。5:WinSail提供的离散信号FIR滤波功能---“低通滤波器、高通滤波器、带通滤波器、带阻滤波器”系数产
生和滤波程序,是所有“电气、电子、自动化、仪器仪表”等行业消除外界干扰的手段。如果您的产品上还
不具备这个功能,那么您的产品只是学生实验品而已。6:WinSail支持的TCP/IP协议,编程界面基本上与“Win9x”一样,如果您的产品支持网卡通讯,可想而知,
由此能给您增加多少的附加值!!!7:WinSail只是一个二次开发平台,其它的这里不想再多描述。
1: For the interface, it supports VGA forms with resolutions of 320*200*256, 640*480*16, 800*600*256 colors, and LCD screen forms with a resolution of 320*240*2 colors for the SED1335 controller, and supports various Windows interface factors. The dialog box can be drawn well in VC++, and can be converted into WinSail's source code or script files through the conversion program provided by this system. It is not difficult to develop the interface.
2: The "oscilloscope" control provided is powerful, especially supporting "multiple vertical coordinates", which can meet the display needs of most dynamic "waveforms".
3: The power system is weak current controlling strong current, and there are many output components, such as relays, solenoid valves, indicator lights, motors, etc. The "object-oriented I/O control" interface function of WinSail is powerful. The hardware can adopt "I/O cards, PLCs, network cards, COM communication ports", but the software interface is the same, and the difference is in the different configuration files. For example:
ExecuteRelay("K1, K2, ~K3, 300, SSR1, 20", pRegister, TRUE, TRUE);
means:
Close mechanical relays K1 and K2, open mechanical relay K3, wait for 300ms, then close solid-state relay SSR1, wait for 20ms.
4: The mathematical simulation package provided by the system can simulate "sine waves, square waves, shock waves, triangular waves", etc. The superposition of these waveforms can realize the actual situation of most external signals, which is a rare tool for simulating the real world.
5: The discrete signal FIR filtering function provided by WinSail - "low-pass filter, high-pass filter, band-pass filter, band-stop filter" coefficient generation and filtering program is a means for all industries such as "electrical, electronic, automation, instrumentation" to eliminate external interference. If your product does not have this function yet, then your product is just a student experiment product.
6: The TCP/IP protocol supported by WinSail has a programming interface basically the same as "Win9x". If your product supports network card communication, you can imagine how much added value it can bring to you!!!
7: WinSail is just a secondary development platform, and other things will not be described more here.
|
|
2005-4-21 00:00 |
|
|
9zhmke
中级用户
  
积分 355
发帖 99
注册 2003-1-6
状态 离线
|
『第 48 楼』:
使用 LLM 解释/回答一下
太凶了!真高兴DOS现在还有这么强的生命力,还有这么多朋友一起完善它。
So fierce! I'm really happy that DOS still has such strong vitality now, and there are still so many friends to improve it together.
|
|
2005-5-12 00:00 |
|
|
gt2000
初级用户
 
积分 139
发帖 18
注册 2003-10-27
状态 离线
|
『第 49 楼』:
使用 LLM 解释/回答一下
源代码会公开吗,很难得的软件包,可以自由使用码,版权问题有吗
Will the source code be made public? It's a very rare software package. Can it be used freely? Is there any copyright issue?
|
|
2005-7-17 04:13 |
|
|
faith22
新手上路

积分 10
发帖 4
注册 2005-7-23
状态 离线
|
『第 50 楼』:
使用 LLM 解释/回答一下
佩服 DOS下的界面开发 要钱的呀 怎么推广?
Admire the interface development under DOS. It costs money. How to promote it?
|
|
2005-7-23 20:53 |
|
|
bigboy2050
初级用户
 
积分 41
发帖 4
注册 2005-7-27
状态 离线
|
『第 51 楼』:
使用 LLM 解释/回答一下
WinSail确实很棒!多谢楼主大侠!请问这个WinSail和DJGPP有何不同?这个是用来开发16位dos程序,还是32位dos程序啊?谢谢
WinSail is really great! Thanks a lot,楼主 big shot! May I ask what's the difference between this WinSail and DJGPP? Is this used to develop 16-bit DOS programs or 32-bit DOS programs? Thanks
|
|
2005-7-27 13:29 |
|
|
firstsail
高级用户
   
积分 668
发帖 295
注册 2005-7-26 来自 广东深圳
状态 离线
|
『第 52 楼』:
使用 LLM 解释/回答一下
DJGPP:只是IDE开发工具,与BC31/BC45的关系就象是VC++与Dephi的关系。
WinSail:编程库和应用开发工具,与BC31与BC45的关系好拟DLL、OCX与VC++的关系。
目前WinSail已经发展到V2.0版本。包含以下几大类功能:
(1)仿Windows的GUI。
(2)显示模式包括VESA模式、TFT模式、LCD模式。
(3)多任务。
(4)TCP/IP协议栈,基于Packet Driver驱动,所有网络数据包在扩
展内存里,不占用常规内存。
(5)扩展内存支持“物理扩展内存”、“磁盘仿真扩展内存”、“扩充内存卡”。
(6)“文本注册表仿问”功能支持。
(7)扩展数学函数库。
(8)其它常用功能支持。
DJGPP: Just an IDE development tool, and the relationship with BC31/BC45 is like that between VC++ and Dephi.
WinSail: A programming library and application development tool, and the relationship with BC31 and BC45 is similar to the relationship between DLL, OCX and VC++.
Currently, WinSail has developed to version V2.0. It includes the following major categories of functions:
(1) Windows - like GUI.
(2) Display modes include VESA mode, TFT mode, LCD mode.
(3) Multitasking.
(4) TCP/IP protocol stack, based on Packet Driver driver, all network data packets are in extended memory, not occupying conventional memory.
(5) Extended memory supports "physical extended memory", "disk - emulated extended memory", "expanded memory card".
(6) Support for "text registry access" function.
(7) Extended mathematical function library.
(8) Support for other common functions.
|
|
2005-7-28 15:23 |
|
|
guolvguolv
新手上路

积分 5
发帖 2
注册 2005-8-1
状态 离线
|
『第 53 楼』:
不知道为什么,我编辑里面自再的sail2000的时候有问题
使用 LLM 解释/回答一下
提示error graphics.h,gdi 有问题,请问老大怎么办?
Prompt: error with graphics.h, there is a problem with gdi, may I ask boss, what should I do?
|
|
2005-8-4 09:15 |
|
|
firstsail
高级用户
   
积分 668
发帖 295
注册 2005-7-26 来自 广东深圳
状态 离线
|
『第 54 楼』:
您可能是在Visual C++下编译吧?
使用 LLM 解释/回答一下
Visual C++是不支持graphics.h的,即Visual C++只支持Windows下运行的程序。
WinSail V2.0是开发纯DOS程序的,您应该安装Borland C++3.1作为开发工具,或者安装Borland C++4.5作为开发工具。
Visual C++ does not support graphics.h, that is, Visual C++ only supports programs running under Windows.
WinSail V2.0 is for developing pure DOS programs. You should install Borland C++ 3.1 as the development tool, or install Borland C++ 4.5 as the development tool.
|
|
2005-8-4 09:44 |
|
|
johnsonlam
银牌会员
     阿林
积分 1410
发帖 497
注册 2004-6-28 来自 九龍,香港
状态 离线
|
『第 55 楼』:
使用 LLM 解释/回答一下
Originally posted by 郭恒 at 2004-11-24 12:00 AM:
我个人开发出了一个“WINSail” 软件,其完全是免费的一套软件,完整的
“库文件”、“头文件”“说明书”和“源代码”可在"www.FirstSail ...
免 費 是 那 一 種 呢 ? GNU? Public Domain?
我 找 不 到 下 載 地 方 ...
Originally posted by Guo Heng at 2004-11-24 12:00 AM:
I have developed a software called "WINSail" by myself. It is a completely free set of software. The complete "library files", "header files", "instructions", and "source code" can be found at "www.FirstSail ...
What kind of free is it? GNU? Public Domain?
I can't find the download place...
|

我 的 網 站 - http://optimizr.dyndns.org
|
|
2005-8-12 16:25 |
|
|
firstsail
高级用户
   
积分 668
发帖 295
注册 2005-7-26 来自 广东深圳
状态 离线
|
『第 56 楼』:
WinSail V2.0的下载地址
使用 LLM 解释/回答一下
网页: http://www.firstsail.b2b.cn
位置:主页左上角有“产品列表->软件产品->WinSail V2.0嵌入式系统->附件->WinSail编程库下载”
Webpage: http://www.firstsail.b2b.cn
Position: In the upper left corner of the homepage, there is "Product List -> Software Products -> WinSail V2.0 Embedded System -> Attachments -> WinSail Programming Library Download"
|
|
2005-8-15 14:15 |
|
|
firstsail
高级用户
   
积分 668
发帖 295
注册 2005-7-26 来自 广东深圳
状态 离线
|
『第 57 楼』:
如何做动态波形显示?
使用 LLM 解释/回答一下
经常需要从AD转换卡采集到的数据做动态波形显示,用以下算法
(1)假设波形显示颜色为WHITE,背景色为BLACK,窗格为DARKGRAY颜色。
(2)定义一个布尔变量BOOL bDisplay= FALSE
(3)如果bDisplay = TRUE,已保存的采样数据用WHITE颜色异或画图,并置bDisplay = FALSE
(4)从数据采样卡上采样数据
(5)将采样数据用WHITE颜色异或画图,并置bDisplay = TRUE
(6)保存采样数据
(7)重复第(3)~(6)
采用以上的算法有以下缺点。
(1)波形数据点数比作图宽度大的时候,需压缩显示。
(2)压缩后,多个点在同一位置上异或画点,导致波形不够清晰
(3)压缩后,多个点在同一位置上异或画点,导致波形的高频成份丢失。
目前采用以上的算法解决:
(1)假设波形显示颜色为WHITE,背景色为BLACK,窗格为DARKGRAY颜色。
(2)定义一个布尔变量BOOL bDisplay= FALSE
(3)如果bDisplay = TRUE,已保存的采样数据用BLACK颜色直接画图,且用DARKGRAY颜色重画窗格,并置bDisplay = FALSE
(4)采样数据
(5)将采样数据用WHITE颜色直接画图,并置bDisplay = TRUE
(6)保存采样数据
(7)重复第(3)~(6)
各位DOS爱好者,有没有更好的解决方法???
Often need to perform dynamic waveform display on the data collected from the AD conversion card, using the following algorithm:
(1) Assume that the waveform display color is WHITE, the background color is BLACK, and the pane is DARKGRAY color.
(2) Define a boolean variable BOOL bDisplay = FALSE
(3) If bDisplay = TRUE, XOR the saved sampling data with WHITE color for drawing, and set bDisplay = FALSE
(4) Sample data from the data sampling card
(5) XOR the sampling data with WHITE color for drawing, and set bDisplay = TRUE
(6) Save the sampling data
(7) Repeat steps (3) ~ (6)
The following are the disadvantages of using the above algorithm.
(1) When the number of waveform data points is larger than the drawing width, compression display is required.
(2) After compression, multiple points are XOR-drawn at the same position, resulting in the waveform not being clear enough
(3) After compression, multiple points are XOR-drawn at the same position, resulting in the loss of high-frequency components of the waveform.
Currently, the above algorithm is solved as follows:
(1) Assume that the waveform display color is WHITE, the background color is BLACK, and the pane is DARKGRAY color.
(2) Define a boolean variable BOOL bDisplay = FALSE
(3) If bDisplay = TRUE, directly draw the saved sampling data with BLACK color, and redraw the pane with DARKGRAY color, and set bDisplay = FALSE
(4) Sample data
(5) Directly draw the sampling data with WHITE color, and set bDisplay = TRUE
(6) Save the sampling data
(7) Repeat steps (3) ~ (6)
Fellow DOS enthusiasts, is there a better solution???
|
|
2005-8-15 14:40 |
|
|
johnsonlam
银牌会员
     阿林
积分 1410
发帖 497
注册 2004-6-28 来自 九龍,香港
状态 离线
|
『第 58 楼』:
使用 LLM 解释/回答一下
Originally posted by firstsail at 2005-8-15 02:15 PM:
网页:http://www.firstsail.b2b.cn
位置:主页左上角有“产品列表->软件产品->WinSail V2.0嵌入式系统->附件->WinSail编程库下载”
謝 謝 ! 下 載 了 , 真 是 厲 害 。
但 , 應 用 上 有 沒 有 限 制 呢 , 例 如 免 費 謹 限 於 個 人 使 用 , 商 用 要 不 要 付 款 買 許 可 ...
因 為 程 序 可 以 在 Windows 上 開 發 , 而 在 WinSail 執 行 , 真 的 省 時 省 力 ...
Originally posted by firstsail at 2005-8-15 02:15 PM:
Webpage: http://www.firstsail.b2b.cn
Location: On the homepage, in the upper left corner, there is "Product List -> Software Products -> WinSail V2.0 Embedded System -> Attachments -> Download WinSail Programming Library"
Thank you! I downloaded it, it's really amazing.
But, are there any restrictions on application, for example, is the free version only limited to personal use, and do you need to pay for a license for commercial use...
Because the program can be developed on Windows and run on WinSail, it's really time-saving and effort-saving...
|

我 的 網 站 - http://optimizr.dyndns.org
|
|
2005-8-17 10:23 |
|
|
firstsail
高级用户
   
积分 668
发帖 295
注册 2005-7-26 来自 广东深圳
状态 离线
|
『第 59 楼』:
WinSail显示模式的详细说明!
使用 LLM 解释/回答一下
序号 Device Mode(宏) Mode(值) 说明
1 VGA = 9 VGAHI 2 640*480*16色
2 VESA = 11 VESA800_600_16 = 0 800*600*16色(暂不支持)
VESA640_400_256 = 1 640*400*256色
VESA640_480_256 = 2 640*480*16色(暂不支持)
VESA800_600_16_2 = 3 800*600*16色(暂不支持)
VESA800_600_256 = 4 800*600*256色
VESA1024_768_16 = 5 1024*768*16色(暂不支持)
VESA1024_768_256 = 6 1024*768*256色
VESA1280_1024_16 = 7 1280*1024*16色(暂不支持)
VESA1280_1024_256 = 8 1280*1024*256色
VESA320_200_256 = 9 320*200*256色
VESA320_240_256 = 10 320*240*256色
3 SED1335VGA = 13 SED1335VGA_320_240_1 = 0 320*240*1色
SED1335VGA_640_480_1 = 1 648*480*1色(暂不支持)
SED1335VGA_800_600_1 = 2 600*800*1色(暂不支持)
SED1335VGA_1024_768_1 = 3 1024*768*1色(暂不支持)
4 TFTVGA = 14 TFTVGA_320_240_256 = 0 320*240*256色(暂不支持)
TFTVGA_640_480_256 = 1 640*480*256色
TFTVGA_800_600_256 = 2 800*600*256色
TFTVGA_1024_768_256 = 3 1024*768*256色(暂不支持)
备注
(1)其它仿真分辨率 * 256Color。须修改全局变量nAfxScreenWidth和
nAfxScreenHeight的值,只能改小,不能改大。
(2)Device的值配置在Config.Sys文件的[Display]段的"Device"键值,为整数类型!
(3)Mode的值配置在Config.Sys文件的[Display]段的"Mode"键值,为整数类型!
(4)单色仿真配置在Config.Sys文件的[Display]段的"Mono"键值,为布尔类型!
(5)使用PCM-3386嵌入式主板的用户,须将[Display]段的"Pcm3386"键值,设置为"TRUE"!
(6)使用PCM-3486嵌入式主板的用户,须将[Display]段的"Pcm3486"键值,设置为"TRUE"!
配置文件为"Config.Sys",如下所示:
[Display]
Device = 9;设备号
Mode = 2 ;模式号
Mono = True ;单色/彩色显示控制
Pcm3386 = False ;Pcm-3386嵌入式主板用户
Pcm3486 = False ;Pcm-3486嵌入式主板用户
### Serial Number Device Mode (Macro) Mode (Value) Description
1 VGA = 9 VGAHI 2 640*480*16 colors
2 VESA = 11 VESA800_600_16 = 0 800*600*16 colors (not supported for the time being)
VESA640_400_256 = 1 640*400*256 colors
VESA640_480_256 = 2 640*480*16 colors (not supported for the time being)
VESA800_600_16_2 = 3 800*600*16 colors (not supported for the time being)
VESA800_600_256 = 4 800*600*256 colors
VESA1024_768_16 = 5 1024*768*16 colors (not supported for the time being)
VESA1024_768_256 = 6 1024*768*256 colors
VESA1280_1024_16 = 7 1280*1024*16 colors (not supported for the time being)
VESA1280_1024_256 = 8 1280*1024*256 colors
VESA320_200_256 = 9 320*200*256 colors
VESA320_240_256 = 10 320*240*256 colors
3 SED1335VGA = 13 SED1335VGA_320_240_1 = 0 320*240*1 color
SED1335VGA_640_480_1 = 1 648*480*1 color (not supported for the time being)
SED1335VGA_800_600_1 = 2 600*800*1 color (not supported for the time being)
SED1335VGA_1024_768_1 = 3 1024*768*1 color (not supported for the time being)
4 TFTVGA = 14 TFTVGA_320_240_256 = 0 320*240*256 colors (not supported for the time being)
TFTVGA_640_480_256 = 1 640*480*256 colors
TFTVGA_800_600_256 = 2 800*600*256 colors
TFTVGA_1024_768_256 = 3 1024*768*256 colors (not supported for the time being)
Remarks
(1) Other simulated resolutions * 256Color. You need to modify the values of the global variables nAfxScreenWidth and nAfxScreenHeight, which can only be reduced, not increased.
(2) The value of Device is configured in the "Device" key value of the section in the Config.Sys file, which is of integer type!
(3) The value of Mode is configured in the "Mode" key value of the section in the Config.Sys file, which is of integer type!
(4) The monochrome simulation is configured in the "Mono" key value of the section in the Config.Sys file, which is of boolean type!
(5) For users using the PCM-3386 embedded motherboard, the "Pcm3386" key value in the section must be set to "TRUE"!
(6) For users using the PCM-3486 embedded motherboard, the "Pcm3486" key value in the section must be set to "TRUE"!
The configuration file is "Config.Sys", as follows:
[Display]
Device = 9; device number
Mode = 2 ; mode number
Mono = True ; monochrome/color display control
Pcm3386 = False ; PCM-3386 embedded motherboard user
Pcm3486 = False ; PCM-3486 embedded motherboard user
|
|
2005-8-23 15:46 |
|
|
maya0su
中级用户
  
积分 241
发帖 131
注册 2005-9-28
状态 离线
|
『第 60 楼』:
使用 LLM 解释/回答一下
下载不了,要“价格面议”我不打算买,所以我觉得楼主是骗子!做广告来了!
Can't download, and it says "negotiable price". I don't plan to buy, so I think the楼主 is a scammer! Just here to advertise!
|

房东说:这娃是个好孩子! |
|
2005-10-31 16:57 |
|