Hi MSX coders!

The Sony 900 series is a great, but a bit strange machine! This is
probably the only MSX machine that doesn't like wrong bits in PSG
register 7...  I base this statement on the fact that some programs
don't work correctly on this machine. E.g.: The Shrines of Enigma
(joystick control doesn't work), The Futuredisk (Mouse/Joystick doesn't
work after a sound-effect, already contacted the author), the old
version of Bomberman (Antal, the author helped me to find the problem,
and found it! Thanks!), ... and maybe more.

So, what is the problem? It's the direction-bits of PSG register 7! I
quote from The MSX RED book:

PSG REGISTER 7:
    This register enables or disables the Tone Generator and
Noise Generator for each of the three channels: 0=Enable
1=Disable. It also controls the direction of interface ports A
and B, to which the joysticks and cassette are attached:
0=Input, 1=Output. Register 7 must always contain 10xxxxxx or
possible damage could result to the PSG, there are active
devices connected to its I/O pins. The BASIC "SOUND" statement
will force these bits to the correct value for Register 7 but
there is no protection at the machine code level.
--------------

So, be careful that the left  2 bits are always "10"!!! This was the
mistake Antal made in Bomberman. And probably it's the mistake Jan van
Valburg made in The Shrines of Enigma! And the same goes for Jeroen
Smael of The Futuredisk. 

Appearantly, this only gives trouble in case of the Sony 900 series...
So, I  beg you coders: take care when writing to PSG register 7!!

With thanks to Antal van Kalleveen of Paragon Productions...

Antal also told me that this bug is in a routine published in the Dutch
Magazine MCCM 71, in "Noorder Baken". So watch out, if you use this
routine!

-- 
Grtjs, Manuel

PS: MSX 4 EVER!
PPS: Visit my homepage at http://studs.sci.kun.nl:8888/manuelbi or 
http://www.sci.kun.nl/marie/home/manuelbi (mirror, only use it when the
other URL gives trouble (e.g. server offline))
****
MSX Mailinglist. To unsubscribe, send an email to [EMAIL PROTECTED] and put
in the body (not subject) "unsubscribe msx [EMAIL PROTECTED]" (without the
quotes :-) Problems? contact [EMAIL PROTECTED] (www.stack.nl/~wiebe/mailinglist/)
****

Reply via email to