Amiga.org
Amiga computer related discussion => Amiga Software Issues and Discussion => Topic started by: keropi on May 03, 2007, 07:45:40 PM
-
I want to make a script to turn off cpu caches, run the prog, and when the prog exits to enable the caches again....
the command I need to run is: gg FAST
I tried a simple script, but the cpu_enable-cache command does not execute _after_ gg quits... (reminds me of win9x DOS scripts made to unpack rip-games, I wish there was a startx command for amiga! or is there one? it launches a prog, but the batch file does not continue until startx is finished...)
why? when using a GoldeGate3/486 card on a cpu higher than 030, it is advised in order to run OK, to disable the amiga cpu caches... on my csppc with socketed oscillators, when I use the 64mhz one for the 060 the GG program does not even start! so I reverted to 50mhz, but still need a better solution to run the GG software reliably...
any ideas??
thanks! :-D
-
c:cpu NOCACHE will turn off your caches.
So something like:
c:cpu NOCACHE
gg FAST
c:cpu CACHE
will turn it back on. Run the script with execute, or make it executable: protect script +E
Check the cpu command for more info "cpu ?"
Edit: Oh, just saw: you saying that the c:cpu CACHE part will not execute after gg exits...
-
yes, I know that Mr !
what I want to do is have the script to wait until GG FAST exits, and then enable the caches again...
GG FAST is the prog that runs while u use the goldengate card... it opens a small window on wb... the prob is that caches are enabled again after the window creation...
-
Ok, if you dont find an answer here, pop by the irc channel, I have something on my mind. :-D