💾 Archived View for mirrors.apple2.org.za › archive › ground.icaen.uiowa.edu › MiscInfo › Programmin… captured on 2023-01-29 at 10:18:20.

View Raw

More Information

-=-=-=-=-=-=-



"Simon Williams" <*email*@*luddite.ca*> wrote in message
news:351948.MFQBIMJX@news.telusplanet.net...
> Is it possible to set the processor speed via applesoft on a GS? I have
> a few disks with 8-bit audio programs that need 1Mhz, so I would like to
> have the startup program set the speed rather than having to do it man-
> ually... yep, I'm lazy ;-)
>

The speed register is located at $C036.  If the high bit is set then the Apple
IIGS is running at 2.8MHz.  If the high bit is not set then it is running at
1MHz.  There are other bits in the register that you don't want to mess with,
so if you do change the speed make sure that you don't change the other bits.
I don't remember doing it from Applesoft BASIC but I don't see why you couldn't
peek, modify and poke.

Charlie