Search found 185 matches

by colinw
Fri Apr 09, 2021 1:51 am
Forum: General AmigaOS
Topic: Setting Odyssey as default tool in Deficons? (Solved)
Replies: 8
Views: 168

Re: Setting Odyssey as default tool in Deficons? (Solved)

I wrote the URLOpen program specifically with this use in mind, it's mentioned in the URLOpen.doc in the second paragraph. The FILE protocol is the default, you can specify other protocols that you have configured, (as in the URL Prefs tabs) if they are required, by using the PROTOCOL= keyword in th...
by colinw
Thu Apr 08, 2021 1:03 am
Forum: General Developer Support
Topic: How to free memory allocated by AddTrackable()
Replies: 6
Views: 540

Re: How to free memory allocated by AddTrackable()

You can't use this function in application software unless you know what you are doing, and, it must never be used for anything other than what YOU allocate yourself, the rest is done by other system components like DOS. Even then, you need to be carefull that your hook code segment wasn't unloaded ...
by colinw
Wed Apr 07, 2021 3:22 am
Forum: General AmigaOS
Topic: EXTMem
Replies: 8
Views: 240

Re: EXTMem

Extmem works just fine. For the ram-handler, some hardware requires it to be manually enabled, like the SAM440 and classics because they only have limited ram and won't normally be able to run out of virtual memory addresses. SAM460, A1222, X1000, X5000_20 & X5000_40 have it enabled by default, ...
by colinw
Sun Apr 04, 2021 11:38 pm
Forum: General Developer Support
Topic: Workbench library issue
Replies: 8
Views: 421

Re: Workbench library issue

You need to go to the Hyperion website; https://www.hyperion-entertainment.com/ log in with your account credentials, click on "Downloads" and go into the "AmigaOS 4.1 Final Edition" directory and get Update 2. All your problems will likely go away, and you will get the DOS SDK u...
by colinw
Sat Mar 27, 2021 11:29 pm
Forum: General Developer Support
Topic: Workbench library issue
Replies: 8
Views: 421

Re: Workbench library issue

Works for me. !! What editor are you using ? because it sounds like it may have a filehandle left open somehow. Run the "filehandlescan" program, (in SDK:c) passing it the volume name of the partition where you are compiling to, see if anything is left open. All I did here was copy your co...
by colinw
Fri Feb 26, 2021 2:24 am
Forum: General AmigaOS
Topic: Bug in FE Update 2 Date Command
Replies: 8
Views: 421

Re: Bug in FE Update 2 Date Command

Thankyou for the report, I have managed to reproduce the bug here.
The bug is inside timesync.library V53.8 and earlier.

I have just released the fixed update (53.9) to the beta testers.
by colinw
Tue Feb 16, 2021 3:24 am
Forum: General Developer Support
Topic: Major memory leak in CreateNewProc()
Replies: 6
Views: 1112

Re: Major memory leak in CreateNewProc()

"Always always" ! If you have a look at the proto files, you will see why. Not only do they take care of implementing the various switches available to use for the type of program method you require, by pre-declaring various definitions like; __NOLIBBASE__ __NOGLOBALIFACE__ __USE_INLINE__ ...
by colinw
Thu Feb 11, 2021 11:58 pm
Forum: General Developer Support
Topic: Major memory leak in CreateNewProc()
Replies: 6
Views: 1112

Re: Major memory leak in CreateNewProc()

PS: I forgot to mention before that it is important to make sure that
the proto/ files are always included FIRST.

#include <proto/dos.h>
#include <proto/exec.h>
[ ... everything else afterwards]
by colinw
Mon Feb 08, 2021 12:46 am
Forum: General Developer Support
Topic: Major memory leak in CreateNewProc()
Replies: 6
Views: 1112

Re: Major memory leak in CreateNewProc()

What a wonderfull little Rube Goldberg machine you have there. The reason the memory is leaking is available from the serial debug output. (level 3+) ; "[DOS] INFO; run() input fh buffer was changed by; My subtask [0x57E2D4F0 Vs 0x576C27F0] And then the internal runcommand function dumps the In...
by colinw
Mon Feb 01, 2021 1:40 am
Forum: General Developer Support
Topic: How to free memory allocated by AddTrackable()
Replies: 6
Views: 540

Re: How to free memory allocated by AddTrackable()

That is correct, Remtask() actually calls DeleteTrackable() after pulling the node of the list. You don't have to delete the trackable memory yourself DeleteTrackable() does it as the last thing after calling the destructor hook function. I ran into another problem in DOS, there was no information a...