TIP: Click on subject to list as thread! ANSI
echo: c_plusplus
to: JERRY VINOKUROV
from: ANDERS JOHANSSON
date: 1997-08-13 09:34:00
subject: Programming

 JV> litlle more specific... yeah, I wanted to know how to
 JV> manipulate sprites and pallettes
To set the palette:
#include 
...
outportb(0x3c8,ColorNumber);
outportb(0x3c9,red);
outportb(0x3c9,green);
outportb(0x3c9,blue);
To get the palette is the same, but you must change 0x3c8 to 0x3c7
I don't now the word "sprites" so I can't help you more.
//Anders
---
---------------
* Origin: (2:203/512.13)

SOURCE: echomail via exec-pc

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.