Home Bounties Forums Library Downloads Links
 
 
 
/  Forum Index
   /  Hardware
      /  MorphOS for PowerUP
   /  Is it possible to close the Ambient screen?
Print Topic 
Is it possible to close the Ambient screen?

AmigaMancer
# Is it possible to close the Ambient screen?
#
Order of the Butterfly

#
Joined: 2005/8/25
Posts: 265
From:

I'm looking for a way to close the Ambient screen or quit from it completely, (permanently or not) right before or after the execution of a big program, to free some memory. Is this possible?

--
Amiga 1200 user.
»2009/11/9 9:21
Profile

tokai
# Re: Is it possible to close the Ambient screen?

MorphOS Developer

#
Joined: 2003/2/25
Posts: 1289
From: binaryriot

Should be. Depends on how many applications are Lock'ing the screen though.

To quit Ambient itself:
SetENV AMBIENTQUITHACK 1 SAVE
(might work first after a reboot; not sure right now)

Then you just go to Ambient's "Ambient" menu and choose "Quit" (will not pop up a requester anymore; so be careful. :-) )

If you need to do it from a script/ shell: "Break PORT AMBIENT" should do the trick. Maybe also requires a "WaitForPort AMBIENT LOOP 10 DISAPPEAR" if you immediately want to launch your application afterwards.

--
primate.gif binaryriot.de | tokai.binaryriot.org primate.gif
»2009/11/9 10:17
Profile Visit Website

AmigaMancer
# Re: Is it possible to close the Ambient screen?
#
Order of the Butterfly

#
Joined: 2005/8/25
Posts: 265
From:

There is not "quit" option in the Ambient menu. There is "shut down" which still pops a requester after i set the enviroment variable and rebooted.
The options that the requester gives are "shutdown" which does nothing, "reboot" which freezes my Amiga and cancel.

"Break PORT AMBIENT" also brings this requester.

--
Amiga 1200 user.
»2009/11/9 13:07
Profile

Henes
# Re: Is it possible to close the Ambient screen?

MorphOS Developer

#
Joined: 2003/6/14
Posts: 323
From:

Try http://aminet.net/package/util/cli/CloseWorkBench
»2009/11/9 13:51
Profile Visit Website

AmigaMancer
# Re: Is it possible to close the Ambient screen?
#
Order of the Butterfly

#
Joined: 2005/8/25
Posts: 265
From:

CloseWorkbench works. Thanks.

--
Amiga 1200 user.
»2009/11/9 16:36
Profile

tokai
# Re: Is it possible to close the Ambient screen?

MorphOS Developer

#
Joined: 2003/2/25
Posts: 1289
From: binaryriot

Next time mention which Ambient do you use. Sounds like you're using some old Ambient from PowerUP 1.4 release.

--
primate.gif binaryriot.de | tokai.binaryriot.org primate.gif
»2009/11/9 16:40
Profile Visit Website

Motosampy
# Re: Is it possible to close the Ambient screen?
#
Acolyte of the Butterfly

#
Joined: 2004/8/14
Posts: 133
From: Järvenpää, Finland

Setting this env variable does not bring any Quit option on Ambient 1.43 (10/10/2009)
»2009/11/9 19:50
Profile

AmigaMancer
# Re: Is it possible to close the Ambient screen?
#
Order of the Butterfly

#
Joined: 2005/8/25
Posts: 265
From:

@Tokai
Quote:

Next time mention which Ambient do you use.

Ambient 1.43 (Thursday 31 January 2008)
I can't download a newer version from morphosambient.sourceforge.net because all nighty build links aren't working anymore. They lead to the "Czech PowerPC User Group" site instead of a tgz file.

Quote:

Sounds like you're using some old Ambient from PowerUP 1.4 release.

Yes. That's why i opened the thread in the PowerUP forum.

--
Amiga 1200 user.
»2009/11/10 3:31
Profile

tokai
# Re: Is it possible to close the Ambient screen?

MorphOS Developer

#
Joined: 2003/2/25
Posts: 1289
From: binaryriot

Ah right, didn't noticed that. Aww. Well, morphzone usability strikes back. ;-)


BTW. nightly builds were just straight compiles from CVS. So if you have a SDK installed you should be able to build an Ambient yourself rather easily. Basically you just enter "make". Two issues could arrive: first you need a properly build png2c (ixemul version) and second if you don't have a compiler with AltiVec support you might need to disable Ambient's AltiVec support in the makefiles and the config.h's (for Ambient and it's sub-libraries). But that's easy, too.

Don't think anyone else will bother making new MorphOS 1.4 compatible builds (at least I don't ;-) ). So better do it yourself. It's really not that hard, just might sound scary! :-)

--
primate.gif binaryriot.de | tokai.binaryriot.org primate.gif
»2009/11/10 6:16
Profile Visit Website

tokai
# Re: Is it possible to close the Ambient screen?

MorphOS Developer

#
Joined: 2003/2/25
Posts: 1289
From: binaryriot

@Motosampy:

Right, it seems that this feature needs to be explicitly compiled in. I remembered wrongly that we had it enabled by default at some point.

See line 98 and following:
http://morphosambient.cvs.sourceforge.net/viewvc/morphosambient/ambient/main.c?view=markup

--
primate.gif binaryriot.de | tokai.binaryriot.org primate.gif
»2009/11/10 6:24
Profile Visit Website

Andreas_Wolf
# Re: Is it possible to close the Ambient screen?
#
Paladin of the Pegasos

#
Joined: 2003/5/22
Posts: 1558
From: Chemnitz, Germany

> I can't download a newer version from morphosambient.sourceforge.net
> because all nighty build links aren't working anymore.

You can get a version from March 2009 from geit's home server:

ftp://ambient:ambient@geitathome.dyndns.org/betas/Ambient/MorphOS_1.4.5_only/
»2009/11/10 12:22
Profile

AmigaMancer
# Re: Is it possible to close the Ambient screen?
#
Order of the Butterfly

#
Joined: 2005/8/25
Posts: 265
From:

Cool. Thank you all.

--
Amiga 1200 user.
»2009/11/10 14:23
Profile
Print Topic 
«  Previous Topic  |  Next Topic  »

Permissions

You cannot post.
You cannot edit.
You cannot add polls.
You cannot attach files.
You cannot reply.
You cannot delete.
You cannot vote.
XML

 
MorphZone engine core provided by RunCMS ©1995 - 2007 RunCMS, Modifications ©2001 - 2009 MorphZone.
RunCms Copyright © 2002 - 2010
- Free Opensource CMS System - 
- Click here to visit our mainsite! -
Design By André Siegel