Search found 488 matches

by salass00
Mon Mar 25, 2019 11:01 am
Forum: General Developer Support
Topic: Updated SDK
Replies: 6
Views: 4492

Re: Updated SDK

@Raziel If you define __USE_AMIGAOS_NAMESPACE__ all the AmigaOS structures and types should be in a separate "AmigaOS" namespace. I think the proto/#?.h files from the last public SDK do not support this feature though and would have to be regenerated using a newer version idltool which is...
by salass00
Tue Feb 26, 2019 7:45 am
Forum: General AmigaOS
Topic: Question regarding default Screen Font.
Replies: 4
Views: 2153

Re: Question regarding default Screen Font.

Programs that need a fixed width font can use the system default font (GfxBase->DefaultFont), which is guaranteed to be non-proportional.
by salass00
Wed Feb 06, 2019 8:21 am
Forum: General AmigaOS
Topic: diskdoctor
Replies: 10
Views: 5864

Re: diskdoctor

From what I've read the AmigaOS 3.1.4 version of diskdoctor only analyses the disk/partition and allows to recover the data from it to another disk. It does not have any sort of repair function yet AFAIK. DOS/7 AKA LNFS is already supported according to the comment you quoted. If it wasn't there wou...
by salass00
Thu Dec 27, 2018 11:01 am
Forum: General Developer Support
Topic: SFS vs NGFS "PROGDIR:/" question
Replies: 15
Views: 5406

Re: SFS vs NGFS "PROGDIR:/" question

The fault in SFS is most likely one of the reasons it has been deemed buggy and problematic, and should now be considered obsolete. It's not really a fault though, as "RAM:/" is not a legal path. If anything the fact that ResolvePath() allows this and treats "PROGDIR:/test.txt" ...
by salass00
Tue Dec 11, 2018 6:12 pm
Forum: General Developer Support
Topic: IGraphics->AllocBitMap : dereferencing pointer to incomplete
Replies: 6
Views: 2492

Re: IGraphics->AllocBitMap : dereferencing pointer to incomp

In this case it was the definition of the GraphicsIFace structure that was missing that was the problem, hence why IGraphics couldn't be dereferenced to get the AllocBitMap() function.

Including <proto/graphics.h> which in turn includes <interfaces/graphics.h> solved it.
by salass00
Mon Oct 08, 2018 9:07 am
Forum: Platform: AmigaOne X5000
Topic: Spencer 1.0 and audio
Replies: 5
Views: 3039

Re: Spencer 1.0 and audio

Having the VOID driver (equivalent of >NIL: for AHI basically) available would probably be a good idea for systems with no usable sound card installed. Unfortunately it is not included with the OS yet IIRC.
by salass00
Fri Oct 05, 2018 7:03 am
Forum: General Developer Support
Topic: Newlib bug report
Replies: 2
Views: 2269

Re: Newlib bug report

No, it is correct. The snprintf() function always returns the number of characters it would have written had the buffer been large enough rather than how many characters it actually wrote. This is to allow you to easily check if the result was truncated by simply comparing the return value to the si...
by salass00
Wed Sep 12, 2018 5:48 pm
Forum: General Developer Support
Topic: Newlib bug report
Replies: 3
Views: 2959

Re: Newlib bug report

You could test for Ctrl+C with SetSignal() and possibly clear it if set. For common use cases like the above CheckSignal() is much simpler to use. The following code checks for set CTRL-C signal and clears it: if (IDOS->CheckSignal(SIGBREAKF_CTRL_C)) { /* CTRL-C signal received */ } and is equivale...
by salass00
Mon Aug 20, 2018 6:16 am
Forum: General Developer Support
Topic: texteditor.gadget notifyevent
Replies: 2
Views: 2173

Re: texteditor.gadget notifyevent

It's not supposed to be set by you. You can use the notification on the attribute to enable and disable any menu items or buttons you have that depend on an area of text being selected (Copy, Cut, a.s.o.) as appropriate. To get notifications as idcmp messages to your window you have to set the gadge...
by salass00
Fri Apr 13, 2018 9:36 am
Forum: General AmigaOS
Topic: no way back
Replies: 4
Views: 3602

Re: no way back

For "Reboot ?" at least you can stop it from rebooting by pressing CTRL-C before RETURN.