Login
Username:

Password:

Remember me



Lost Password?

Register now!

Sections

Who's Online
75 user(s) are online (54 user(s) are browsing Forums)

Members: 1
Guests: 74

salass00, more...

Support us!

Headlines

 
  Register To Post  

« 1 (2)
Re: Hello!
Just popping in
Just popping in


See User information
I've now got a working version of OS4Reboot (currently retitled as PowerReboot) that can power off the system:

Resized Image

I've still got a bit of work to do before it is ready for release, but hopefully it won't be too long.

Kind regards,

Francis

Go to top
Re: Hello!
Quite a regular
Quite a regular


See User information
Impressive ! can not wait to test and include it in my dock !

Go to top
Re: Hello!
Just can't stay away
Just can't stay away


See User information
@dfstudios

It looks very much like the feature which was included in the Workbench menu in 4.1FE Update 2 a couple of years ago.

From the ChangeLog.guide of Update 2:
Quote:
workbench.library v53.62

NEW
o Added "Shutdown..." menu item which opens a requester allowing
to select between doing a soft reset, a hard reset or a power
off (if supported).
Before a reset or power off is performed all filesystems will
be flushed and inhibited.

Note that I'm not trying to put down your work, I'm sure it's a good experience to create this program - I also make more or less useful programs myself just in order to learn and practice.

And of course your program may well have features the builtin one doesn't, I haven't tried yours. At least the builtin one creates a much smaller requester, which may or may not be an advantage; it's probably a matter of taste.

But just wanted to make sure you were aware of this .

Best regards,

Niels

Go to top
Re: Hello!
Quite a regular
Quite a regular


See User information
@dfstudios

Quote:
dfstudios wrote:I've now got a working version of OS4Reboot (currently retitled as PowerReboot) that can power off the system:

Resized Image

I've still got a bit of work to do before it is ready for release, but hopefully it won't be too long.


Soft Reboot/Hard Reboot/Shutdown is already available from AmigaOs4.1 Update 2 via the WB menu, but I also know your tool and find it nicer and you can start it quickly via AmiDock.

Before you publish your tool on Os4Depot or your website (yes I have already visited it) is there a possibility that we could translate the tool into German? I would do the translation myself if your tool also supports catalog files.

MacStudio ARM M1 Max Qemu//Pegasos2 AmigaOs4.1 FE
Go to top
Re: Hello!
Just popping in
Just popping in


See User information
@nbacheQuote:
nbache wrote:@dfstudios

It looks very much like the feature which was included in the Workbench menu in 4.1FE Update 2 a couple of years ago.

Thanks for your comments, they are genuinely appreciated.

Before I got my A1222, I did have plans to revisit my OS4Reboot tool which I probably last looked at in 2005 or 2006 (wow, how time flies! ) when I still had my Micro-A1 (I unfortunately had to sell it along with some other things due to unexpected money issues at the time). When I got the A1222 and discovered it already had this functionality I originally decided to forget about OS4Reboot, but due to interest here I decided to go ahead with giving it an overhaul.

I don't have a lot of C programming experience (I'm more of a BASIC guy), so as you said this is a good opportunity to learn and practice. Plus, it also gives me the opportunity to add features and fix things that I wanted to do first time round.

Kind regards,

Francis

Go to top
Re: Hello!
Just popping in
Just popping in


See User information
@MaijestroQuote:
Before you publish your tool on Os4Depot or your website (yes I have already visited it) is there a possibility that we could translate the tool into German? I would do the translation myself if your tool also supports catalog files.

Having different translations is one of the things on my list that I definitely want to add. I just need to have a look at how best to do this.

Kind regards,

Francis

Go to top
Re: Hello!
Just can't stay away
Just can't stay away


See User information
@dfstudios

The best place to learn about how to implement localization of your program is the CatComp.doc in SDK:Documentation/Tools/Locale/ - I've just done it to a small program I'm working on.

Find all the strings you need to localize in your program and create a .cd (catalog description) file with them. Using that file and your source file(s), you can make CatComp create the necessary header file with the strings and code for a GetString function, which you then call in your code as a replacement for each string.

