A.D.A. Amiga Demoscene Archive

        Welcome guest!

  

  

  

log in with SceneID

  

Demos Amiga Demoscene Archive Forum / Coding / Letting the demo run setpatch

 

Author Message
dalton
Member
#1 - Posted: 28 Sep 2016 12:14
Reply Quote
When crossdev'ing 060 stuff, for convenience, I put a call to setpatch in the demos startup code, like this:


Execute("c:setpatch", 0, 0);


Actually it's so convenient that I feel like keeping it in the release code too. Demos are often run from cli with no startup sequence which means the user often has to run setpatch manually.

Are there any drawbacks to running setpatch from the demo code? Are there systems where setpatch should _not_ be run?
britelite
Member
#2 - Posted: 29 Sep 2016 06:52
Reply Quote
For example on an AmigaOS 3.9 (maybe also 3.5) running setpatch without parameters might cause a reboot. At least on my 3.9 setup I have to run 'setpatch noromupdate' to prevent this.
blakkhar
Member
#3 - Posted: 29 Sep 2016 11:20
Reply Quote
Maybe it is better to check if SetPatch is already running and if not throw a message that the user needs to run SetPatch first?
dalton
Member
#4 - Posted: 30 Sep 2016 13:02
Reply Quote
Sounds like running setpatch automatically is a bad idea. Will settle for a text reminder. Thanks!

 

  Please log in to comment

  

  

  

 

A.D.A. Amiga Demoscene Archive, Version 3.0