Search found 290 matches

by thomasrapp
Sun Jan 31, 2021 5:23 pm
Forum: General Developer Support
Topic: How to free memory allocated by AddTrackable()
Replies: 7
Views: 655

Re: How to free memory allocated by AddTrackable()

I'd guess you don't need to. You destructor function has been called. This most likely means that the system called DeleteTrackable. Just exit from the destructor function and your trackable node will be freed automatically.
by thomasrapp
Mon Sep 14, 2020 9:15 am
Forum: General Developer Support
Topic: Pens and colors
Replies: 2
Views: 708

Re: Pens and colors

GetColorMap will allocate a new color map independently from the current display. It is of no use for applications. If you need access to the color map of a screen you get a pointer from Screen->ViewPort.ColorMap. How you can get a certain color depends on the OS version and the screen mode. For tru...
by thomasrapp
Wed Aug 19, 2020 3:12 pm
Forum: AmigaOS Feature Requests
Topic: Sys:System/Format command split...
Replies: 3
Views: 889

Re: Sys:System/Format command split...

more thinking given a partitions DOStype (as something Format can read from the DOSdriver) possibly handling extended arguments, such as enabling Journalling (if optional) or Trashcan/.Recycled folder presence... Yes, I see what you mean. But putting all these options into the standard Format progr...
by thomasrapp
Wed Aug 19, 2020 7:01 am
Forum: AmigaOS Feature Requests
Topic: Sys:System/Format command split...
Replies: 3
Views: 889

Re: Sys:System/Format command split...

with minimal modification to the OS It's not that easy. The assignment of a filesystem to a partition is determined by the DosType in the partition table. The partition table is read before AmigaDOS starts. When AmigaDOS starts it mounts all the partitions. That's long before the Format program can...
by thomasrapp
Wed Jun 03, 2020 5:20 pm
Forum: General AmigaOS
Topic: AmigaOS DOS commands
Replies: 10
Views: 2981

Re: AmigaOS DOS commands

Yeah, that looks odd. It might look odd, but it's perfectly legal. It's just a positional parameter without a name. It only means the user is not able to move this parameter into another position by specifying the keyword because there is no keyword for it. As an example in IF "a" EQ &quo...
by thomasrapp
Tue Jun 02, 2020 4:13 pm
Forum: General AmigaOS
Topic: AmigaOS DOS commands
Replies: 10
Views: 2981

Re: AmigaOS DOS commands

You should keep in mind that the argument substitution in scripts is a textual one. So if you run the script without any arguments the line IF NOT {loop} becomes IF NOT. This does not make any sense. To be honest even if you supply arguments, for example "4", it still makes no sense for me...
by thomasrapp
Sat May 30, 2020 5:56 pm
Forum: Forum Questions
Topic: OS3.1.4.1 direct scsi transfer
Replies: 3
Views: 819

Re: OS3.1.4.1 direct scsi transfer

Direct SCSI is not needed on the internal IDE bus. If you have a 3.1.4 ROM it is not needed at all, if you run without a ROM it only extends the limit for your boot partition from 4 GB to 7.8 GB. If your boot partition is inside the first 4 GB of the drive and the entire drive is larger than 7.8 GB ...
by thomasrapp
Tue May 26, 2020 1:56 pm
Forum: Platform: Classic
Topic: OS3.1.4 and SFS partitions appearing twice
Replies: 2
Views: 1296

Re: OS3.1.4 and SFS partitions appearing twice

That's an issue of SFS. There is a patch for it: http://www.doobreynet.co.uk/amiga.html
by thomasrapp
Mon Mar 30, 2020 10:11 am
Forum: General AmigaOS
Topic: Dynamically changing a label text
Replies: 2
Views: 1417

Re: Dynamically changing a label text

salass00 wrote: Sun Mar 29, 2020 1:10 pm a button.gadget that is set to be transparent and borderless (no bevel)
... and read only :)
by thomasrapp
Thu Feb 20, 2020 8:40 am
Forum: Platform: Classic
Topic: Not enough ram to validate disk
Replies: 2
Views: 3054

Re: Not enough ram to validate disk

FFS always required a lot of memory to validate. What's new in 3.1.4 is that it gives an error message. In the past it failed silently and left the partition in read-only state. You shuold not go with a temporary solution (UAE). An FFS partition may require re-validation every now and then and then ...