ZX Spectrum Next (and compatibles) QL Core now available!

Nagging hardware related question? Post here!
User avatar
bwinkel67
QL Wafer Drive
Posts: 1511
Joined: Thu Oct 03, 2019 2:09 am

Re: ZX Spectrum Next (and compatibles) QL Core now available!

Post by bwinkel67 »

On the QL Facebook group someone just posted that the new core will handle up to 16-bit color eventually:
Τhe Next can display 9bit colour.... and if it's run as a QL, there's a good chance it can display 16bit colour in an Aurora memory space to boot!
So currently 512 colors?


lliont
Gold Card
Posts: 337
Joined: Sat Nov 22, 2014 9:18 am
Location: Athens, Greece
Contact:

Re: ZX Spectrum Next (and compatibles) QL Core now available!

Post by lliont »

Next has a 9bit (3x3bit) dac for the vga output so 512 colors from the vga but using the hdmi the output is 64K colors, the dac is at the output device end.
So the same image displays concurrently from the 2 output ports but with a different dynamic range for the colors.

This is done by using the 3 most significant bits of the 5bits per basic color for the vga.


Derek_Stewart
Font of All Knowledge
Posts: 4653
Joined: Mon Dec 20, 2010 11:40 am
Location: Sunny Runcorn, Cheshire, UK

Re: ZX Spectrum Next (and compatibles) QL Core now available!

Post by Derek_Stewart »

lliont wrote: Wed Jan 15, 2025 10:20 am Next has a 9bit (3x3bit) dac for the vga output so 512 colors from the vga but using the hdmi the output is 64K colors, the dac is at the output device end.
So the same image displays concurrently from the 2 output ports but with a different dynamic range for the colors.

This is done by using the 3 most significant bits of the 5bits per basic color for the vga.
Can the Lion Card for the QL use a similar video output?


Regards,

Derek
lliont
Gold Card
Posts: 337
Joined: Sat Nov 22, 2014 9:18 am
Location: Athens, Greece
Contact:

Re: ZX Spectrum Next (and compatibles) QL Core now available!

Post by lliont »

The final QLion Gold card will use a 12bit vga output giving 4096 colors, see the image at the QLion Gold topic, with a similar RRRRRGGGGGBBBBBX pattern using the 4 most significant
bits/basic_color for each pixel.
Many things, no surprise, are very similar to the QLion card, can't be totally compatible but programs will easily be ported from one to the other.
For example the galaxianish clone game runs unchanged to both systems.


Derek_Stewart
Font of All Knowledge
Posts: 4653
Joined: Mon Dec 20, 2010 11:40 am
Location: Sunny Runcorn, Cheshire, UK

Re: ZX Spectrum Next (and compatibles) QL Core now available!

Post by Derek_Stewart »

lliont wrote: Wed Jan 15, 2025 4:19 pm The final QLion Gold card will use a 12bit vga output giving 4096 colors, see the image at the QLion Gold topic, with a similar RRRRRGGGGGBBBBBX pattern using the 4 most significant
bits/basic_color for each pixel.
Many things, no surprise, are very similar to the QLion card, can't be totally compatible but programs will easily be ported from one to the other.
For example the galaxianish clone game runs unchanged to both systems.
Mode 64!


Regards,

Derek
User avatar
Peter
Font of All Knowledge
Posts: 2418
Joined: Sat Jan 22, 2011 8:47 am

Re: ZX Spectrum Next (and compatibles) QL Core now available!

Post by Peter »

lliont wrote: Wed Jan 15, 2025 4:19 pm The final QLion Gold card will use a 12bit vga output giving 4096 colors, see the image at the QLion Gold topic, with a similar RRRRRGGGGGBBBBBX pattern using the 4 most significant bits/basic_color for each pixel.
That's the Q40/Q60/Q68/QIMSI pattern with red and green swapped.
Why define yet another mode with a different bit pattern, carrying the same information?


User avatar
BSJR
Trump Card
Posts: 219
Joined: Sun Oct 18, 2015 12:53 pm
Location: Amsterdam
Contact:

Re: ZX Spectrum Next (and compatibles) QL Core now available!

Post by BSJR »

Derek_Stewart wrote: Wed Jan 15, 2025 6:02 pm
lliont wrote: Wed Jan 15, 2025 4:19 pm The final QLion Gold card will use a 12bit vga output giving 4096 colors, see the image at the QLion Gold topic, with a similar RRRRRGGGGGBBBBBX pattern using the 4 most significant
bits/basic_color for each pixel.
Many things, no surprise, are very similar to the QLion card, can't be totally compatible but programs will easily be ported from one to the other.
For example the galaxianish clone game runs unchanged to both systems.
Mode 64!
Everybody is of course free to create new modes but to be compatible across QL platforms it may be wise to look at the screen modes already defined for SMSQ/E in GD2. E.g. Mode 64 is a sprite mode with 32 bits per pixel.
https://dilwyn.theqlforum.com/docs/smsqegd2/index.html

BSJR


User avatar
bwinkel67
QL Wafer Drive
Posts: 1511
Joined: Thu Oct 03, 2019 2:09 am

Re: ZX Spectrum Next (and compatibles) QL Core now available!

Post by bwinkel67 »

So one format has it as R...RG...GB...BX where ... depends on extend of color (i.e. 12 vs 16 bit), and another has it G...GR...R.B...BX.

QDOS color order makes sense since bit 1 (001) represents blue, bit 2 (010) represents red, and bit 3 (100) represents green and the other bits between 0 and 7 represent the combinations of light colors that would garner, i.e. 110 is yellow which is combing 100 (green) with 010 (red). I don't know why having blue be bit 1 and red being bid 2 and green being bit 3, but the QDOS ordering does reflect the general color test images that you see -- though in reverse order, although that makes sense since 000 ought to be black and 111 ought to be white. So why aren't all implementation following the GRB order?


lliont
Gold Card
Posts: 337
Joined: Sat Nov 22, 2014 9:18 am
Location: Athens, Greece
Contact:

Re: ZX Spectrum Next (and compatibles) QL Core now available!

Post by lliont »

Don't know it felt more natural to store RGB information in a RRR...GGG...BBB... pattern :D


User avatar
XorA
Site Admin
Posts: 1609
Joined: Thu Jun 02, 2011 11:31 am
Location: Shotts, North Lanarkshire, Scotland, UK

Re: ZX Spectrum Next (and compatibles) QL Core now available!

Post by XorA »

lliont wrote: Thu Jan 16, 2025 1:55 pm Don't know it felt more natural to store RGB information in a RRR...GGG...BBB... pattern :D
The advantage of following the established order is getting a "free" driver for your high colour mode :-D


Post Reply