Path: utzoo!attcan!uunet!wuarchive!sdd.hp.com!hp-pcd!hpcvia!brianh From: brianh@hpcvia.CV.HP.COM (brian_helterline) Newsgroups: comp.lang.c Subject: Re: PC EGA routines Message-ID: <31530026@hpcvia.CV.HP.COM> Date: 5 Nov 90 19:46:13 GMT References: <18518@ultima.socs.uts.edu.au> Organization: Hewlett-Packard Co., Corvallis, Oregon Lines: 18 >G'day all >I'm writing a small graphics program (on a 386, using Microsoft C (version >5.1) and MASM (version 5.1). >What I need to do is the following: >Define a sprite image and be able to move it around the screen in some >way. >I'm intending to use either an EGA or VGA screen. Can anyone give me some >tips as to how I should go about doing this (I have had limited exposure >to graphics program, but am fairly well versed in other areas). You need to check out INT 0x33 (Mouse supoort). Within it are several subfunctions such as defining a new sprite, turning it on, reading its location, etc. The actual mouse driver moves it around for you (once you turn it on) >. >Thanks in advance >Tony