Tom's Guide | Tom's Hardware | Tom's Games
![]() |
![]() |
![]() |
I am trying to display a full-screen image
(or flash screen) in DOS for a spacific
number of seconds. I can write batch files,
I can write basic (such as qbasic), and I
can write c++ (using a Windows Borland
product).I don't care which I use to get the job
done, as long as I can get it to work. I am
only just learning c++, but there are
several qbasic processes I used to use to do
similar things, such as load a bsv file and
sleep, but it distorts the image. When I
try to compensate, the computer is reset.I've tried searching the web for source code
that would display the image in bmp format,
but they seem to only display the image
properly if it is a large black square. I
don't care what format of image file I have
to use either. Even if it is only 16
colours with a 320*200 resolution. The best
image I have for this purpose, however,
happens to be 256 colours.I appologise if I make no sense. If you
understand enough to help, any help will be
pleasing to me :)

The only thing that comes to mind is an image handler from Alchemy Mind Works which will, among other things, convert an image to a self-displaying exe.
Maybe you could use that and then implement in your code the wait time to quit display [maybe output a BREAK or ESC] and go to the next step.
M2
If at first you don't succeed, you're about average.

Google to the rescue.
http://www.philipz.com/qb/source.htm
(source code for bmp loaders in qbasic)

Fozzie, the source code at that site works
perfectly with extremely mild editing!
Thanks for the help!%00

![]() |
![]() |
![]() |

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.
| Ads by Google |