Birlliant. I had a feeling it could be optimized further.clamp = carries - (carries >> 5);
Search found 157 matches
- Fri Mar 03, 2006 9:42 pm
- Forum: Development
- Topic: Optimal RGB Mix/Clamped Add/Sub
- Replies: 52
- Views: 40614
- Fri Mar 03, 2006 8:01 pm
- Forum: Development
- Topic: Optimal RGB Mix/Clamped Add/Sub
- Replies: 52
- Views: 40614
What do you think of this for an rgb15 clamped add?
Code: Select all
unsigned int sum=pixel1+pixel2;
unsigned int tmp=(sum-((pixel1^pixel2)&0x0420))&0x8420;
sum-=tmp;
tmp|=tmp>>1;
tmp|=tmp>>2;
tmp|=tmp>>1;
tmp>>=1;
sum|=tmp;
- Fri Mar 03, 2006 6:13 pm
- Forum: Development
- Topic: Optimal RGB Mix/Clamped Add/Sub
- Replies: 52
- Views: 40614
- Wed Feb 22, 2006 3:21 pm
- Forum: Bug Reports/Feature Requests
- Topic: More audio output options.
- Replies: 24
- Views: 8457
Re: More audio output options.
Try FCE Ultra.. it has a 96KHz option... see if there's a real difference between 48KHz and 96KHz. Actually the NES uses a PSG. If it was sample-based it would have a sample rate of about 1.79 MHz, of course the final sound output is limited to lower frequencies by the DAC among other things, but i...
- Sun Oct 30, 2005 10:54 pm
- Forum: ZSNES Talk
- Topic: Calling all Windows users who can use a DOS prompt
- Replies: 102
- Views: 44667
- Sun Oct 30, 2005 1:09 pm
- Forum: ZSNES Talk
- Topic: Calling all Windows users who can use a DOS prompt
- Replies: 102
- Views: 44667
AFAIK a k6-III has 256k of L2 cache, while a k6-2+ has 128k. A k6-2 doesn't have on-chip L2 cache. I guess this makes the k6-2+ closer to a k6-III than a k6-2 anyway, and it seems that binaries compiled with arch set to k6-2 has the same md5sum as when compiled with arch set to k6-3, on gcc 3.4. The...
- Fri Oct 21, 2005 4:10 pm
- Forum: ZSNES Talk
- Topic: Calling all Linux users
- Replies: 31
- Views: 19614
k6-3: processor : 0 vendor_id : AuthenticAMD cpu family : 5 model : 9 model name : AMD-K6(tm) 3D+ Processor stepping : 1 cpu MHz : 401.078 cache size : 256 KB fdiv_bug : no hlt_bug : no f00f_bug : no coma_bug : no fpu : yes fpu_exception : yes cpuid level : 1 wp : yes flags : fpu vme de pse tsc msr ...