中国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-08-15 13:14
47,813 topics / 349,903 posts / today 1 new / 48,257 members
DOS疑难解答 & 问题讨论 (解答室) » How to display colorful screens under DOS? How to display pictures?
Printable Version  12,715 / 41
Floor1 pygajzlh Posted 2007-01-24 11:05
初级用户 Posts 23 Credits 51 From 山西
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!
Floor2 floor Posted 2007-01-24 12:55
初级用户 Posts 82 Credits 185
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)
Floor3 pygajzlh Posted 2007-02-01 12:21
初级用户 Posts 23 Credits 51 From 山西
Thank you very much, I'll try first.
Floor4 pygajzlh Posted 2007-02-21 05:54
初级用户 Posts 23 Credits 51 From 山西
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!
Floor5 dosz Posted 2007-02-21 11:15
中级用户 Posts 188 Credits 396 From 上海
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 ]
Floor6 dosz Posted 2007-02-21 11:26
中级用户 Posts 188 Credits 396 From 上海
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 (14.04 KiB)
picture.Ind.bmp (228 bytes)
Floor7 0451lym Posted 2007-02-22 00:09
高级用户 Posts 357 Credits 760
Why not use logo.sys? Isn't it the boot screen?
Floor8 dosz Posted 2007-02-25 23:02
中级用户 Posts 188 Credits 396 From 上海
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
Floor9 pygajzlh Posted 2007-03-04 12:23
初级用户 Posts 23 Credits 51 From 山西
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.
Floor10 dosz Posted 2007-03-05 04:59
中级用户 Posts 188 Credits 396 From 上海
You can go to here to download the boot disk logo
Floor11 lhyhr Posted 2007-03-18 10:48
新手上路 Posts 2 Credits 6
Bump
Floor12 llffyycc Posted 2007-12-19 23:37
新手上路 Posts 1 Credits 2
What a good thing! I need to take a look.
Floor13 Sunnyt1 Posted 2007-12-22 00:17
新手上路 Posts 2 Credits 4
Floor14 1010chao Posted 2008-02-03 21:29
初级用户 Posts 12 Credits 24
Why can't I download it???
Floor15 haiou327 Posted 2008-03-11 02:43
高级用户 Posts 348 Credits 713
Study!!!!!!!!!!!!!!!!!!!!
1 2 3  Next
[ Contact the Union admin team - 中国DOS联盟 - Standard version ]
Sponsored by ifanr Inc | © 2001–2023