<< Previous Message Main Index Next Message >>
<< Previous Message in Thread This Month Next Message in Thread >>
Date   : Sun, 31 Dec 2000 13:31:57 +0000
From   : Ben Newsam <ben@...>
Subject: Re: [None]

In message <001231035107@...>, Jonathan Graham Harston
<jgh@...> writes
>Ben Newsam <ben@...> wrote:
>> The "official" way I was told to detect the US MOS was that on a British
>> Beeb, INKEY(-256) would return -1, whereas in the US it would not.
> 
>Unfortunatley, US Beeb => not returning -1 => does not mean not returning
>-1 => US Beeb.
> 
>My cat has four legs. That dog has four legs, therefore that dog is a cat.

Indeed. It's just a pity that that's not how they phrased it at the time
when it was necessary to distinguish only between dogs and cats.

>> Does anyone know how INKEY with such negative values actually works?
> 
>Osbyte0 returns what type of host hardware you're running on.  INKEY-256
>(Osbyte 129,&FF00) returns the varient of the hardware, viz:

<List snipped>

Thanks for that. An almost complete list, well done. Does INKEY with
other negative values return anything?
-- 
Ben
<< Previous Message Main Index Next Message >>
<< Previous Message in Thread This Month Next Message in Thread >>