Search found 291 matches

by thomasrapp
Mon Apr 26, 2021 8:53 am
Forum: General Developer Support
Topic: Where to pick the default printed page size?
Replies: 2
Views: 147

Re: Where to pick the default printed page size?

Reading prefs should not be necessary. You can query all the required settings directly from printer.device.
by thomasrapp
Sun Jan 31, 2021 5:23 pm
Forum: General Developer Support
Topic: How to free memory allocated by AddTrackable()
Replies: 8
Views: 797

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: 745

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: 958

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: 958

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: 3068

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: 3068

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: 871

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: 1333

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: 1455

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 :)