Re: [Ql-Users] Q40 display mode

2017-11-11 Thread Wolf via Ql-Users

Hi,

The information on page 47 seems to be correct, at least for modes 
0,8,16,32,33. I can't check the others (does aurora lcd mode even exist 
other than in theory?).



I find the disp_type function to be quite confusing, as it mixes the 
information on colour depth with information on what kind of display (or 
even machine) is used : Mode 0,1 and 2 below basically show the same 
colour depth and a program is probably more interested in that and not 
so much in the hardware used to generate it.


This is probably due to the way SMSQE has grown and thus the need to 
keep backward compatibility.


Most programs probably only need to know the colour depth and the screen 
size.


It would thus probably be better to split disp_type up between a 
function that would return the colour depth and a function telling you 
what kind of display, hardware-wise is used.


Wolfgang

On 11/11/2017 17:58, Giorgio Garabello via Ql-Users wrote:

 From SMSQE Manual...

Page 47

DISP_TYPE
The DISP_TYPE function is used to find the type of display. For standard QL
style displays in MODE 4 (any resolution) DISP_TYPE returns 0. The value
returned on other display systems may vary according to the hardware and
colour depth. In general, on SMSQ/E versions supporting higher colour
modes, and on Atari emulator cards, the following values may be returned.
0 – QL style display (MODE 4)
1 - Extended mode 4 emulator (standard and extended display sizes) on Atari.
2 - QVME mode 4 emulator on Atari.
3 - Aurora LCD
4 - Monochrome display on Atari.
5 - Aurora QL mode
8 – QL MODE 8 display
16 – 8-bit (256 colour) mode
32 – 16-bit colour mode on QPC, QXL and SMSQmulator
*33 – 16-bit colour mode on Q40 and Q60*
64 – 24-bit colour mode (no hardware supports this at the time of writing)


Page 95

DISP_TYPE
The DISP_TYPE function is used to find the type of display. For the Q40,
there are two values that may be returned.
0 Original ST QL emulator (this value is returned on QL based hardware).
*1 16 bit colour mode.*

Which of the two is the right one?
___
QL-Users Mailing List


___
QL-Users Mailing List

Re: [Ql-Users] Q40 display mode

2017-11-11 Thread Giorgio Garabello via Ql-Users
Many thanks

Il 11 nov 2017 10:37 PM, "Peter Graf via Ql-Users" 
ha scritto:

> Am 11.11.2017 um 22:06 schrieb Derek via Ql-Users:
> > I will check on my Q60 the DISP_TYPE values and report back tomorrow.
>
> I looked already. Seems always 33.
>
> Peter
> ___
> QL-Users Mailing List
>
___
QL-Users Mailing List


Re: [Ql-Users] Q40 display mode

2017-11-11 Thread Peter Graf via Ql-Users
Am 11.11.2017 um 22:06 schrieb Derek via Ql-Users:
> I will check on my Q60 the DISP_TYPE values and report back tomorrow.

I looked already. Seems always 33.

Peter
___
QL-Users Mailing List


Re: [Ql-Users] Q40 display mode

2017-11-11 Thread Derek via Ql-Users
Hi,
There is no mistake.
The Q40/60 has the following SQ/E video modes:
512x256 4/8 Colour. Standard QL Colours512x256 Mode 33 24 bit colour1024x512 
Mode 33 24 bit colour
I will check on my Q60 the DISP_TYPE values and report back tomorrow.
RegardsDerek
 Original message From: Giorgio Garabello via Ql-Users 
 Date: 11/11/2017  19:29  (GMT+00:00) To: 
ql-us...@q-v-d.com Cc: Giorgio Garabello  Subject: Re: 
[Ql-Users] Q40 display mode 
Ok, so there's a mistake in the smsqe manual?

2017-11-11 20:27 GMT+01:00 duncan . via Ql-Users :

> smsqe is required for 16 bit colours so 33 is the answer
>
> On Sat, Nov 11, 2017 at 6:48 PM, Giorgio Garabello via Ql-Users <
> ql-users@lists.q-v-d.com> wrote:
>
> > The question is: on q40 with 16 bit mode color if i type print Disp_type
> > what i see? 1 or 33?
> >
> > Il 11 nov 2017 18:50, "Peter Graf via Ql-Users" <
> ql-users@lists.q-v-d.com>
> > ha scritto:
> >
> > Am 11.11.2017 um 17:58 schrieb Giorgio Garabello via Ql-Users:
> > > 64 – 24-bit colour mode (no hardware supports this at the time of
> > writing)
> >
> > Hmmm... was there _software_ support at the time of writing?
> >
> > > DISP_TYPE
> > > The DISP_TYPE function is used to find the type of display. For the
> Q40,
> > > there are two values that may be returned.
> > > 0 Original ST QL emulator (this value is returned on QL based
> hardware).
> > > *1 16 bit colour mode.*
> >
> > The Q40 supports both original QL hardware modes and 16 bit highcolour.
> > It depends on what you select.
> >
> > Peter
> >
> >
> >
> > ___
> > QL-Users Mailing List
> > ___
> > QL-Users Mailing List
> ___
> QL-Users Mailing List
___
QL-Users Mailing List
___
QL-Users Mailing List

