Search found 485 matches

by salass00
Thu Dec 27, 2018 11:01 am
Forum: General Developer Support
Topic: SFS vs NGFS "PROGDIR:/" question
Replies: 15
Views: 2734

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" the same as "PROGDIR...
by salass00
Tue Dec 11, 2018 6:12 pm
Forum: General Developer Support
Topic: IGraphics->AllocBitMap : dereferencing pointer to incomplete
Replies: 6
Views: 1176

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

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

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

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

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

Re: no way back

For "Reboot ?" at least you can stop it from rebooting by pressing CTRL-C before RETURN.
by salass00
Fri Mar 23, 2018 9:59 pm
Forum: General Developer Support
Topic: Spawn new copy of program
Replies: 9
Views: 2194

Re: Spawn new copy of program

I want each process to be totally independent so the original copy can be closed at any time and not affect the others. The simplest way to achieve this is with SystemTags(). If you use CreateNewProc() with NP_Entry then the created process will be dependent on the seglist of the parent process and...
by salass00
Mon Jan 29, 2018 1:56 pm
Forum: Platform: AmigaOne X5000 - Linux Only
Topic: Puzzled again, over memory this time
Replies: 3
Views: 1399

Re: Puzzled again, over memory this time

@kilaueabart

FWIW 3.8 GB is more RAM than is supported by my PC. The maximum amount of memory that is usable with the old Asus P5LD2 motherboard that I'm using is about 3.1 GB.
by salass00
Fri Jan 19, 2018 9:42 pm
Forum: Platform: AmigaOne X5000
Topic: Resolutions People are using
Replies: 29
Views: 9691

Re: Resolutions People are using

Asus 23" widescreen at 1920x1080.