China DOS Union

-- Unite DOS · Advance DOS · Grow DOS --

Union site: www.cn-dos.net Forum site: www.cn-dos.net/forum
DOS stands for freedom, openness and progress. Let us work hard, learn from the openness and GNU spirit of FreeDOS and Linux, and together build and grow a free GNU GPL world!

中国DOS联盟论坛
The time now is 2026-08-15 12:25
中国DOS联盟论坛 » DOS疑难解答 & 问题讨论 (解答室) » How to display colorful screens under DOS? How to display pictures? View 12,710 Replies 41
Original Poster Posted 2007-01-24 11:05 ·  中国 山西 晋中 联通
初级用户
Credits 51
Posts 23
Joined 2006-09-08 21:57
19-year member
UID 62164
Gender Female
From 山西
Status Offline
Ask the experts:
How to display a colorful screen under DOS? How to display pictures?
I made a picture, 640X480, 16-bit map. How can I make it display under DOS? I want to make it into a background picture. Is that possible?
Thank you, experts!
Floor 2 Posted 2007-01-24 12:55 ·  中国 北京 大兴区 联通
初级用户
★★
Credits 185
Posts 82
Joined 2005-08-12 13:41
21-year member
UID 41586
Gender Male
Status Offline
Several software can be used, for example pictview.exe (see attachment), and the code is as follows:

pictview picture.bmp --q --nocls
wait 2
cls

//--q means immediately release after loading the picture, for specific help please use the "pictview/?" command
//wait 2 means wait for two minutes before executing the clear screen command, so that the picture can be retained on the screen for two seconds

[ Last edited by floor on 2007-1-24 at 12:58 PM ]
Attachments
PICTVIEW.rar (78.36 KiB, Credits to download 1 pts, Downloads: 400)
Floor 3 Posted 2007-02-01 12:21 ·  中国 山西 晋中 联通
初级用户
Credits 51
Posts 23
Joined 2006-09-08 21:57
19-year member
UID 62164
Gender Female
From 山西
Status Offline
Thank you very much, I'll try first.
Floor 4 Posted 2007-02-21 05:54 ·  中国 山西 晋中 联通
初级用户
Credits 51
Posts 23
Joined 2006-09-08 21:57
19-year member
UID 62164
Gender Female
From 山西
Status Offline
Originally posted by floor at 2007-1-24 12:55:
Several software can do this, for example pictview.exe (see attachment), the code is as follows:

pictview picture.bmp --q --nocls
wait 2
cls

//--q is to release the image immediately after loading, for specific help, use "pictview/ ...



Where should these lines of code be written? I tried writing them in autoexec.bat and config.sys. In the former case, the picture was displayed for less than a second after startup, and then it was completely dark and nothing could be seen. In the latter case, the picture was simply not displayed. What's the matter? Please ask an expert for guidance. Thank you!
Floor 5 Posted 2007-02-21 11:15 ·  中国 上海 浦东新区 电信
中级用户
★★
一看二跟三动手
Credits 396
Posts 188
Joined 2005-10-23 13:21
20-year member
UID 43919
From 上海
Status Offline
Originally posted by pygajzlh at 2007-2-21 05:54:

Where should these few lines of code be written? I tried writing them in autoexec.bat and config.sys. In the former case, after startup, the picture is displayed for less than a second and then it's completely dark, with nothing visible. In the latter case, the picture simply doesn't display. What's going on? Please ask the experts for guidance. Thank you!


My effect is quite good. Is there a problem with your picture?
==AUTOEXEC.BAT ==
@echo off
pictview picture.bmp --q --nocls
wait 28
cls
:: grub --config-file=(fd0)/menu.lst
exit


[ Last edited by dosz on 2007-2-21 at 12:16 PM ]
*/. . . * .
.\* . * dosz
*/ . ./\~~~~~~~~~~~~'\. ^|◆
\* ,/,..,\,...........,\.◆
^|^| ..▎# ▎田 田 ▎ ^| ▎◆
^|^| ^&^&▎ ▎ ▎'^|'▎ o
^|^| ##■■■■■■■■■■〓
Floor 6 Posted 2007-02-21 11:26 ·  中国 上海 浦东新区 电信
中级用户
★★
一看二跟三动手
Credits 396
Posts 188
Joined 2005-10-23 13:21
20-year member
UID 43919
From 上海
Status Offline
Is it possible to merge the following two pictures and make it move?