Re: [Ql-Users] Q40 display mode

2017-11-11 Thread Giorgio Garabello via Ql-Users
Ok, so there's a mistake in the smsqe manual?

2017-11-11 20:27 GMT+01:00 duncan . via Ql-Users :

> smsqe is required for 16 bit colours so 33 is the answer
>
> On Sat, Nov 11, 2017 at 6:48 PM, Giorgio Garabello via Ql-Users <
> ql-users@lists.q-v-d.com> wrote:
>
> > The question is: on q40 with 16 bit mode color if i type print Disp_type
> > what i see? 1 or 33?
> >
> > Il 11 nov 2017 18:50, "Peter Graf via Ql-Users" <
> ql-users@lists.q-v-d.com>
> > ha scritto:
> >
> > Am 11.11.2017 um 17:58 schrieb Giorgio Garabello via Ql-Users:
> > > 64 – 24-bit colour mode (no hardware supports this at the time of
> > writing)
> >
> > Hmmm... was there _software_ support at the time of writing?
> >
> > > DISP_TYPE
> > > The DISP_TYPE function is used to find the type of display. For the
> Q40,
> > > there are two values that may be returned.
> > > 0 Original ST QL emulator (this value is returned on QL based
> hardware).
> > > *1 16 bit colour mode.*
> >
> > The Q40 supports both original QL hardware modes and 16 bit highcolour.
> > It depends on what you select.
> >
> > Peter
> >
> >
> >
> > ___
> > QL-Users Mailing List
> > ___
> > QL-Users Mailing List
> ___
> QL-Users Mailing List
___
QL-Users Mailing List

Re: [Ql-Users] Q40 display mode

2017-11-11 Thread duncan . via Ql-Users
smsqe is required for 16 bit colours so 33 is the answer

On Sat, Nov 11, 2017 at 6:48 PM, Giorgio Garabello via Ql-Users <
ql-users@lists.q-v-d.com> wrote:

> The question is: on q40 with 16 bit mode color if i type print Disp_type
> what i see? 1 or 33?
>
> Il 11 nov 2017 18:50, "Peter Graf via Ql-Users" 
> ha scritto:
>
> Am 11.11.2017 um 17:58 schrieb Giorgio Garabello via Ql-Users:
> > 64 – 24-bit colour mode (no hardware supports this at the time of
> writing)
>
> Hmmm... was there _software_ support at the time of writing?
>
> > DISP_TYPE
> > The DISP_TYPE function is used to find the type of display. For the Q40,
> > there are two values that may be returned.
> > 0 Original ST QL emulator (this value is returned on QL based hardware).
> > *1 16 bit colour mode.*
>
> The Q40 supports both original QL hardware modes and 16 bit highcolour.
> It depends on what you select.
>
> Peter
>
>
>
> ___
> QL-Users Mailing List
> ___
> QL-Users Mailing List
___
QL-Users Mailing List

Re: [Ql-Users] Q40 display mode

2017-11-11 Thread Giorgio Garabello via Ql-Users
The question is: on q40 with 16 bit mode color if i type print Disp_type
what i see? 1 or 33?

Il 11 nov 2017 18:50, "Peter Graf via Ql-Users" 
ha scritto:

Am 11.11.2017 um 17:58 schrieb Giorgio Garabello via Ql-Users:
> 64 – 24-bit colour mode (no hardware supports this at the time of writing)

Hmmm... was there _software_ support at the time of writing?

> DISP_TYPE
> The DISP_TYPE function is used to find the type of display. For the Q40,
> there are two values that may be returned.
> 0 Original ST QL emulator (this value is returned on QL based hardware).
> *1 16 bit colour mode.*

The Q40 supports both original QL hardware modes and 16 bit highcolour.
It depends on what you select.

Peter



___
QL-Users Mailing List
___
QL-Users Mailing List

Re: [Ql-Users] Q40 display mode

2017-11-11 Thread Peter Graf via Ql-Users
Am 11.11.2017 um 17:58 schrieb Giorgio Garabello via Ql-Users:
> 64 – 24-bit colour mode (no hardware supports this at the time of writing)

Hmmm... was there _software_ support at the time of writing?

> DISP_TYPE
> The DISP_TYPE function is used to find the type of display. For the Q40,
> there are two values that may be returned.
> 0 Original ST QL emulator (this value is returned on QL based hardware).
> *1 16 bit colour mode.*

The Q40 supports both original QL hardware modes and 16 bit highcolour.
It depends on what you select.

Peter



___
QL-Users Mailing List