![]() |
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-10-31 09:43 |
47,815 topics / 349,930 posts / today 0 new / 48,290 members |
| DOS开发编程 & 发展交流 (开发室) » giCell A Real GUI Window System (Source Code Shared) |
| Printable Version 16,034 / 35 |
| Floor16 taowentao | Posted 2007-07-14 02:49 |
| 高级用户 Posts 111 Credits 739 From 辽宁沈阳 | |
|
The latest source code (Attachment 1) contains TreeView and ListView; the ListView supports title bar panning and zooming, and the Scrollbar supports mouse wheel driving. It can run in full-screen mode in the DOS window of Windows.
Please download it and compile the project files in it: GUI.DSK, GUI.PRJ with Borland C/C++ 3.1. [ Last edited by taowentao on 2007-7-14 at 03:43 AM ] Attachments gui截图.JPG (72.67 KiB) |
|
| Floor17 cicnx | Posted 2007-08-03 00:35 |
| 新手上路 Posts 3 Credits 6 | |
|
I thought there were all the codes..... The key code is missing, which is equivalent to being useless.
|
|
| Floor18 defrag | Posted 2007-08-03 13:31 |
| 中级用户 Posts 570 Credits 456 | |
|
1024*768*256 With 4MB display memory, the screen only uses the first 768K. The swap memory (INT15H) can be used to achieve multitasking.
|
|
| Floor19 taowentao | Posted 2007-08-14 22:32 |
| 高级用户 Posts 111 Credits 739 From 辽宁沈阳 | |
|
Supports 12-dot matrix Chinese characters (requires file hz12.bin), can call DOS file functions (but affects real-time performance). Press the key "SHIFT + ESC" to exit rtCell and return to the DOS system.
Virtual machine demonstration (download: http://zhenlove.com.cn/cndos/fileup/files/hz_demo.rar). Pure DOS demonstration (download: http://zhenlove.com.cn/cndos/fileup/files/GUI_DOS.rar). C_lib.rar is the latest source code (http://www.cn-dos.net/forum/attachment.php?aid=3809&checkid=cd567&download=1). [ Last edited by taowentao on 2007-8-19 at 09:55 AM ] Attachments demo_zhp.JPG (64.78 KiB) C_lib.rar (258.4 KiB) |
|
| Floor20 taowentao | Posted 2007-08-23 20:57 |
| 高级用户 Posts 111 Credits 739 From 辽宁沈阳 | |
|
Change the Chinese character font to the standard 9-point Song typeface of Windows XP.
Note that DOS is not reentrant. Before calling DOS functions outside of GUI tasks, a GUI lock should be added, and after calling, it should be unlocked. Also, the task priority of the task calling DOS functions should be lower than 16 (because all DOS hardware interrupts have been taken over in a task with a priority higher than 16). However, DOS function calls are still based on the busy waiting mechanism: void _cdecl_ GUILock(void); /* Lock the GUI to protect the security of shared data */ void _cdecl_ GUIUnLock(void); /* Unlock the GUI, locks and unlocks should appear in pairs */ In addition, the vector font file: KTDOT.PS is also required in this demonstration. Please download this file from "Vector Chinese Character Display Example - happybasic" (http://www.cn-dos.net/forum/viewthread.php?tid=27441&fpage=3). [ Last edited by taowentao on 2007-8-24 at 09:09 PM ] Attachments C_lib.rar (243.62 KiB) demo_font12.JPG (67.85 KiB) |
|
| Floor21 haohaook0099 | Posted 2007-09-01 11:47 |
| 新手上路 Posts 1 Credits 2 | |
|
Source code????Kernel?????
|
|
| Floor22 taowentao | Posted 2007-09-22 13:30 |
| 高级用户 Posts 111 Credits 739 From 辽宁沈阳 | |
|
Supports 1024x768 resolution, 64k colors, DOS file reading and writing is interrupt-driven, and PC operation requires the graphics card to support VBE.
Virtual machine demonstration (download: https://gro.clinux.org/frs/download.php/2083/giCell_1024x768.rar) [ Last edited by taowentao on 2007-9-22 at 01:55 PM ] Attachments gui1024x768.JPG (148.62 KiB) |
|
| Floor23 ldljlzw | Posted 2007-09-27 11:53 |
| 初级用户 Posts 12 Credits 127 | |
|
Source code????Kernel?????
|
|
| Floor24 ldljlzw | Posted 2007-09-28 11:07 |
| 初级用户 Posts 12 Credits 127 | |
|
What open source code, it's just a few LIB files!!!
|
|
| Floor25 jxfengzi | Posted 2007-10-17 16:49 |
| 新手上路 Posts 4 Credits 8 | |
|
Is this written by lz? How long did it take to write? It's really very good, much better than what I wrote.
|
|
| Floor26 turui | Posted 2007-12-14 16:43 |
| 新手上路 Posts 5 Credits 10 | |
|
Sweat......
I think it's so beautiful after watching the demo Hurry up to download the source code to study Result...... It's a LIB, just like nothing The landlord release the code Otherwise it's not of great significance, this post will only become a viewing post |
|
| Floor27 taowentao | Posted 2007-12-14 19:53 |
| 高级用户 Posts 111 Credits 739 From 辽宁沈阳 | |
Originally posted by turui at 2007-12-14 04:43 PM: The source code is in the WIN directory, find it yourself... |
|
| Floor28 turui | Posted 2007-12-16 17:21 |
| 新手上路 Posts 5 Credits 10 | |
Originally posted by taowentao at 2007-12-14 19:53: Mainly want to learn the code of the Engine part, but this part is not visible in the Lib... If there is no this part of the code, it is impossible to understand your idea... |
|
| Floor29 turui | Posted 2007-12-17 10:48 |
| 新手上路 Posts 5 Credits 10 | |
|
The code style of the landlord is quite good, and the code is very clear. It would be even better if the Engine part of the code is released.
|
|
| Floor30 shiyouc | Posted 2008-06-27 12:04 |
| 新手上路 Posts 1 Credits 2 | |
|
Not bad, learning from you
|
|
| Prev 1 2 3 Next |
|
[ Contact the Union admin team -
中国DOS联盟 -
Standard version ] Sponsored by ifanr Inc | © 2001–2023 |