26 October 2023, 10:52 | #21 |
Registered User
Join Date: Jun 2009
Location: Dublin, then Glasgow
Posts: 6,381
|
If you're using an OS-supplied version of the command then I would expect so. You could ask Cloanto and see what they say - perhaps they've changed their mind, or maybe for a non-commercial project it might not require a fee. But it might be worth trying an alternative Echo command from AROS, ARP or elsewhere (or even roll your own) to avoid any potential issues entirely.
|
26 October 2023, 11:11 | #22 | |
Zone Friend
Join Date: Mar 2004
Location: Middle Earth
Age: 40
Posts: 2,130
|
Quote:
|
|
26 October 2023, 13:08 | #23 |
Registered User
Join Date: Jan 2022
Location: Wales
Posts: 91
|
Thanks for the replies, both.
ECHO is only being used to print a simple message to the screen, nothing fancy. I already see a few replacements on Aminet, so I'll go with one of them so as to not incur the wrath of anyone! Although maybe I could do something myself, but then feature creep! |
26 October 2023, 13:25 | #24 |
Registered User
Join Date: Oct 2021
Location: England
Posts: 1,272
|
there is https://aminet.net/package/util/batch/mecho - needs OS2 and above tho.
https://aminet.net/package/util/batch/SuperEcho says "all amigas" |
26 October 2023, 13:48 | #25 |
Registered User
Join Date: Jan 2022
Location: Wales
Posts: 91
|
Thanks, I test those also!
|
27 October 2023, 21:48 | #26 | |
Moderator
Join Date: Nov 2004
Location: Eksjö / Sweden
Posts: 5,660
|
Quote:
On the topic of "I want my computer to print a string of text", yes, by all means use a replacement. It's a few minutes of work to write an executable that types a string argument to the default output (CLI), there should be plenty and with more features. That can never be licensable. Overall though, I wouldn't hesitate to copy WB executables in the c: folder to distributable floppy disks or images. The OS is expressly written to require this - i.e. the executables are not built into ROM, they are on disk, so there is no other option, if OS authors expect users to use the machines the OS is for. |
|
27 October 2023, 23:15 | #27 | |
Registered User
Join Date: Jan 2019
Location: Germany
Posts: 3,319
|
Quote:
It is not up to commands to substitute variables. The shell does that upfront before the command even sees them - and thus even the most primitive implementation of "echo" would do that. However, would it not be easier if your program would write that string itself? |
|
28 October 2023, 23:35 | #28 | |
Registered User
Join Date: Jun 2009
Location: Dublin, then Glasgow
Posts: 6,381
|
Quote:
I don't know Hyperion's stance on this for the newer releases, but I do know that Cloanto were definitely looking for a licence fee for a commercial distribution containing a couple of files from the Workbench 1.3 disk. |
|
28 October 2023, 23:46 | #29 |
Registered User
Join Date: Jan 2019
Location: Germany
Posts: 3,319
|
From 2.0 onwards "Echo" is a shell-builtin and thus not required as an external command. Reimplementing it would be fairly trivial, however. This is probably even on 1.3 a three-liner. Take the arguments, open the dos.library, use write() to write them out. Done.
Variable substitution is even done by the shell before, so no worries there. |
29 October 2023, 02:18 | #30 |
Moderator
Join Date: Nov 2004
Location: Eksjö / Sweden
Posts: 5,660
|
If any release for the Amiga requires any other file required by WB to run under any KS ROM, you are automatically right. The reason is that judges aren't technical idiots now, and any suit would be quickly viewed as the OS being used as ransomware. It can be quickly demonstrated that a program written for AmigaOS cannot be distributed for the OS and run correctly without including the files.
There are plenty of alternative commands now, and as commands are moved out of ROM there will be more opportunity to build better commands with fewer requirements. Last edited by Photon; 29 October 2023 at 02:26. |
29 October 2023, 10:57 | #31 |
Registered User
Join Date: Jun 2009
Location: Dublin, then Glasgow
Posts: 6,381
|
The answer there is "boot from your Workbench disk first", which is the clunky solution we ended up going with, as well as providing a readme on how to copy the three files from Workbench to the game disk to enable self-booting.
Most of the replacement commands I tried required KS 2.0, and we wanted to be able to self-boot on 1.3. |
29 October 2023, 22:07 | #32 | |
Zone Friend
Join Date: Mar 2004
Location: Middle Earth
Age: 40
Posts: 2,130
|
Quote:
I'm guessing they were files from libs:, devs: and l:? I know there is a public alternative to 'loadwb' out there. |
|
29 October 2023, 22:42 | #33 |
Ex nihilo nihil
Join Date: Oct 2017
Location: CH
Posts: 5,054
|
|
30 October 2023, 00:33 | #34 |
Registered User
Join Date: Jun 2009
Location: Dublin, then Glasgow
Posts: 6,381
|
Yup, those two files, and I think there was another that was a nice-to-have that I can't recall now. |
08 November 2023, 14:20 | #35 |
Banana
Join Date: Jul 2016
Location: Darmstadt
Posts: 1,217
|
Did ARP not have suitable replacements? It seems to cover most things
|
08 November 2023, 22:52 | #36 | |
Registered User
Join Date: Jan 2019
Location: Germany
Posts: 3,319
|
Quote:
Apparently: http://aminet.net/package/misc/antiq/ARP_13 However, I wonder why the OP does not simply create a workbench installer? |
|
09 November 2023, 00:33 | #37 | |
Registered User
Join Date: Jun 2009
Location: Dublin, then Glasgow
Posts: 6,381
|
Quote:
Because sometimes the target machine for a project is an unexpanded A500, in which case providing a self-booting disk is the most convenient option, and even expected. |
|
10 November 2023, 21:22 | #38 |
Registered User
Join Date: Jan 2022
Location: Wales
Posts: 91
|
@Photon...
I know that this thread was not originally to do with what I was asking, but I thought it was a parallel to what the original thread became, a discussion about the legality of certain libraries or other files being included on bootable disks 'released' by us small-time devs. I apologise to you and 'madaxe' for taking the thread off course slightly, it was not my intention. Just to be thorough, a few weeks ago I contacted Cloanto about the legality of including 'ECHO' on the release disk for my game and have heard absolutely nothing from them. Good job I found an alternative anyway... |
10 November 2023, 23:22 | #39 | ||
Moderator
Join Date: Nov 2004
Location: Eksjö / Sweden
Posts: 5,660
|
Quote:
Both are newschool/oldschool depending on how you look at it, so there's no "vs." just the desire to finish a release and package it with all it needs. At one end, it's a single executable file which decompresses itself to memory and runs. At the other end, it's a script with any files it needs as an archive. (I.e. the code isn't even compiled.) OK, there's an even lazier way (as in even less work needed) for compiled programs: the program is released as source only, do it yourself, there's your installer. The preferred type depends on the size and dependencies of the program, and whether it should be portable (not port-able - as in apps you can copy without needing accounts, installers, etc.) Among these options, the Windows way was never the way. (A five-step installer for a small, simple utility, which probably needs your this and that plus 17 versions of .NET.) An extreme version of the installer type of distribution. On most OSes, if an installer would overwrite an existing library or similar, it could affect and potentially wreck in principle all other programs installed on that OS. This has also in fact happened. When choosing the type of distribution then, the fewer the dependencies required outside the executable (ideally none), the more users will be able to try the software before choosing to run any install scripts. Installation requires some form of permanent storage, and most Amiga models were sold without one. Being able to run the software without installation means that users who haven't, won't have to buy a HDD just to run your program (or set up similar in software/hardware emulations). No installation means among other things, that Amiga programs can run on a mobile phone. It is up to the difficulty of emulation there. It's normally very difficult to set up a permanent storage here; like some emus "barely good enough for gamers only" and not for Amiga computer users. But you can also cut it short at: "Amiga(D)OS by design chose to put some libraries in ROM and some on floppy disk, without ever providing installers. Meanwhile, the OS needs those files to operate, like for printing text. The OS therefore consists of what is in ROM and what comes on required accompanying disks, and the files on disk are considered a necessary extension for the OS to be operated by every user." If a language is OS-friendly, it can't be punished by using system routines to print text in the default font. This is the conclusion that will be reached by a court if somehow rights owners should choose to sue you, and therefore you should without any hesitation put any and all Workbench files with your floppy disk release to make it work. Anything else would make the OS itself ransomware (as stated previously). The OS (ROM+disks) has already been sold once. Quote:
|
||
11 November 2023, 10:11 | #40 | ||||||||
Registered User
Join Date: Jan 2019
Location: Germany
Posts: 3,319
|
Quote:
Quote:
Quote:
Quote:
Quote:
Quote:
Quote:
Quote:
I beg your pardon, but I doubt that there was ever the right that you could take somebody else's work without permission and redistribute it. As a program author, package properly. "Here is my code, put it into a drawer of the workbench, click to run". That is the simplest thing to do. There is no need to distribute Os components along as the Os components are already present. |
||||||||
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Topaz Font - screengrab of various sizes | Blitter | request.Other | 3 | 14 October 2019 03:11 |
No kerning when using diskfont.library | matsp888 | Coders. System | 3 | 07 June 2019 11:57 |
Topaz.font 8x16 | redblade | request.Other | 2 | 26 December 2014 17:06 |
1.3 Topaz font | Anakirob | request.Other | 11 | 04 March 2012 13:27 |
Using a diskfont without diskfont.library, just incbin it! | a4k-oerx | Coders. General | 12 | 18 December 2008 13:16 |
|
|