Skip to content

Instantly share code, notes, and snippets.

@indigolemon
Last active August 31, 2018 17:14
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save indigolemon/0327a87b2ea98ec0350d97edc608d483 to your computer and use it in GitHub Desktop.
Save indigolemon/0327a87b2ea98ec0350d97edc608d483 to your computer and use it in GitHub Desktop.
Small script to enable the PowerPC processor in my Amiga 1200
In S:Startup-Sequence I added the line:
SETENV PPCStarted 0
The below is contained in S:StartPPC, which I added to the tools menu via THE
IF `GETENV PPCStarted` NOT EQ 1
IF `RequestChoice "StartPPC?" "Are you sure you want to start*nthe PowerPC?" "_Yes" "_No"` NOT EQ 0
C:PoolMem REMOVE >NIL:
Assign LIBS: SYS:libs/powerpc ADD
Run >NIL: <NIL: C:InitPPC
C:PoolMem INSTALL NOMERGE >NIL:
SETENV PPCStarted 1
RequestChoice >NIL: "PowerPC Started" "Good news everyone!*nThe PowerPC processor is alive!" "_Huzzah!"
ENDIF
ELSE
RequestChoice >NIL: "PowerPC Already Started" "The PowerPC is already running!" "_Ooops!"
ENDIF
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment