TIP: Click on subject to list as thread! ANSI
echo: cis.os9.68000.osk
to: Bob van der Poel 76510,2203 (X)
from: Mike Haaland 72300,1433
date: 1992-08-31 00:36:08
subject: #16347-#source_part 2

#: 16349 S12/OS9/68000 (OSK)
    31-Aug-92  00:36:08
Sb: #16347-#source_part 2
Fm: Mike Haaland 72300,1433
To: Bob van der Poel 76510,2203 (X)


Sorry, Bob.

The only real problem was 2 statement

Change:

 Palette(path,10*3,210,105,30);

To:

 Palette(path,10,210,105,30);

And Change:

 clutoffset = palnum * 3;

To:

 clutoffset = palnum;

The confusion lies in that each palette register is 24 bits with 8 bits each
of Red, Green and Blue.  Palnum above needs to be the actual palette number
NOT the byte offset into the palette CLUT.

The other problem he's having is that he's using the original cgfx.l that
had a bug in the Palette and _gs/_ss_palette functions.

 - Mike -

There is 1 Reply.

SOURCE: compuserve via textfiles.com

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™.