![]() |
![]() |
|
|
|||||||
| Register | >> Amiga FAQ/Wiki << | Rules & Help | Members List | / Moderators ListSearch | Today's Posts | Mark Forums Read |
![]() |
|
|
LinkBack | Thread Tools |
|
|
#1 |
|
Registered User
|
Possible to run a program from CLI in background?
I was wondering if it's possible in startup-sequence to run fx. a module player and then a GFX viewer without exiting the module player first.
So I kind of have it all running at the same time. Thanks Volt. |
|
|
|
|
|
|
|
Advertisement:
|
|
|
#2 |
|
Registered User
Join Date: Jan 2002
Location: Germany
Posts: 3,964
|
Code:
run <nil: >nil: work:players/moduleplayer |
|
|
|
|
|
#3 |
|
Registered User
|
That worked great, thanks a lot
![]() Volt. |
|
|
|
|
|
#4 |
|
Registered User
Join Date: Dec 2011
Location: Northampton, UK
Age: 31
Posts: 918
|
can this example be used to launch Genesis in the background and auto connect to the network at boot?
__________________
View my Amiga CD1200 Project here: http://eab.abime.net/hardware-pics/66510-my-amiga-cd1200-project.html
|
|
|
|
|
|
#5 |
|
Registered User
Join Date: Jan 2002
Location: Germany
Posts: 3,964
|
It can be used to launch Genesis. Everything else needs to be configured in GenesisPrefs (auto-connect, hide GUI).
|
|
|
|
|
|
#6 |
|
Registered User
|
Is it possible to use the run command without getting a disk requester?
Volt. |
|
|
|
|
|
#7 |
|
Registered User
Join Date: Jan 2002
Location: Germany
Posts: 3,964
|
Run does not throw a disk requester. It's something you did. Which disk does it request?
|
|
|
|
|
|
#8 |
|
Registered User
|
It requests the disk with the startup-sequence (Boot disk) but I'm loading files from second disk. Without run command it doesn't request the boot disk.
I'm not using libraries or anything beside "system-configuration" but that should be pre-loaded when I load files from disk 2. Volt. The startup-sequence where it requests looks like this: run <NIL: >NIL: ram:iffview disk2:1.iff ram:wait 20 run <NIL: >NIL: ram:iffview disk2:2.iff after wait 20 it requests boot disk iffview do not require other stuff to load. Last edited by VoltureX; 13 January 2012 at 16:32. |
|
|
|
|
|
|
|
Advertisement:
|
|
|
#9 |
|
Registered User
Join Date: Jan 2002
Location: Germany
Posts: 3,964
|
This script does not contain any "run".
Which OS version is it? |
|
|
|
|
|
#10 |
|
Registered User
|
I'm booting from a floppy on kickstart v3.1
|
|
|
|
|
|
#11 |
|
Registered User
|
copy c:wait ram:
copy iffview ram: copy justplay ram: copy poltergeisttheme.mod ram: ram:IffView insertdisk2.iff run <NIL: >NIL: ram:justplay ram oltergeisttheme.modrun <NIL: >NIL: ram:iffview Poltergeist2-2:intro.iff ram:wait 20 run <NIL: >NIL: ram:iffview Poltergeist2-2:1.iff ram:wait 20 run <NIL: >NIL: ram:iffview Poltergeist2-2:2.iff ram:wait 20 run <NIL: >NIL: ram:iffview Poltergeist2-2:3.iff ram:wait 20 run <NIL: >NIL: ram:iffview Poltergeist2-2:4.iff ram:wait 20 run <NIL: >NIL: ram:iffview Poltergeist2-2:5.iff ram:wait 20 run <NIL: >NIL: ram:iffview Poltergeist2-2:6.iff ram:wait 20 run <NIL: >NIL: ram:iffview Poltergeist2-2:7.iff ram:wait 20 run <NIL: >NIL: ram:iffview Poltergeist2-2:8.iff ram:wait 20 run <NIL: >NIL: ram:iffview Poltergeist2-2:9.iff ram:wait 20 run <NIL: >NIL: ram:iffview Poltergeist2-2:10.iff ram:wait 20 run <NIL: >NIL: ram:iffview Poltergeist2-2:11.iff ram:wait 20 run <NIL: >NIL: ram:iffview Poltergeist2-2:12.iff ram:wait 20 run <NIL: >NIL: ram:iffview Poltergeist2-2:13.iff ram:wait 20 run <NIL: >NIL: ram:iffview Poltergeist2-2:14.iff ram:wait 20 run <NIL: >NIL: ram:iffview Poltergeist2-2:15.iff ram:wait 20 run <NIL: >NIL: ram:iffview Poltergeist2-2:16.iff ram:wait 20 run <NIL: >NIL: ram:iffview Poltergeist2-2:17.iff ram:wait 20 run <NIL: >NIL: ram:iffview Poltergeist2-2:1.iff ram:wait 20 run <NIL: >NIL: ram:iffview Poltergeist2-2:2.iff ram:wait 20 run <NIL: >NIL: ram:iffview Poltergeist2-2:3.iff ram:wait 20 run <NIL: >NIL: ram:iffview Poltergeist2-2:4.iff ram:wait 20 run <NIL: >NIL: ram:iffview Poltergeist2-2:5.iff ram:wait 20 run <NIL: >NIL: ram:iffview Poltergeist2-2:6.iff ram:wait 20 run <NIL: >NIL: ram:iffview Poltergeist2-2:7.iff ram:wait 20 run <NIL: >NIL: ram:iffview Poltergeist2-2:8.iff ram:wait 20 run <NIL: >NIL: ram:iffview Poltergeist2-2:9.iff ram:wait 20 run <NIL: >NIL: ram:iffview Poltergeist2-2:10.iff ram:wait 20 run <NIL: >NIL: ram:iffview Poltergeist2-2:11.iff ram:wait 20 run <NIL: >NIL: ram:iffview Poltergeist2-2:12.iff ram:wait 20 run <NIL: >NIL: ram:iffview Poltergeist2-2:13.iff ram:wait 20 run <NIL: >NIL: ram:iffview Poltergeist2-2:14.iff ram:wait 20 run <NIL: >NIL: ram:iffview Poltergeist2-2:15.iff ram:wait 20 run <NIL: >NIL: ram:iffview Poltergeist2-2:16.iff ram:wait 20 run <NIL: >NIL: ram:iffview Poltergeist2-2:17.iff ram:wait 20 ram:iffview Poltergeist2-2:end.iff After "ram:wait 20" where it will load "1.iff" it requests disk1 |
|
|
|
|
|
#12 |
|
Registered User
Join Date: Sep 2010
Location: Croydon, UK
Posts: 44
|
Run is a program in C:. When you change the disk it won't be available. Copy C:Run Ram: and change the "run" lines to ram:run or change the directory.
|
|
|
|
|
|
#13 |
|
Registered User
|
It still doens't work. Somehow the iffview needs something on disk 1 I guess.
|
|
|
|
|
|
#14 |
|
Registered User
Join Date: Sep 2010
Location: Croydon, UK
Posts: 44
|
|
|
|
|
|
|
#15 |
|
Registered User
|
I do not have anything in Libs:
|
|
|
|
|
|
|
|
Advertisement:
|
|
|
#16 |
|
Registered User
Join Date: Jan 2002
Location: Germany
Posts: 3,964
|
I tried it and you are right. It does this, no matter what I tried. Even if I reassign all existing assigns to RAM: it asks for the boot disk.
What I didn't yet try is this: rename your current startup-sequence as slideshow-startup and put this in to startup-sequence: Code:
cd ram: newshell from s:slideshow-startup endcli |
|
|
|
|
|
#17 |
|
The 1 who ribbits
|
wow this is strange
so it shows the Poltergeist2-2:intro.iff pic ok first but dos`t display Poltergeist2-2:1.iff I will suggest you make wait resident save loading it every time u use it so instead of "copy c:wait ram:" try "Resident >NIL: C:wait PURE" then you can change the "ram:wait 20" to just "wait 20" hope thomas suggestion works out for ya
__________________
When in dought RIBBIT .... If it dos`t work hit it with a hammer, if that dos`t work get a bigger hammer.......... Have U scen my sanity Pill`s . . . . . . . . . . . . . . // This Years Software on Last Years Hardware \\//-- Amiga -- |
|
|
|
|
|
#18 |
|
Registered User
|
Thanks for all the help information you came up with. I went back to my old method of setting up the slideshow. I crunched all that I could and still had enough space for everything
![]() A 2 disk noise and GFX is soon running ![]() regards Volt. |
|
|
|
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| CLI program to resturn joy direction or fire button. | olesio | request.Apps | 26 | 04 November 2011 18:18 |
| CLI program to make mouse pointer dissapear on KS 3.X | Gaula92 | request.Apps | 5 | 21 October 2011 14:49 |
| Cli program to "execute" .info files | olesio | support.Apps | 4 | 05 September 2010 19:19 |
| Cant run AnimatED....anyone every used this great program? | mrbob2 | support.Apps | 2 | 20 June 2009 13:13 |
| Calling another program from a compiled Amos program...? | andyr | support.Apps | 3 | 24 October 2004 23:47 |