🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.msdos.programmer
Article #5662

Re: Title Screen - How?

#5662
From: Frank van der Hulst
Date: Mon, 08 Apr 1991 09:43
24 lines
1697 bytes
In article <4137.27fc6215@iccgcc.decnet.ab.com> davenport@iccgcc.decnet.ab.com writes:
>How do you create a title screen from a graphics picture (any file format)?

Here's what I did... it takes several steps, but it isn't complex:

I had a MACPAINT picture I wanted to include in a program, so I found a
utility to convert a MACPAINT to a .COM which displayed it, then waited for a
key before exitting. I disassembled the display program, and removed the bit
which waited for a key and cleared the screen. Next I wrote a Turbo-Pascal
program to simply do a getimage on the screen to RAM, then dump it to a disk
file... these two programs (PICTURE.COM and GET_PIC.EXE) were then run
consecutively from a batch file -- that got me the screen image in a binary
file. Next step (this is optional, since you could simply read the file back
into an array in TP or TC, then use putimage to display it) was to convert the
binary to an object via TP's BINOBJ utility, and then link it into my program
to display via putimage.

It's not exactly what you wanted, but I hope it gives you an idea.


-- 

Take a walk on the wild side, and I don't mean the Milford Track.
Kayaking: The art of appearing to want to go where your boat is taking you.
Technical Details
Message-ID: <1991Apr08.094333.764@cavebbs.gen.nz>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!bonnie.concordia.ca!uunet!comp.vuw.ac.nz!cavebbs!frank
References: <4137.27fc6215@iccgcc.decnet.ab.com>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!bonnie.concordia.ca!uunet!comp.vuw.ac.nz!cavebbs!frank
From: frank@cavebbs.gen.nz (Frank van der Hulst)
Newsgroups: comp.os.msdos.programmer
Subject: Re: Title Screen - How?
Message-ID: <1991Apr08.094333.764@cavebbs.gen.nz>
Date: 8 Apr 91 09:43:33 GMT
References: <4137.27fc6215@iccgcc.decnet.ab.com>
Organization: The Cave MegaBBS, Public Access Usenet, Wellington, NZ
Lines: 24