中国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 15:57
47,815 topics / 349,930 posts / today 0 new / 48,290 members
DOS开发编程 & 发展交流 (开发室) » Requesting a DOS programming expert to develop a program!
Printable Version  1,139 / 9
Floor1 youjiang Posted 2004-02-16 00:00
初级用户 Posts 20 Credits 123
I want to develop a program so that this EXE can make DOS unable to display 256-color pictures (including 265-color graphics inside DOS program EXEs) under DOS!

Is there any expert on the forum who can do this! Thanks
Floor2 youjiang Posted 2004-02-16 00:00
初级用户 Posts 20 Credits 123
What should be done to prevent pictures from being displayed under pure DOS?

I tried in AUTOEXEC。BAT

methods like @echo off, ctty nul, and mode 40 to change the display mode,

but it still doesn't work, under DOS it can still normally display some pictures such as PCX and others!
Floor3 Kinglion Posted 2004-02-16 00:00
铂金会员 Posts 1,924 Credits 5,800 From 金獅電腦軟體工作室
This is the first time I've heard the OP's request, quite fresh! I'll go back and experiment, then talk about it!
Floor4 youjiang Posted 2004-02-17 00:00
初级用户 Posts 20 Credits 123
I heard some assembly experts say that using code to make DOS support only character-mode display can achieve the goal!
Floor5 Kinglion Posted 2004-02-19 00:00
铂金会员 Posts 1,924 Credits 5,800 From 金獅電腦軟體工作室
The following is quoted from youjiang at 2004-2-17 14:51:02:
I heard some assembly experts say that using code to make DOS support only character-mode display can achieve the goal!


This method seems not to work, a lot of software can automatically switch the screen display mode.
Floor6 youjiang Posted 2004-02-19 00:00
初级用户 Posts 20 Credits 123
The following is quoted from Kinglion at 2004-2-19 4:32:47:
The following is quoted from youjiang at 2004-2-17 14:51:02:
I heard some assembly experts say that using code to make DOS support only character-mode display can achieve the goal!


This method seems not to work, a lot of software can automatically switch the screen display mode.

This method can work, because you can make it stay resident in memory, then other software won't be able to switch automatically anymore, hehe
A net friend of mine, named 罗云彬, has already helped me make it happen. I'll post the source code for everyone right away,
so everyone can learn from it!
Floor7 youjiang Posted 2004-02-19 00:00
初级用户 Posts 20 Credits 123
Floor8 youjiang Posted 2004-02-19 00:00
初级用户 Posts 20 Credits 123
The code above really works. Everyone can compile it and try it, then you'll understand.
Run that compiled EXE, hehe, and after that under DOS no graphics at all can be displayed anymore.

But unless you reinstall the system, only then will you be able to normally display graphics under DOS again!

Teacher Luo really is an expert, admirable. I asked a lot of experts about this program, and nobody could help me,
but Teacher Luo managed to do it with just a little bit of code, amazing!
Floor9 medalas Posted 2004-02-19 00:00
初级用户 Posts 21 Credits 189
Under DOS, how can I make my self-written 1.exe automatically run after receiving the character 1 sent from the serial port?
And if there are also 2.exe and 3.exe? If I use TC to write the serial port program, that's another EXE file too, right???
Floor10 pfox Posted 2004-02-20 00:00
银牌会员 Posts 446 Credits 1,451
The following is quoted from youjiang at 2004-2-19 12:15:30:
This method can work, because you can make it stay resident in memory, then other software won't be able to switch automatically anymore, hehe
A net friend of mine, named 罗云彬, has already helped me make it happen. I'll post the source code for everyone right away,
so everyone can learn from it!


Could you contact Mr. Luo and ask him to write a program that detects the computer type and what corresponding type it is in XP?
See the picture:
[ Contact the Union admin team - 中国DOS联盟 - Standard version ]
Sponsored by ifanr Inc | © 2001–2023