[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [MiNT] XaAES



On Thu, Jul 23, 2009 at 7:04 PM, Lonny Pursell<atari@bright.net> wrote:
> on 7/23/09 12:52 PM, Kåre Andersen wrote:
>
>>
>>
>> On 23. juli 2009, at 18.32, Lonny Pursell <atari@bright.net> wrote:

>>> Speaking of keyboard.c
>>>
>>> This section:
>>>
>>> # if 0
>>>    /* bit 2 of conterm variable decides, whether we
>>>     * put the shift status to the buffer or not.
>>>     */
>>>    if ((*(uchar *)0x0484L & 0x04) == 0)
>>>        c0 = 0;
>>> # endif
>>>
>>> Shouldn't this be bit 3 ??
>>>
>>>
>>> --
>>> Lonny Pursell    http://www.bright.net/~gfabasic/
>>
>> Nope, count from 0 :)
>>
>> Also, #if 0 <code> #endif is, the c preproccessor equivalent of
>> remming out a bunch of lines...
>
> Is not 0x04 -> %100 ?
> That's the bit for the system bell.
>
> I know it's used by the preproccessor but still the bit for bconin() would
> be 0x08 -> %1000
>
> Have a look at some memory map for 'conterm'.


Ah, now I see what you mean, and yes of course you are right... Still
the code is not in effect (not compiled in), so it should not affect
anything.

Snooped a bit around in the kernel sources, but have not been able to
locate the shift enabling bit anywhere else. Its probably there tho :)

/Kåre