Search found 189 matches

by colinw
Fri May 12, 2017 4:06 am
Forum: General Developer Support
Topic: Skip DEFER'd assigns
Replies: 3
Views: 4246

Re: Skip DEFER'd assigns

You have it nearly right. Firstly, GetDeviceProc() is used to identify the device handler and "other" things like resolving assignments. If you just want a list, don't call GetDeviceProc() or anything else that will call it, otherwise it will resolve them, so there's your problem. As you a...
by colinw
Tue Apr 25, 2017 12:54 am
Forum: Platform: Classic
Topic: OS4.1FE update file curruption
Replies: 7
Views: 9119

Re: OS4.1FE update file curruption

tonyw wrote:I can confirm Spektro's figures (checksum, size, contents, etc). I agree that you ought to try downloading it again, from fresh.
And try a different browser...
by colinw
Mon Jan 02, 2017 1:25 am
Forum: General AmigaOS
Topic: Timer device 'opening flood' bug in OS4.1FE update1
Replies: 10
Views: 7646

Re: Timer device 'opening flood' bug in OS4.1FE update1

I let snoopy run to cover another bug in another program and ... Snoopy is a debugging tool, it only works as such. It adds overhead to every DOS call, (and some of the others), by patching each function with a small stub, it does not provide or perform any workaround that make application bugs go ...
by colinw
Fri Nov 04, 2016 10:52 pm
Forum: AmigaOS Feature Requests
Topic: Spanned volume
Replies: 4
Views: 10818

Re: Spanned volume

I think someone wrote a RAID-0 driver or software solution for this, that's what you are after.
I'm not sure if there are also Amiga RAID-1+ options.

Here's some reading material; http://en.wikipedia.org/wiki/RAID
by colinw
Sun Sep 18, 2016 11:18 am
Forum: AmigaOS Feature Requests
Topic: GetVersion()
Replies: 5
Views: 8233

Re: GetVersion()

C:version path full >T:version.txt then Parsing the text file is so old school. ;) It should also work for devices/volumes. Colinw's suggestion doesn't work for them. C:Version works with all filesystem "device" names. ie: ENV: RAM: APPDIR: .... But not currently with the "volume&quo...
by colinw
Mon Sep 12, 2016 12:16 am
Forum: AmigaOS Feature Requests
Topic: GetVersion()
Replies: 5
Views: 8233

Re: GetVersion()

The best you can hope for is information that is actually stored in an executable.

Check out the autodocs for; IDOS->GetSegListInfoTags()
Specifically for the tags; GSLI_VersionString, GSLI_ResidentVersionString and GSLI_ResidentStruct.

There is also example code at the bottom.
by colinw
Thu Aug 04, 2016 3:53 am
Forum: General Developer Support
Topic: How do I query information for a link?
Replies: 5
Views: 4061

Re: How do I query information for a link?

Here's some code I used last year to test LockTags(): [...] When I read the autodoc I wasn't sure if the LOCKF_SOFTLINK_MIDPART and LOCKF_SOFTLINK_ENDPART flags were mutually exclusive. Apparently they are not. You are correct, they are not, because you can have up to 15 softlinks in a path, eg: &q...
by colinw
Tue Aug 02, 2016 12:49 am
Forum: General Developer Support
Topic: How do I query information for a link?
Replies: 5
Views: 4061

Re: How do I query information for a link?

Hello. ... On Amiga OS I cannot find any such mechanism. IDOS->ExamineObjectTags() always dereferences the link and does not fill out the Link member of the ExamineData structure. Ok, I could use IDOS->ExamineDir() to iterate through all entries in the directory but this is an ugly workaround and h...
by colinw
Mon Apr 18, 2016 5:03 am
Forum: General AmigaOS
Topic: HELP : compatibility of new console.device OS4.1FE
Replies: 37
Views: 25473

Re: HELP : compatibility of new console.device OS4.1FE

You might want to add the FILES switch to the list command so that version is only called on files and not on any directories. Oops - yes, good point. Thanks! Best regards, Niels Am I simply failing to see the point of this horrific convolution to apparently get version info from a directory listin...
by colinw
Tue Mar 08, 2016 11:57 pm
Forum: General Developer Support
Topic: Intuition DisplayAlert() issues
Replies: 8
Views: 6758

Re: Intuition DisplayAlert() issues

From the Releasenotes of intuition...

intuition.library 53.51 (11.6.2014)
- TimedDisplayAlert() and DisplayAlert() now output only via DebugPrintF() and then call IExec->Alert().