programmers resources
  http://www.intel-assembler.it/  (c)2017 intel-assembler.it   info@intel-assembler.it
 
Search :  
Lingua Italiana    English Language   
Index
 
just an empty assembly space
just an arrow Intel Platform
just an arrow Article & Guides
just an arrow Download Software


23/01/2009 Featured Article: How to remove Buzus Virus (permalink)




:::3095260:::
Bottone Scambio Directory Pubblicitaonline.it
Home Page | Articles & Guides | Download | Intel Platform | Contacts

Google
 


Bookmark and Share
Download 
Tell a friend



GF A Giff Viewer in MASM

based on the KGIF (Ver 19) by Benny de Fierlant

(by ron thomas)

An old code for opening GIF format files. To be used on modern GIF formats it should be revised a little. It's written in assembly and can be compiled with MASM.
This article is online from 2732 days and has been seen 2224 times



(*** download for full code ***)

==================

 GV: A Giff Viewer

==================

This program is based on the Gif viewer KGIF (Ver 19) by Benny de 
Fierlant;
which was written in A86. In this program I have translated to MAS
M and 
restructured and simplified to make the algorithm a little easier 
to understand.

The program is for the viewing either a single GIF image, or all G
IFs in the current 
directory.

It permits zoom and display of the image as a greyscale.
  
It requires a VESA compatible video card to work properly.
 
Syntax:
  
    GV filename or GV filename.gif to view a specific "gif"

    GV to view all gif images in the current directory
  
For help information press F1 (when the image is displayed)

Press Esc to terminate the program

Ron Thomas 1998
 
=========================================================

.MODEL small
STACKSIZE EQU 256 ; Reduced from 1024 - Seems OK
.STACK STACKSIZE
.386

;=========================================================
; GV: A GIF viewer   
;
; View a single GIF or all GIFs in the current directory.
; Needs VESA.

; Derived from from KGIF (v1.9) (A86 assembly version) - by Benny 
<benny@euronet.be> who has 
; based it on a disassembled com file. VGR 1.0 (Vesa Gif Viewer) f
rom the Simtel site

; Converted to MASM form with mutiple segments - CS,DS,ES,FS
; Ron Thomas Nov 97 <Ron_Thom@Compuserve.com>
;
; Altered the Help/Vesa/Info displays so that they are visible in 
all zoom displays  
;
; Remove the palette display, toggle(colour, display mode and cent
ering) as they did not seem
; to work properly and were not wanted for my use.

; Also removed the turnoffscreen and turnonscreen logic without an
y apparent loss of speed
;  
; Removed SVGA info display (it's hardly needed in a small viewer)
. I have a separate SVGA info
; program anyway.
;   
; Remove some other redundant code fragments and have the size dow
n to 9.5K   
;=========================================================

(*** download for full code ***)




Top
Download 
Tell a friend
Bookmark and Share



Similar Articles

Compuserve Graphics Interchange Format
Gif87a and Gif89a specification format
(by Compuserve)

LZW and GIF explained
LZ Compression and Compuserve GIF specification
(by Steve Blackstock)

 Tags: gif


webmaster jes
writers rguru, tech-g, aiguru, drAx

site optimized for IE/Firefox/Chrome with 1024x768 resolution

Valid HTML 4.01 Transitional


ALL TRADEMARKS ® ARE PROPERTY OF LEGITTIMATE OWNERS.
© ALL RIGHTS RESERVED.

hosting&web - www.accademia3.it

grossocactus
find rguru on
http://www.twitter.com/sicurezza3/
... send an email ...
Your name

Destination email

Message

captcha! Code