中国DOS联盟论坛

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 06:36
47,815 topics / 349,930 posts / today 0 new / 48,290 members
DOS开发编程 & 发展交流 (开发室) » Post a self-written assembly language imitation of a Windows dialog box
Printable Version  15,811 / 51
Floor16 本是 Posted 2006-09-04 23:55
银牌会员 Posts 790 Credits 2,227
MINIdia*.* File Description

After merging the functions of each function and optimizing the code, this was a successful production of the smallest version of the dialog box demonstration program (only the Chinese character display version) ----

Only 1187 bytes of miniDia.com (self-contained font data version)
Only 818 bytes of miniDial.com (requires font HZK12 version)

The source program *.ASM is in the compressed package.

Ben Shi on 2006.9.4

Attachments
MINIDIAL.RAR (5.57 KiB)
Floor17 kmlxk Posted 2006-09-25 03:01
初级用户 Posts 17 Credits 45
Originally posted by jizhouhao at 10:50:


Alas, I feel the same... Everywhere are ax, bx, and the whole program makes me dizzy.
Floor18 wwwlgh Posted 2006-12-11 23:15
初级用户 Posts 41 Credits 92
Can the following functions be added:
1. Here at the start, programs can be loaded, just like clicking: Windows' Start -> Programs -> Word to run Word.
2. When exiting this interface, press OK to return to DOS, and press Cancel to continue to return to the original interface.
Floor19 sky18 Posted 2006-12-22 06:43
新手上路 Posts 4 Credits 5 From hb
Awesome...
Floor20 ipc185 Posted 2006-12-26 21:42
新手上路 Posts 6 Credits 19
Floor21 LiveOnLove Posted 2006-12-28 13:55
中级用户 Posts 161 Credits 493 From ZHCN
LZ and Ben are brothers, really too strong. HOHO
Floor22 nyuser Posted 2007-01-25 01:09
新手上路 Posts 2 Credits 4
Really powerful...
Floor23 Jneny Posted 2007-01-25 01:41
高级用户 Posts 318 Credits 686
Oh, expert! Little brother has always wanted to learn assembly language, but just can't get started, so depressed.
Floor24 本是 Posted 2007-01-25 02:44
银牌会员 Posts 790 Credits 2,227
Reading Wang Shuang's "Assembly Language" can really lead to an "enlightenment" entry! (Unfortunately, back in my own day, there was no such book written like that!)
Then, while doing experiments, also refer to an assembly instruction book. --- You need to disassemble short.COM files frequently.
You must learn through actual combat! ! !
Otherwise, you will never be able to do actual combat! ! ! ! ! !
I have never learned about computers from a teacher in class!
Pure self-study (facing the screen) --- from English DOS to Chinese DOS to systems, software, hardware, programming, etc.
Floor25 Jneny Posted 2007-01-31 09:07
高级用户 Posts 318 Credits 686
Strong, I don't know when I will be able to learn it. I really want to find a teacher.
Floor26 osfree Posted 2007-02-01 04:27
初级用户 Posts 34 Credits 72 From 中国大陆
Not bad, support.

12*12, 14*14, 16*16 Chinese character fonts can be considered for external use, which can save memory, but at the cost of speed.

In the PowsdeRTOS system: GUI, I also encountered memory and speed issues before, heh heh.
Floor27 osfree Posted 2007-02-01 04:33
初级用户 Posts 34 Credits 72 From 中国大陆
Quote from post 18

Originally posted by wwwlgh at 2006-12-11 23:15:
Can the following functions be added:
1. In the Start area, programs can be loaded, just like clicking: Windows Start -> Programs -> Word to run Word.
2. When exiting this interface, press OK to return to DOS...



In the GUI of the PowsdeRTOS system, it is as you said: Start -> Programs -> Applications...


In fact, this is exactly the reason for "first impression bias", which has caused the existing usage habits of everyone. Like the "Start" in the APPLE system, it is another feeling, hehe.

[ Last edited by osfree on 2007-2-1 at 04:45 AM ]
Floor28 本是 Posted 2007-02-01 12:44
银牌会员 Posts 790 Credits 2,227
Originally posted by osfree at 2007-2-1 04:27:
Not bad, support.

For 12*12, 14*14, 16*16 Chinese character fonts, consider external hanging, which can save memory but sacrifice speed.

In the PowsdeRTOS system: GUI, I also encountered memory and speed issues before...


In the history of the development of DOS Chinese character systems, the font processing solution can be for reference. If you can know the text range of the content that is often displayed, you can consider putting the frequently used character glyphs in the high-speed cache, and the other character glyphs in the hard disk, so that a better speed can also be achieved.
Floor29 hxm02 Posted 2008-09-17 09:55
新手上路 Posts 1 Credits 2
Good
Floor30 netwinxp Posted 2008-09-18 16:57
高级用户 Posts 366 Credits 741
Under DOS, if you rely entirely on calling the drawing of points, the speed will be very slow. A more compromise method is to rigidly stipulate that the start and end positions of the rectangular box must be multiples of 8 (this is also equivalent to the coordinates in text mode, which is beneficial for localizing the original English software without the support of a Chinese character system, and at the same time, there will be no need to shield the written points). Since it is 16-color, the color can be split into 4 planes and written 4 times. When writing to the video memory, try to use 32-bit transmission as much as possible. Special processing is done for points that are not enough to make up 4 bytes. In this way, the overall display speed will be greatly improved.

[ Last edited by netwinxp on 2008-9-18 at 04:59 PM ]
Prev  1 2 3 4  Next
[ Contact the Union admin team - 中国DOS联盟 - Standard version ]
Sponsored by ifanr Inc | © 2001–2023