From 45c160da7f0f91bf78e739f5353a64c3ee5bfe3c Mon Sep 17 00:00:00 2001 From: sparky4 Date: Mon, 15 Feb 2016 10:38:58 -0600 Subject: [PATCH] tweak is made wwww --- copper.o | Bin 3241 -> 7619 bytes plz.o | Bin 3331 -> 0 bytes plzpart.o | Bin 572 -> 572 bytes tweak.c | 6 ++++-- tweak.err | 1 + tweak.h | 10 +++++++++- tweak.o | Bin 422 -> 591 bytes 7 files changed, 14 insertions(+), 3 deletions(-) delete mode 100755 plz.o create mode 100755 tweak.err diff --git a/copper.o b/copper.o index 7344a435da861d42ffbfd35dfb0a90b37a7a8aa1..d315cdbee972b7b7e2e7ae5bf4ac068760acd309 100755 GIT binary patch delta 4523 zcmWlbdwkFJ7st;zuk(JtKOf62q=lBya%)M;Wig8xxy)^$#mt(;%rKYS`dTi-+-4+6 zk|aselGbRnq=npXElH9zLJ~rL-{0f?c)TC)bI$8^p68GE-FArU6`#;!((8^oE%hOsHOtV{|KfSg|1(5Jx$+xI z_O2vu$~|rZi$ff7JtAsALgA#;kSsMOkDAdv)SN0&BvqlOs2a7P`=}*_QY)%Wt?5CE zqPp}n)u%Q=S6gaC(bR<6Q3S=%6ZA~b)jp{15L9*yD&vBRPQgm&VCLCi)FpW88eH8d z5KrBy7sXQo^`O4glb#Po1E@C*qCS)o%%%pjL#Q7OrT&y2td68a8bvQqR#5da4WtQ_ zM3aN+S16eRG?=CZUDJb(8I(pd=_SeuI%m-^njLh{q2ZKE88nwh&^*ed`7|;>`N4L} zXf!PkwtSn$&}te>@6kAVpT^U=VEYefBCV%M^dU{5f*__ah$*6}w3V`{m|msrL0m}? zR~p3a4&wF%QTu|J{XxuuAm(5YbBGquVOmH>D36ZPB03hN9;YRAf&$B^jNYJMg7~xa zCjCw;=sdke7icA2432Y|R?#(jhi(POxhmYmhzlr!Kcz_COs)AdYR6kBmOrO1Tu43m3wn-=D3P~PGH;{70WPK#-cG5!gVOjb z8pefTr_7 zn#qSKhY!7|rJsw2;ea5uc>R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Txk~!4 ztE{(O6(z5#!n;?kS4};yx>oRNXoz>8R`hCWW$%8i>V;}G?*Xmh)zX??ZGFJ2qjkIo z^+7L8!@RoskoT~Ld-b%5S6`cZ4K&hwM5DY%wVl^c_rwhFp&G(+s*S+@orq@ANda?Sh*HPd1;&i>&Nk8^F>!;qcy2a}f(5+rq-R^bM z60f^{>&5FHuZQmQdg@`Xmmc?eYnj(afA$jeSMNDJ=k?VKUO&C;_1CN3^LoQe)Z5+* zdeJL=UPtp*7kXG@NwYoo8Yx*f#+ka6X@>8{*KSUq()3k~Il1BJL^+|u2w)6w( z8s!hywtj|2`y;f2pQ*9_NbTs4(l~##cJjw)XMe1A^~Y(vAN-;CFKcgqg7)zzYJxvW z`}tF}zyFF3@~3LDpRI%aX`13s*BAX6n&!{cVSbKg__K7RKU=f>IXceI)d~Jwo$Sxk sfInYf4fhx541b}{^7Ay;U!?Q>e9iM0>tcV2F7aQ}*Zg8o{mr~NO45yqwTp>?p#%U$mm1sv diff --git a/plz.o b/plz.o deleted file mode 100755 index f3455e9282543e8272bf7151303c3a694c1d094d..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 3331 zcma)9du&tJ8UOCX*N*MPc|gc(fj|;o%j4QE2@nV^&_F|*(U?PDaAk-~(%6Y-->m8u zsbO&-#_3A64Jeq_eQAF*s>HT#DcMrg+^trpYRe*R>9$T$0V$EF_Q$FXi3;yK=i0_e zV8zPseCM3+`_A_|=iHNle8{cq=nd9=zs~Pvs6G15umA&ZxQ0zIaG^ff=IJ;;Tm%F2 z|9)oQo+Yxaj1{{0=n__EaJU4u`qW4F42K-}53Yqz-TLDz%AL+$N? zYhSyxtL5>w1K%+yuH8?#-aTi8buSr=Ja=)}00Xz%xOdJN!LYOKv3A#Ak+%oHByibh zOdzp2`&;^CmcUu5ph8!^PUmJgv%uNUNFXX`sF;aWT14*pc{4}}J|QH;gkfK72t)wj z=#S?GK{QB4QzC*KOEXQ(Gt79nJ?fH8gJCvbCvc z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W{N!k diff --git a/plzpart.o b/plzpart.o index 7e82377d9751d8e4b7b075339e7982988d8f7950..5c99e7887722325f99b9b081d8d835782deb8960 100755 GIT binary patch delta 129 zcmdnPvWI1YKGWvdiH71Fr#fU98eW3fVw@RAJEVY|(vpe!qT%Pk?1>@%9zyyl`NjHG z`UN>v`X%M5iP?G?k2|D+3R~v-dI%#)Cg&Fvq!#IASanE1Wd)FAf!g&liZ|X)WCQ?% ChcQI} delta 129 zcmdnPvWI1YJ`-#7L_=|osty^3hL=ZTCK`%yW^C<{0&-SIP0SY!-wb9yiSqRj(oe}R z*00hp$f?pVDNjwz*30PWkOnH;I@8xf7)dfYzn~zsNH2r8LjowvG0WFO07(|8T`%L) I#@mUE01iJeMF0Q* diff --git a/tweak.c b/tweak.c index 5b64831..39163a1 100755 --- a/tweak.c +++ b/tweak.c @@ -31,14 +31,16 @@ __asm{ } } -void tw_setrgbpalette(byte *p) +void tw_setrgbpalette(/*byte *p, */int r, int g, int b) { int i; // modexWaitBorder(); outp(PAL_WRITE_REG, 0); /* start at the beginning of palette */ // for(i=0; i void tw_opengraph2(); -void tw_setrgbpalette(byte *p); +//void tw_setrgbpalette(byte *p); +void tw_setrgbpalette(int r, int g, int b); + +#define PAL_READ_REG 0x03C7 /* Color register, read address */ +#define PAL_WRITE_REG 0x03C8 /* Color register, write address */ +#define PAL_DATA_REG 0x03C9 /* Color register, data port */ +#define PAL_SIZE (256 * 3) + #endif diff --git a/tweak.o b/tweak.o index c77bfdc04ed0d0cc28fef6a7df96e1bfff4e1d88..cb1fe33265c7ccaca80fb2a5e6ec852c31242186 100755 GIT binary patch delta 281 zcmZ3+e4b^3F4N4AiTa|}4?3h68eU!s@%IqYPsuOVuhK8bsnRbgPfg6$%UA@KbPqz4 ztSm?^*2@r^m}Jb>!@$nOm^^WIpfEoJYkYigh&KakerZWTJVVQZ2@`+#B)f)oJ`LEx z#W0Hj2qFT*IuCYU+i`-~@Df;H$4TbSQ*hQNIO`Ue)tmMwE;82lbiy1-hBF*tjAsIY zI4O+jOb!s20dYeZQ^W+V$^ML@4uU1+@x`enMd?Wei8-kyC8_Zq3=9fW)EO8UnSnO5 pG6*s#FxWCEF?cYjF~l=yGGsDnF%&asGt@E|F|;rQO)h8D2LOReSnvP< delta 129 zcmX@lvW$6xF4LpHiTa{)vpS?08eVRW_4N?aPsuOVuhK8bsnRbgPfg6$%h)xs-k8mU zft`tQ`NSQ8JRA(H@$tbS-VECp_)L~z^f5j*hn3+BM;N2Y1W^VCM!u5r`22#@y!4{P gf()a01_p+;Q}}`6Oh6V3gCK)EgDu0$$qG#R0HzQn9RL6T -- 2.39.5