Rocksolid Light

Welcome to Rocksolid Light

mail  files  register  newsreader  groups  login

Message-ID:  

Every little picofarad has a nanohenry all its own. -- Don Vonada


devel / comp.lang.asm.x86 / Testing all video mode - but which ones are graphics ?

SubjectAuthor
* Testing all video mode - but which ones are graphics ?R.Wieser
+* Re: Testing all video mode - but which ones are graphics ?JJ
|`* Re: Testing all video mode - but which ones are graphics ?R.Wieser
| `* Re: Testing all video mode - but which ones are graphics ?JJ
|  `- Re: Testing all video mode - but which ones are graphics ?R.Wieser
`* Re: Testing all video mode - but which ones are graphics ?wolfgang kern
 `- Re: Testing all video mode - but which ones are graphics ?R.Wieser

1
Testing all video mode - but which ones are graphics ?

<uqf7p5$20ggc$1@dont-email.me>

  copy mid

https://news.novabbs.org/devel/article-flat.php?id=895&group=comp.lang.asm.x86#895

  copy link   Newsgroups: comp.lang.asm.x86
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: address@nospicedham.is.invalid (R.Wieser)
Newsgroups: comp.lang.asm.x86
Subject: Testing all video mode - but which ones are graphics ?
Date: Tue, 13 Feb 2024 08:57:32 +0100
Organization: A noiseless patient Spider
Lines: 26
Approved: fbkotler@myfairpoint.net - comp.lang.asm.x86 moderation team.
Message-ID: <uqf7p5$20ggc$1@dont-email.me>
Injection-Info: dont-email.me; posting-host="61ede365b96fa02dc7959b4803494c35";
logging-data="2115466"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/wMPQ71SeZCcnjm7JE5/fMCb/NoUovn+Y="
Cancel-Lock: sha1:IzbXMejTJX1Vjk2dGEhp9Fwjez0=
 by: R.Wieser - Tue, 13 Feb 2024 07:57 UTC

Hello all,

I've got a small program going thru all video-modi by looping AL from 80
upto FF, calling INT 10, AH=00.

I would like to find out which of those modi are graphical. Ralf Browns
memory list shows 0040:0065 to hold some bits regarding the current video
mode. In my case the lower two bits are of interrest

Mode 03, text, shows the value 01. Alas, mode 0D, graphics, also shows 01.
In fact, only modi 4 thru 6 show a 02 there, and modi 0 and 01 show a 00.
Al others show 01.

And I'm pretty sure there are few other graphics modi above mode 06 ...

tl;dr:
How do I find out if a certain mode is graphics ?

Secondary question : if the lower two bits of 0040:0065 are *not* the
current video-modes graphics and textmode capablities, what do they signify
instead ?

Regards,
Rudy Wieser

Re: Testing all video mode - but which ones are graphics ?

<zqnr3hvu3rhs$.1cu5te72jtuxr$.dlg@40tude.net>

  copy mid

https://news.novabbs.org/devel/article-flat.php?id=896&group=comp.lang.asm.x86#896

  copy link   Newsgroups: comp.lang.asm.x86
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: jj4public@nospicedham.outlook.com (JJ)
Newsgroups: comp.lang.asm.x86
Subject: Re: Testing all video mode - but which ones are graphics ?
Date: Tue, 13 Feb 2024 18:14:38 +0700
Organization: To protect and to server
Lines: 31
Approved: fbkotler@myfairpoint.net - comp.lang.asm.x86 moderation team.
Message-ID: <zqnr3hvu3rhs$.1cu5te72jtuxr$.dlg@40tude.net>
References: <uqf7p5$20ggc$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Injection-Info: dont-email.me; posting-host="61ede365b96fa02dc7959b4803494c35";
logging-data="2178080"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/rvLdGiQM1GuHTCZ6OxYvi/ieBCjpX/pA="
User-Agent: 40tude_Dialog/2.0.15.84
Cancel-Lock: sha1:LE5G8JRKtSfviDaT0oHDwaMmToo=
 by: JJ - Tue, 13 Feb 2024 11:14 UTC

On Tue, 13 Feb 2024 08:57:32 +0100, R.Wieser wrote:
> Hello all,
>
> I've got a small program going thru all video-modi by looping AL from 80
> upto FF, calling INT 10, AH=00.
>
> I would like to find out which of those modi are graphical. Ralf Browns
> memory list shows 0040:0065 to hold some bits regarding the current video
> mode. In my case the lower two bits are of interrest
>
> Mode 03, text, shows the value 01. Alas, mode 0D, graphics, also shows 01.
> In fact, only modi 4 thru 6 show a 02 there, and modi 0 and 01 show a 00.
> Al others show 01.
>
> And I'm pretty sure there are few other graphics modi above mode 06 ...
>
> tl;dr:
> How do I find out if a certain mode is graphics ?

Easy way: Use BIOS service to read a pixel. It's only applicable in graphic
video mode.

Hard way: Use the video ports to check the current type of video mode. i.e.
graphic or text.

> Secondary question : if the lower two bits of 0040:0065 are *not* the
> current video-modes graphics and textmode capablities, what do they signify
> instead ?

See Ralf Brown's Interrupt List.

Re: Testing all video mode - but which ones are graphics ?

<uqfoap$239nu$1@dont-email.me>

  copy mid

https://news.novabbs.org/devel/article-flat.php?id=897&group=comp.lang.asm.x86#897

  copy link   Newsgroups: comp.lang.asm.x86
Path: i2pn2.org!i2pn.org!news.nntp4.net!news.hispagatos.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: address@nospicedham.is.invalid (R.Wieser)
Newsgroups: comp.lang.asm.x86
Subject: Re: Testing all video mode - but which ones are graphics ?
Date: Tue, 13 Feb 2024 13:45:46 +0100
Organization: A noiseless patient Spider
Lines: 35
Approved: fbkotler@myfairpoint.net - comp.lang.asm.x86 moderation team.
Message-ID: <uqfoap$239nu$1@dont-email.me>
References: <uqf7p5$20ggc$1@dont-email.me> <zqnr3hvu3rhs$.1cu5te72jtuxr$.dlg@40tude.net>
Injection-Info: dont-email.me; posting-host="61ede365b96fa02dc7959b4803494c35";
logging-data="2208917"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19lk8EzCHWW6511D2XzKBPAFpWvZq6hVR0="
Cancel-Lock: sha1:lAf/ZxWdAGPMF51szrJhV3vfiuU=
 by: R.Wieser - Tue, 13 Feb 2024 12:45 UTC

JJ,

>> How do I find out if a certain mode is graphics ?
>
> Easy way: Use BIOS service to read a pixel.
> *It's only applicable in graphic video mode.*

(bolding mine)

Indeed. And, AFAICT, that means that *you should not be trying to use it*
in a non-graphics mode.

It also says squat about what happens if you do try. Which makes it
useless.

> Hard way: Use the video ports to check the current type of video
> mode. i.e. graphic or text.

And you don't think that suggestion is a bit ... vague ?

>> Secondary question : if the lower two bits of 0040:0065 are *not* the
>> current video-modes graphics and textmode capablities, what do they
>> signify
>> instead ?
>
> See Ralf Brown's Interrupt List.

You're a funny guy. Not.

Whats the matter ? Did you step outof bed with the wrong foot first ? :-(

Regards,
Rudy Wieser

Re: Testing all video mode - but which ones are graphics ?

<1cgermxdcsp1u$.1ty58cccosgzm$.dlg@40tude.net>

  copy mid

https://news.novabbs.org/devel/article-flat.php?id=899&group=comp.lang.asm.x86#899

  copy link   Newsgroups: comp.lang.asm.x86
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: jj4public@nospicedham.outlook.com (JJ)
Newsgroups: comp.lang.asm.x86
Subject: Re: Testing all video mode - but which ones are graphics ?
Date: Wed, 14 Feb 2024 06:26:49 +0700
Organization: To protect and to server
Lines: 34
Approved: fbkotler@myfairpoint.net - comp.lang.asm.x86 moderation team.
Message-ID: <1cgermxdcsp1u$.1ty58cccosgzm$.dlg@40tude.net>
References: <uqf7p5$20ggc$1@dont-email.me> <zqnr3hvu3rhs$.1cu5te72jtuxr$.dlg@40tude.net> <uqfoap$239nu$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Injection-Info: dont-email.me; posting-host="9b4b31abfdbdf31cc3d87e6f9ad76598";
logging-data="2428879"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX181oBvclqc6swz2HvgUqbCUhUuvnN0kSdk="
User-Agent: 40tude_Dialog/2.0.15.84
Cancel-Lock: sha1:hNZax7YZ9YPdaLKhMnlfWqSpmio=
 by: JJ - Tue, 13 Feb 2024 23:26 UTC

On Tue, 13 Feb 2024 13:45:46 +0100, R.Wieser wrote:
> JJ,
>
>>> How do I find out if a certain mode is graphics ?
>>
>> Easy way: Use BIOS service to read a pixel.
>> *It's only applicable in graphic video mode.*
>
> (bolding mine)
>
> Indeed. And, AFAICT, that means that *you should not be trying to use it*
> in a non-graphics mode.
>
> It also says squat about what happens if you do try. Which makes it
> useless.
>
>> Hard way: Use the video ports to check the current type of video
>> mode. i.e. graphic or text.
>
> And you don't think that suggestion is a bit ... vague ?
>
>>> Secondary question : if the lower two bits of 0040:0065 are *not* the
>>> current video-modes graphics and textmode capablities, what do they
>>> signify
>>> instead ?
>>
>> See Ralf Brown's Interrupt List.
>
> You're a funny guy. Not.
>
> Whats the matter ? Did you step outof bed with the wrong foot first ? :-(

Can't give fish all the time. You gotta fish yourself eventually.

Re: Testing all video mode - but which ones are graphics ?

<uqhnte$2hnco$1@dont-email.me>

  copy mid

https://news.novabbs.org/devel/article-flat.php?id=900&group=comp.lang.asm.x86#900

  copy link   Newsgroups: comp.lang.asm.x86
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: address@nospicedham.is.invalid (R.Wieser)
Newsgroups: comp.lang.asm.x86
Subject: Re: Testing all video mode - but which ones are graphics ?
Date: Wed, 14 Feb 2024 07:50:57 +0100
Organization: A noiseless patient Spider
Lines: 21
Approved: fbkotler@myfairpoint.net - comp.lang.asm.x86 moderation team.
Message-ID: <uqhnte$2hnco$1@dont-email.me>
References: <uqf7p5$20ggc$1@dont-email.me> <zqnr3hvu3rhs$.1cu5te72jtuxr$.dlg@40tude.net> <uqfoap$239nu$1@dont-email.me> <1cgermxdcsp1u$.1ty58cccosgzm$.dlg@40tude.net>
Injection-Info: dont-email.me; posting-host="9b4b31abfdbdf31cc3d87e6f9ad76598";
logging-data="2679907"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/do0IFoMWyHlS9B3wjACqJ/jiicws8a2A="
Cancel-Lock: sha1:KciTRC+7uu7ndby7HNbSdxd2q1o=
 by: R.Wieser - Wed, 14 Feb 2024 06:50 UTC

JJ,

> Can't give fish all the time. You gotta fish yourself eventually.

You know me better than that.

Besides, how do you think I found that 0040:0065 reference ?

But tell me, how come you're assuming that I didn't fish for myself ?

And by the way, nice ignoring me on calling you out on your 'peek a pixel'
suggestion.

Something odd is going on here, and I'm not at all sure anymore that you
really are JJ.

Regards,
Rudy Wieser

Re: Testing all video mode - but which ones are graphics ?

<uqkh5b$378c9$1@dont-email.me>

  copy mid

https://news.novabbs.org/devel/article-flat.php?id=902&group=comp.lang.asm.x86#902

  copy link   Newsgroups: comp.lang.asm.x86
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: nowhere@nospicedham.never.at (wolfgang kern)
Newsgroups: comp.lang.asm.x86
Subject: Re: Testing all video mode - but which ones are graphics ?
Date: Thu, 15 Feb 2024 09:14:35 +0100
Organization: A noiseless patient Spider
Lines: 7
Approved: fbkotler@myfairpoint.net - comp.lang.asm.x86 moderation team.
Message-ID: <uqkh5b$378c9$1@dont-email.me>
References: <uqf7p5$20ggc$1@dont-email.me>
Reply-To: nowhere@never.at
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Info: dont-email.me; posting-host="741c427052ced495d276c72461fcacfa";
logging-data="3385425"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/J/EYsJToOgAjgTmnuG3g7CGtxzeYwTSg="
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:kng0fc1YWpWZdyotY+q2cgznOt8=
 by: wolfgang kern - Thu, 15 Feb 2024 08:14 UTC

On 13/02/2024 08:57, R.Wieser wrote:

> I've got a small program going thru all video-modi by looping AL from 80
> upto FF, calling INT 10, AH=00.

ask again in ALA

Re: Testing all video mode - but which ones are graphics ?

<uqkr4r$39ek9$1@dont-email.me>

  copy mid

https://news.novabbs.org/devel/article-flat.php?id=903&group=comp.lang.asm.x86#903

  copy link   Newsgroups: comp.lang.asm.x86
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: address@nospicedham.is.invalid (R.Wieser)
Newsgroups: comp.lang.asm.x86
Subject: Re: Testing all video mode - but which ones are graphics ?
Date: Thu, 15 Feb 2024 11:48:06 +0100
Organization: A noiseless patient Spider
Lines: 14
Approved: fbkotler@myfairpoint.net - comp.lang.asm.x86 moderation team.
Message-ID: <uqkr4r$39ek9$1@dont-email.me>
References: <uqf7p5$20ggc$1@dont-email.me> <uqkh5b$378c9$1@dont-email.me>
Injection-Info: dont-email.me; posting-host="741c427052ced495d276c72461fcacfa";
logging-data="3459592"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1867AzLQjAY317+dty8fe6x4TJ58/OA2BE="
Cancel-Lock: sha1:7HPbybZ1urA/+Hk7bGwbLouEjcg=
 by: R.Wieser - Thu, 15 Feb 2024 10:48 UTC

Wolfgang,

>> I've got a small program going thru all video-modi by looping AL from 80
>> upto FF, calling INT 10, AH=00.
>
> ask again in ALA

alt.lang.ass I presume ? Really ? Half of it seems to be spam. But hey,
I've got little to lose.

Regards,
Rudy Wieser

1
server_pubkey.txt

rocksolid light 0.9.81
clearnet tor