On Tue, 21 Nov 2000, Maarten ter Huurne wrote:
> > > "0" for syllable layout; "1" for JIS layout
>
> Syllable is not just letters, but special groups ("lettergrepen" in Dutch).
> For example, "syllable" itself contains syllables "syl", "la" and "ble".
>
> JIS is "Japanese International Standard", it encodes the latin alphabet,
> kanas and kanji.
>
> What I meant, is that I don't know what MSX hardware function this bit
> controls.
Perhaps there are two types of japanese keyboard (as europeans have
querty/azerty keyboards). If this is the case, this bit could be read to
check the attached keyboard type.
Perhaps someone who owns a japanese computer can test this. If you can't
write your own test program, let me know and I'll do it.
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