[Coco] Checking for the presence of the S/SC

tim lindner tlindner at macmess.org
Fri Jun 2 15:15:21 EDT 2017


On Fri, Jun 2, 2017 at 11:58 AM, Rietveld Rietveld
<rietveldh at hotmail.com> wrote:
> Hi. Is there a way for a program to PEEK for the presence of the SS/C. I know a lot of older games
> would ask (prompt) you if you were using the speech sound cart.  ‎I would like the program to auto
> detect it


Write 1 then 0 to $ff7d. This will reset the S/SC.

Immediately start reading $ff7e:

If it goes from $7f to $ff, the S/SC is present.
If it stays $ff then there is no S/SC.


-- 
--
tim lindner

"Proper User Policy apparently means Simon Says."


More information about the Coco mailing list