Konami Man wrote:
:IF INP(&HC4)=255 THEN no moonsound is present.
WRONG!!! This is the way you'll have to detect the Music-Module (well, on
another I/O-port, but anyway).
The right way to do it is as follows:
OUT &HC6,5:OUT &HC5,&B11 'Enable wave registers
OUT &H7E,2:MS=INP(&H7F) 'Get ID-bits
Bits 5-7 are the ID-bits, so if the result is 255 (nothing on the I/O-ports)
or <32 (lower ID-number) then there is no MoonSound connected.
The other way Konami Man suggested works too, but this is the 'official'
way.
~Grauw
****
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/)
****