Later, you can make CatComp create, based on the .cd file, a .ct (catalog translation) file in which the translator can enter the translated strings, and then CatComp can compile the finished .catalog file from the .cd and .ct files.

In broad terms, that should be it, but read though the doc, and all should be clear.

Best regards,

Niels

Go to top
Re: Hello!
Just popping in
Just popping in


See User information
@nbache

Thanks Niels, that saved me having to look for it.

I've also found the example HelloWorld program related to this which I'm currently looking through to see how it is implemented.

Kind regards,

Francis

Go to top
Re: Hello!
Just popping in
Just popping in


See User information
@nbache

That's me added Locale support to PowerReboot. Thanks again for the pointer Niels.

English (built-in):

Resized Image


And a few other languages available via catalogs:

Resized Image


Resized Image


Resized Image


The translations were done using AI, so I don't know how well they translated. I'll likely leave it to others to add in translations.

The screenshots also show the new feature of being able to optionally hide the soft boot option (configurable via the icon ToolTypes).

It's late here, and I've not long got the Locale stuff implemented. The code and the catalog will need tidied up a bit before being ready for release.

Kind regards,

Francis

Amiga 1200 with Apollo IceDrake
Amiga 1222+ with RadeonRX 550
Go to top
Re: Hello!
Quite a regular
Quite a regular


See User information
@dfstudios

The German translation is perfect and reads as it should. cool....PowerBoot is already in use, I run it via AmiDock, but I always have to click on it twice for the menu to be displayed.

Thank you for wanting to translate your tool into other languages 😉

MacStudio ARM M1 Max Qemu//Pegasos2 AmigaOs4.1 FE
Go to top
Re: Hello!
Just popping in
Just popping in


See User information
@MaijestroQuote:
Maijestro wrote:@dfstudios

The German translation is perfect and reads as it should. cool....PowerBoot is already in use, I run it via AmiDock, but I always have to click on it twice for the menu to be displayed.

Thank you for wanting to translate your tool into other languages 😉

Thanks for confirming the translation, although there are other bits of language not shown in the screenshots.

It seems to be a common issue that people are having with the double-click from the dock. PowerReboot was designed to be run first to load it into memory which allows it to create the entry in the Workbench's Tools menu and run as a commodity. Subsequent runs will bring up the requester if it has been configured that way. Running it as a WBStartup item (you'll need to add DONOTWAIT to the icon ToolTypes - I forgot to add this in the 0.8 release ) will do this. The guide explains this, but I'm wondering how I can make it clearer for the end user.

The current developmental version adds a NONRESIDENT ToolType so it won't remain in memory and can activate the requester on the initial run of the program.

Kind regards,

Francis

Amiga 1200 with Apollo IceDrake
Amiga 1222+ with RadeonRX 550
Go to top
Re: Hello!
Quite a regular
Quite a regular


See User information
@dfstudios
I wonder if support for amigaone could be added as well. The pegasos2 and amigaone in QEMU use the same VIA chip emulation (with some differences for VT82c686B and VT8231) but only the pegasos2 version has shutdown in 4.1FE Update 2. The amigaone also has the necessary power management registers for shutdown but AmigaOS does not use it. Maybe it does not use it on pegasos2 either and calls the firmware for that, I don't know. But a tool could access the hardware registers and do the shutdown. Although I'm not sure this would work on real machine. Does anybody know if real AmigaOne can be powered down from software and it's just missing support in AmigaOS or it lacks hardware support for that? It could still work with the emulated amigaone machine but that would make the tool not suitable for real machines so in that case it might need a special option to enable this for emulated machines only.

Go to top
Re: Hello!
Just popping in
Just popping in


See User information
@balaton

By "support for amigaone" are you referring to the older Eyetech systems? As far as I am aware, these don't have the hardware to support software shutdown.

I could include an option that ignores the check to see if shutdown is supported. This would force the shutdown option to appear, but might not work to actually do the shutdown.

Kind regards,

Francis

Amiga 1200 with Apollo IceDrake
Amiga 1222+ with RadeonRX 550
Go to top

  Register To Post
« 1 (2)

 




Currently Active Users Viewing This Thread: 1 ( 0 members and 1 Anonymous Users )




Powered by XOOPS 2.0 © 2001-2023 The XOOPS Project