-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
27 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
; $VER: StartNode 1.4 (2020-06-07) | ||
; created by Dimitris Panokostas ([email protected]) | ||
; | ||
; This AmigaDOS script starts up the Lightwave ScreamerNet-II program with the right parameters | ||
; It will automatically increment the node number until it finds one that is not used already. | ||
; | ||
|
||
ECHO "********************************************" | ||
ECHO "Lightwave ScreamerNet-II node script v1.4 starting..." | ||
ECHO "Lightwave command directory to use: Command:" | ||
ECHO "********************************************" | ||
SetEnv NodeNumber 1 | ||
|
||
LAB MakeName | ||
If Exists Command:ack$NodeNumber | ||
SetEnv NodeNumber `Eval $NodeNumber + 1` | ||
SKIP MakeName Back | ||
EndIf | ||
|
||
Set jobNumber job$NodeNumber | ||
Set ackNumber ack$NodeNumber | ||
|
||
CD Toaster: | ||
LWSN.FP -2 -cToaster:LightWave_Support/LW-config Command:$jobNumber Command:$ackNumber | ||
|
||
; Quit emulator when ScreamerNet shuts down | ||
C:UAEquit |