🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.arch
Article #192

Re: Q+ graphics, 24-bit loads and stores

#192
From: MitchAlsup
Date: Sun, 18 Oct 2026 17:50
26 lines
1919 bytes
Robert Finch <robfi680@gmail.com> posted:

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

A lot of GPUs use the other 8-bits as a mixing or transparency code.
 
> 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: <1792345842-5857@newsgrouper.org>
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!newsgrouper.org!.POSTED!not-for-mail
References: <11apshg$25e7t$1@dont-email.me> <1792092095-5857@newsgrouper.org> <11arq6g$2se7j$1@dont-email.me> <11b0tr2$ljeu$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!newsgrouper.org!.POSTED!not-for-mail
From: MitchAlsup <user5857@newsgrouper.org.invalid>
Newsgroups: comp.arch
Subject: Re: Q+ graphics, 24-bit loads and stores
References: <11apshg$25e7t$1@dont-email.me> <1792092095-5857@newsgrouper.org>
  <11arq6g$2se7j$1@dont-email.me> <11b0tr2$ljeu$1@dont-email.me>
Date: Sun, 18 Oct 2026 17:50:42 GMT
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Message-ID: <1792345842-5857@newsgrouper.org>
Injection-Info: newsgrouper.org; mail-complaints-to="newsgrouper@yahoo.com"; posting-account=user5857
Injection-Date: Sun, 18 Oct 2026 17:50:42 GMT
User-Agent: Newsgrouper/0.9.0