[ Last edited by dosz on 2007-2-21 at 11:28 AM ]
Attachments
picture.bmp
picture.Ind.bmp
*/. . . * .
.\* . * dosz
*/ . ./\~~~~~~~~~~~~'\. ^|◆
\* ,/,..,\,...........,\.◆
^|^| ..▎# ▎田 田 ▎ ^| ▎◆
^|^| ^&^&▎ ▎ ▎'^|'▎ o
^|^| ##■■■■■■■■■■〓
Floor 7 Posted 2007-02-22 00:09 ·  中国 黑龙江 哈尔滨 电信
高级用户
★★★
Credits 760
Posts 357
Joined 2005-10-10 22:33
20-year member
UID 43332
Status Offline
Why not use logo.sys? Isn't it the boot screen?
Floor 8 Posted 2007-02-25 23:02 ·  中国 上海 浦东新区 电信
中级用户
★★
一看二跟三动手
Credits 396
Posts 188
Joined 2005-10-23 13:21
20-year member
UID 43919
From 上海
Status Offline
Originally posted by 0451lym at 2007-2-22 00:09:
Why not use logo.sys? Isn't it the boot screen?



Of course logo.sys is used. After logo.sys, then follow a GRUB boot three-screen display
This is to discuss the issue based on the facts
*/. . . * .
.\* . * dosz
*/ . ./\~~~~~~~~~~~~'\. ^|◆
\* ,/,..,\,...........,\.◆
^|^| ..▎# ▎田 田 ▎ ^| ▎◆
^|^| ^&^&▎ ▎ ▎'^|'▎ o
^|^| ##■■■■■■■■■■〓
Floor 9 Posted 2007-03-04 12:23 ·  中国 山西 晋中 联通
初级用户
Credits 51
Posts 23
Joined 2006-09-08 21:57
19-year member
UID 62164
Gender Female
From 山西
Status Offline
Originally posted by 0451lym at 2007-2-22 00:09:
Why not use logo.sys? Isn't it the boot screen?

What is logo.sys? Where can I find it? Can I write it myself?
Thanks, experts.
Floor 10 Posted 2007-03-05 04:59 ·  中国 上海 浦东新区 电信
中级用户
★★
一看二跟三动手
Credits 396
Posts 188
Joined 2005-10-23 13:21
20-year member
UID 43919
From 上海
Status Offline
You can go to here to download the boot disk logo
*/. . . * .
.\* . * dosz
*/ . ./\~~~~~~~~~~~~'\. ^|◆
\* ,/,..,\,...........,\.◆
^|^| ..▎# ▎田 田 ▎ ^| ▎◆
^|^| ^&^&▎ ▎ ▎'^|'▎ o
^|^| ##■■■■■■■■■■〓
Floor 11 Posted 2007-03-18 10:48 ·  中国 新疆 石河子 电信
新手上路
Credits 6
Posts 2
Joined 2006-11-12 01:46
19-year member
UID 70271
Gender Male
Status Offline
Bump
Floor 12 Posted 2007-12-19 23:37 ·  中国 山东 济南 联通
新手上路
Credits 2
Posts 1
Joined 2007-02-27 07:48
19-year member
UID 80290
Gender Male
Status Offline
What a good thing! I need to take a look.
Floor 13 Posted 2007-12-22 00:17 ·  中国 重庆 腾讯云
新手上路
Credits 4
Posts 2
Joined 2007-12-21 23:57
18-year member
UID 106416
Gender Male
Status Offline
Floor 14 Posted 2008-02-03 21:29 ·  中国 福建 宁德 霞浦县 电信
初级用户
Credits 24
Posts 12
Joined 2007-12-30 20:49
18-year member
UID 107264
Gender Male
Status Offline
Why can't I download it???
Floor 15 Posted 2008-03-11 02:43 ·  中国 广东 汕头 潮阳区 电信
高级用户
★★★
DOS时空
Credits 713
Posts 348
Joined 2007-02-10 13:59
19-year member
UID 79169
Gender Male
Status Offline
Study!!!!!!!!!!!!!!!!!!!!
Forum Jump: