At 16:39 19-8-00 +0200, you wrote:
> > > > Autodetection doesn't work with my 2nd SCC (the ROM is removed by the
> > > > dumbass previous owner), and you have to switch the SCCs on after the
> > > > <BEEP>. I prefer to type the slotnr...
> > >
> > > SCC autodetection doesn't need a ROM. The instrument data area is used
>to
> > > check the presence of an SCC.
> >
> > TEDDYWAREZ!!! ROM-independant SCC-detection NOW please!!!
>
>Sorry.... We use the instrument data... Or at least I think we do... hmm..
>or didn't we... Damn.. That routine is so old, it's even older than Blaffer
>1.0.. It's the first thing i've ever written for SCC... hehe.. I'll take a
>look... You'll here it from me... :)))
Here's the trick guys:
select slot, write 63 to #9000, then read it again, if it reads 63, then
it's most likely RAM and do the next slot, read #9900, keep the value,
write some testvalue init, read it. If the value you read is the value you
wrote, invert byte and test it again. This way you can make sure it's
writeable. Write back the original value. So if #9000 had ROM behaviour and
#9900 has RAM behaviour in the same slot, it's most likely SCC.
GreeTz, BiFi
Visit my Home Page at www.bifi.msxnet.org
mail me at: [EMAIL PROTECTED]
FTP: ftp.bifi.msxnet.org
ICQ #36126979
****
Problems? contact [EMAIL PROTECTED] See also http://www.faq.msxnet.org/
****