Re: PSG R#14 bit 6?

2000-11-20 Thread B. Wijnen

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;16i;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



Re: PSG R#14 bit 6?

2000-11-20 Thread Sean Young

On Mon, Nov 20, 2000 at 01:22:14AM -0400, 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...

Hmm how exactly does this work? Is this bit set in hardware or in software?

It doesn't make sense though. I haven't emulated this bit at all, but still
the KANA led works fine, and it stays in KANA mode till you press it again.


Sean


--
For info, see http://www.stack.nl/~wynke/MSX/listinfo.html



Re: Gevraagd

2000-11-20 Thread eMeSiX



 - Kingsvalley 2 ( only ROM) 
oke is goed.
mail me [EMAIL PROTECTED]


Re: PSG R#14 bit 6?

2000-11-20 Thread Manuel Bilderbeek

   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...

The CODE key can also be locked on the (European) Philips VG-8010 (and VG-8000, which 
is the same, but has only 16kB RAM). Funny.

Grtjs, Manuel

PS: MSX 4 EVER! (Questions? See: http://www.faq.msxnet.org/)
PPS: Visit my home page at http://bilderbeek.cjb.net/ 



--
For info, see http://www.stack.nl/~wynke/MSX/listinfo.html



Re: web translator japanese- english ????

2000-11-20 Thread Manuel Bilderbeek

  I was not talking about font sizes, Laurens. Please read more
  carefully.
 
 I said none of the like.

Erm, you were talking about font-sizes:

[EMAIL PROTECTED] said:
Yes. You can define the font-size in CSS, right? This must be done
with characters, like small, large, xx-large, etc. Well, there are
seven possible sizes, and every one equals a HTML FONT SIZE= number.
In IE, this is rendered correctly. In Netscape however, it's all
rendered one 'size' smaller. This is very annoying and my MSX ICQ list
at www.msx.org (small commercial break) renders too small in Netscape
because of that.

But okay, let's forget about this.


Grtjs, Manuel

PS: MSX 4 EVER! (Questions? See: http://www.faq.msxnet.org/)
PPS: Visit my home page at http://bilderbeek.cjb.net/ 



--
For info, see http://www.stack.nl/~wynke/MSX/listinfo.html



Re: PSG R#14 bit 6?

2000-11-20 Thread Sean Young

On Mon, Nov 20, 2000 at 12:16:01PM +0100, Manuel Bilderbeek wrote:
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...
 
 The CODE key can also be locked on the (European) Philips VG-8010 (and
 VG-8000, which is the same, but has only 16kB RAM). Funny.

Hmm how does it work on these machines? Does the actual key toggle? Or
is there a led which goes on? How does it work in software?


Sean Young


--
For info, see http://www.stack.nl/~wynke/MSX/listinfo.html



Re: PSG R#14 bit 6?

2000-11-20 Thread Manuel Bilderbeek

  The CODE key can also be locked on the (European) Philips VG-8010 (and
  VG-8000, which is the same, but has only 16kB RAM). Funny.
 
 Hmm how does it work on these machines? Does the actual key toggle? Or
 is there a led which goes on? How does it work in software?

I dunno about any details, but as far as I remember, the CODE key works exactly the 
same as the CAPS LOCK key, it has its own LED on those Philips machines.

For Japanese machines it is probably to lock the keyboard for Japanese characters like 
katakana or hiragana.


Grtjs, Manuel

PS: MSX 4 EVER! (Questions? See: http://www.faq.msxnet.org/)
PPS: Visit my home page at http://bilderbeek.cjb.net/ 



--
For info, see http://www.stack.nl/~wynke/MSX/listinfo.html



Re: SPRITE OF TWO COLORS IN ASSEMBLER

2000-11-20 Thread Andrea Gasparrini



Andrea Gasparrini wrote:

 Hi to all you of MSX,

 I am Andrea and I write from Italy for a programming problem on the
 assembler language.
 With this routine that follows it is possible obtain a multicolor
 sprite, a sprite of two color:

 SPRITE OF TWO COLORS.

 Varying in the table of the attribute of the sprite the element in
 relation with the name and the color of the sprite to every video
 scansion, it is possible produce sprite that they are to all appearances
 of two color. He is suggested of following the method that follows:
 Before all determines in two modes the sprite: a definition for each
 colors.
 The definitions must reside in the retinue VIDEO RAM to the other, in
 mode that the definitions 0 and 1 determine a first multicolors sprite,
 the definitions 2 and 3 a second and like that street.
 On the routine in assembler I have noted that there is an error on the
 line:
 SPSWIT: LD HL,SATTAB
 In fact to me this routine not works me, praies you of helps it to make
 it works, with some modification.
 The routine that follows illustrious when dictates:

 SPSWTB: DEFS 32
 SPSWIT: LD HL,SATTAB
LD DE,SPSWTB
LD B,32
 SPSWLP: CALL 004AH
 CP 0D0H
 RET Z
 INC HL
 INC HL
 CALL 004AH
 XOR 1
 LD C,A
 CALL 004DH
 INC HL
 LD A,(DE)
 AND A
 RR C
 JR C,SKP
 SLA A
 SLA A
 SLA A
 SLA A
 SKP:AND 15
 LD C,A
 CALL 004AH
 AND 80H
 OR C
 CALL 004DH
 INC HL
 INC DE
 DJNZ SPSWLP
 RET

 Sent soon yours good news
 Answering to the address: [EMAIL PROTECTED]

 Goodbye to all you.

 Andrea Gasparrini from Italy.


--
For info, see http://www.stack.nl/~wynke/MSX/listinfo.html



Re: VIDEO RAM FOR SCREEN1

2000-11-20 Thread Andrea Gasparrini



Andrea Gasparrini wrote:

 Hi to all you of MSX,

 I am Andrea and I write from Italy for a problem with a routine that
 allows of saving and loading a video page for it SCREEN1, I want to that
 this routine wrought for two video pages for it SCREEN1, praies you of
 helps it.
 The routine that follows illustrious when called for a video page:

 SAVE VIDEO RAM FOR SCREEN1

 LD HL,01800H
 LD DE,0BD00H
 LD BC,0300H
 CALL 0059H
 RET

 LOAD VIDEO RAM FOR SCREEN1

 LD HL,0BD00H
 LD DE,01800H
 LD BC,0300H
 CALL 005CH
 RET

 Sent soon yours good news
 Answering to the address: [EMAIL PROTECTED]

 Goodbye to all you.

 Andrea Gasparrini from Italy.


--
For info, see http://www.stack.nl/~wynke/MSX/listinfo.html



Re: SPRITE OF TWO COLORS IN ASSEMBLER

2000-11-20 Thread Eric . Boon



Andrea Gasparrini wrote:



 Andrea Gasparrini wrote:

[something about sprites]



Ehrm... I've read your mail several times, but I'm unable to

understand anything of it, apart from the fact that it has

something to do with sprites in 2 colors :-(



By the way, there's no use in reposting your message.

It got through the first time.



 Eric




--
For info, see http://www.stack.nl/~wynke/MSX/listinfo.html