Article View: comp.arch
Article #178Re: Q+ graphics, 24-bit loads and stores
From: Robert Finch
Date: Sat, 17 Oct 2026 22:45
Date: Sat, 17 Oct 2026 22:45
22 lines
2151 bytes
2151 bytes
Adding some graphics instructions to Q+. While doing so, it seems to me like 24-bit load and store operations to handle RGB888 data might be handy. It is a toss-up deciding to use single precision floats or 18.18 fixed point arithmetic for graphics. The fixed point is about 3x faster latency and a lot smaller. I am leaning towards using single precision floats though. TEX - calculate texture index, TEX Rd, Rs1, Rs2, Rs3 ; Rs1 = U, Rs2 = V, and Rs3 contains the texture width,height and bytes per pixel. The texture cannot be more than 64k pixels high or wide. RGBCVT - convert between RGB formats: eg. RGBCVT r2,r1,10,8 converts RGB8.8.8 to RGB10.10.10 BLEND - blend colors TRANSFORM - transform point, performs matrix multiply for point transformation using coefficients that may be set prior to calc.
Technical Details
Message-ID:
<11b0tr2$ljeu$1@dont-email.me>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!eternal-september.org!feeder.eternal-september.org!nntp.eternal-september.org!.POSTED!not-for-mailReferences:
<11apshg$25e7t$1@dont-email.me> <1792092095-5857@newsgrouper.org> <11arq6g$2se7j$1@dont-email.me>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!eternal-september.org!feeder.eternal-september.org!nntp.eternal-september.org!.POSTED!not-for-mail From: Robert Finch <robfi680@gmail.com> Newsgroups: comp.arch Subject: Re: Q+ graphics, 24-bit loads and stores Date: Sat, 17 Oct 2026 18:45:52 -0400 Organization: A noiseless patient Spider Lines: 22 Message-ID: <11b0tr2$ljeu$1@dont-email.me> References: <11apshg$25e7t$1@dont-email.me> <1792092095-5857@newsgrouper.org> <11arq6g$2se7j$1@dont-email.me> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Date: Sat, 17 Oct 2026 22:45:55 +0000 (UTC) Injection-Info: dont-email.me; logging-data="708062"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18h2hkeOo8GPO6rn940OCSEU0U8o/n2LZg="; posting-host="3b17bb460adbbdc6243ac3684db1d0bb" User-Agent: Mozilla Thunderbird Cancel-Lock: sha1:cuO5ua5+SDGGXWs+cTkPDdVuc/s= sha256:cPdFwptd25AYc8kv0lV3GBULOoCh8IUrAL+/Lhk+XBg= sha1:bxnuYA2cWKlKG+1NoE0iyKnHawc= sha256:FxjyRDOIssHn5lRfAof1raJ3c1uRaPm47ftR+S5EwNc= In-Reply-To: <11arq6g$2se7j$1@dont-email.me> Content-Language: en-US