Article View: comp.lang.pascal.borland
Article #727Re: Help?
From: News Reader Silverstone
Date: Tue, 28 May 1996 00:00
Date: Tue, 28 May 1996 00:00
49 lines
2358 bytes
2358 bytes
> I am still relatively new to graphics programming and am having problems > incorporating > GIF files. I am also new to graphics programming (And have never even tried GIF's) > I am in 320x200 mode and have loaded a GIF file as a background, afterwards, > when I > try to select another option in a menu, it is supposed to go to the next GIF > file. > Instead all that happens is the pallette changes oon the screen and I have a > line of a > muliticoloured pixels on the top left side of the screen. I have experimented > and > found there are no problems with the gif files. > > Is there anyway for me to reset everything (including video memory and the > buffers) > like it does when I quit the program returns to pascal?? > > Thanks, Neil > Try setting your screen mode again! (I hope you are not in Mode_X) First of all try adding: asm mov ax,0013h;int 10h;end; between displays, and if this doesn't help then try: asm mov ax,0003h;int 10h;mov ax,0013h;int 10h;end; This will (1st one:)Re set the graphics mode (and hopefully the VGA card) or (2nd one:)Set the mode as text, then back to graphics. The 2nd option is more likely to work, but is also more likely to cause problems with flicker etc. If there is a problem even with the second option, try pausing between changing to mode 3 and mode 13 Hope this helps:) -- Daniel Silverstone ..Warning Tagline generator is absent... ...Playing Tag!
Technical Details
Message-ID:
<833255671snz@seaquest.demon.co.uk>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<31A86541.7016@solo.pipex.co.za>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 110467,e69ac3a888fd9f6 X-Google-Attributes: gid110467,public X-Google-Thread: fd1d1,e69ac3a888fd9f6 X-Google-Attributes: gidfd1d1,public X-Google-Thread: 111659,e69ac3a888fd9f6 X-Google-Attributes: gid111659,public X-Google-Thread: 10261c,e69ac3a888fd9f6 X-Google-Attributes: gid10261c,public From: News Reader Silverstone <NewsTray@seaquest.demon.co.uk> Subject: Re: Help? Date: 1996/05/28 Message-ID: <833255671snz@seaquest.demon.co.uk> X-Deja-AN: 157039411 x-nntp-posting-host: seaquest.demon.co.uk references: <31A86541.7016@solo.pipex.co.za> x-mail2news-path: disperse.demon.co.uk!post.demon.co.uk!seaquest.demon.co.uk organization: Disorganisation, more like reply-to: NewsTray@seaquest.demon.co.uk newsgroups: comp.lang.pascal.borland,comp.lang.pascal.misc,de.comp.lang.pascal,fido.ger.pascal