#: 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.
|