On Mon, 20 Nov 2000, Daniel Jorge Caetano wrote:
> On Mon, 20 Nov 2000 01:29:34 +0100, Sean Young wrote:
>
> >
> >According to Portar.txt bit 6 of PSG register 14 is "On japanese machines only".
> >It's not the KANA led, that's bit 7 of PSG register 15. Does anyone know what
> >that bit does? The MSX redbook doesn't say anything. The dutch "MSX Handboek
> >for gevorderden" says the same as Portar.txt. Does anyone know what it is?
> >Do Japanese MSX computers have an extra key? (The KANA key seems to be the
> >same as the CODE key on international MSXes).
>
> Yes, it is... except by the fact the "code" in the Japanese Machines
> can be locked, in the same way Caps Lock. The "Code Lock" key was
> called Kana Key... and when it's locked, the mentioned bit (6) will
> be activated...
Caps lock is locked in software. This explanation makes me think it is not
possible to (re)set the state of the kana key in software. Is this
correct? What is the reason for making it a hardware switch?
Bye,
shevek
---
/** mastermind. input 4 numbers 0-5. output <right>.<in the right place> **/
main(){int c[4] ,x=3 ,l=getpid() ,i;; for( srand(l);c[ x]=- rand
()%6 ,x-- ;);; for( ;44> x;){ char a[9] ,*p=
"%.1f\n", b[9];x=i=0; gets(a);for (l=4 ;l-- ;)x+=-(a[l] -=48)==
(b[l ]=c[ l]); ;for (l=0;16 >i;l =++i %4)x
+=(b[i/4]+ a[l] ?0:( a[l]=b[i/4] =10)) ;printf(p,x *.1) ;};}
--
For info, see http://www.stack.nl/~wynke/MSX/listinfo.html