Search found 293 matches

by thomasrapp
Mon Apr 29, 2019 4:39 pm
Forum: General Developer Support
Topic: Exec Bug Report
Replies: 16
Views: 7288

Re: Exec Bug Report

It's not right for my program which uses the alert function to bring up an alert. ;-) Why not use a requester for that instead? Interesting suggestion because the documentation says that if the requester fails to open, it will revert to an alert. Now we have an infinite loop, don't we. I wouldn't s...
by thomasrapp
Wed Apr 24, 2019 11:48 am
Forum: General Developer Support
Topic: radiobutton.gadget doesn't load/open
Replies: 9
Views: 3395

Re: radiobutton.gadget doesn't load/open

I don't think that NewObject opens a class if it is not yet loaded and I don't think that NewObject("path/name") will succeed. You always have to load required resources before you can use them. So OpenClass or OpenLibrary("gadgets/something.gadget") is needed in any case before ...
by thomasrapp
Wed Apr 03, 2019 1:58 pm
Forum: Platform: Classic
Topic: OS 3.1.4 - Amiga 1200 with 68030 Card
Replies: 4
Views: 2978

Re: OS 3.1.4 - Amiga 1200 with 68030 Card

If you remove the CF card, does it show the insert-disk-screen? When you switch power on, does the power LED act normally? It should first glow half bright and half a second later change to full brightness. If it does not do this, the Kickstart is not executed. BTW, the page you linked says "ne...
by thomasrapp
Fri Jan 11, 2019 2:49 pm
Forum: Platform: Classic
Topic: WB 3.1.4: A4000 IDE limit
Replies: 4
Views: 2065

Re: WB 3.1.4: A4000 IDE limit

Open a Shell window, put the Modules disk into DF0 and enter these commands:

cd df0:
c/loadmodule devs/a4000d/scsi.device

It will load the driver and reboot. After that you should be able to use the "Read Configuration" button to get the real size of the HDD.
by thomasrapp
Thu Jan 10, 2019 11:47 am
Forum: Platform: Classic
Topic: WB 3.1.4: A4000 IDE limit
Replies: 4
Views: 2065

Re: WB 3.1.4: A4000 IDE limit

Do I need to get the physical ROM's for the A4000 to make the IDE drives work properly? Short answer: yes, that's the easiest solution. Long answer: you need an update for the IDE driver (called scsi.device). I think the new scsi.device for 3.1.4 comes as a file on the Modules disk. Once you load t...
by thomasrapp
Thu Dec 20, 2018 2:21 am
Forum: Platform: Classic
Topic: Need Help with OS3.1.4
Replies: 2
Views: 2830

Re: Need Help with OS3.1.4

The message says it all: not enough memory. To validate a 18 gig partition you need around 18 meg of memory. That's not new, it's always been this way, with all flavours of FFS. What's new is that it throws an actual error message instead of just sitting there with a non-validated partition. With Wi...
by thomasrapp
Sat Dec 15, 2018 7:13 pm
Forum: General Developer Support
Topic: OpenScreen & OpenScreenTags ... Why do they don't work ?
Replies: 13
Views: 5189

Re: OpenScreen & OpenScreenTags ... Why do they don't work ?

I have from 640x480 to 1280x1024 screen modes availables in my prefs with 8, 16 and 32 bits modes. Well, no, actually you don't. BGRA32 ias the name of the pixel format, not the depth. Attached is a program which lists all available screen modes. As you can see all the 32 bit modes have a depth of ...
by thomasrapp
Fri Dec 14, 2018 2:47 pm
Forum: General Developer Support
Topic: OpenScreen & OpenScreenTags ... Why do they don't work ?
Replies: 13
Views: 5189

Re: OpenScreen & OpenScreenTags ... Why do they don't work ?

There are at least two errors in your code: Firstly the mode ID is a 32 bit unsigned value. You should use uint32 as its type. Just "int" is too vague. Secondly 0 is a valid mode ID. You should check the returned ID against INVALID_ID and not against 0. Also I would drop the usage of struc...
by thomasrapp
Thu Dec 13, 2018 11:10 pm
Forum: General Developer Support
Topic: OpenScreen & OpenScreenTags ... Why do they don't work ?
Replies: 13
Views: 5189

Re: OpenScreen & OpenScreenTags ... Why do they don't work ?

Well. graphics.library is still backwards compatible with the classic Amiga native chip set. This means that without specifying a special RTG pixel format you are limited to a depth of 8. To get an RTG bitmap with a higher depth than 8 you have to specify a pixel format (for AllocBitMap) or a displa...
by thomasrapp
Wed Dec 12, 2018 5:23 pm
Forum: General Developer Support
Topic: Safe Exit code
Replies: 4
Views: 2508

Re: Safe Exit code

FindTask is not a good thing to use for private processes. You should rather design the child tasks so that they signal the main task in Forbid() state only at the very end of the routine. Just use Workbench as a model. So the last few lines of each child process should be either Forbid() ReplyMsg (...