#: 4467 S10/Tandy CoCo
18-Jun-90 14:29:28
Sb: #4451-#palette
Fm: Kevin Darling (UG Pres) 76703,4227
To: LUTE MULLENIX 70721,2230 (X)
Lute -
I think I see what you mean. First, I might mention that WMODE.AR here in Lib
10 lets you "xmode" your window descriptors to be of any type, size and default
palette numbers... and I recommend that everyone wmode's all the descriptors to
80x24 type 2 windows so that "program >>/w&" works okay. You've done that by
hand, but wmode is easier (and then people can just save those out to disk and
make a new os9boot of course).
Anyway.. ok, you want to change the default palette values, I think. SS.DfPal
can be used for that, or you can actually modify Grfint/Windint's default
internal tables. Look around offset $2F2 or $2F3 in whichever of those you use
for this sequence of values:
$3F,$09,$00,$12,$24,$36,$2D,$1B (pals 0-7)
$3F,$09,$00,$12,$24,$36,$2D,$1B (pals 8-15)
Those are the default 16 palette values for pals 0-15 (they repeat as you can
see for 0-7 and 8-15). The colors are White, Blue, Black, Green, Red, Yellow,
Magenta, and Cyan. You can change them to whatever you wish, altho some
programs may assume the original default colors. - kev
There is 1 Reply.
|