Search found 41 matches

by TSK
Sun Feb 03, 2019 2:53 pm
Forum: General AmigaOS
Topic: newlib's realloc() is using vast quantities of RAM
Replies: 32
Views: 22068

Re: newlib's realloc() is using vast quantities of RAM

I just realized this is a 5-6 years old thread and nothing have happened during all those years !
by TSK
Tue Mar 06, 2018 4:40 pm
Forum: General Developer Support
Topic: Save BitMap
Replies: 2
Views: 1122

Re: Save BitMap

You'll have to convert the bitmap to a RGB array first and use that in IDoMethod call. Also the fifth parameter in the IDoMethod call is row size and not size of the whole area. APTR tempbuffer=NULL; int32 err=0; tempbuffer=IExec->AllocVecTags(4*Width*Height,AVT_Type,MEMF_PRIVATE,AVT_ClearWithValue,...
by TSK
Mon Nov 27, 2017 3:58 pm
Forum: General Developer Support
Topic: Bringing more object orientation to C programming
Replies: 9
Views: 7344

Re: Bringing more object orientation to C programming

I released oo.library v1.0 (oo.lha) on http://www.os4depot.net yesterday.

Unfortunately I made too short readme and didn't explain everything in it.
by TSK
Mon Oct 30, 2017 6:30 pm
Forum: General AmigaOS
Topic: FileCompare DSI
Replies: 2
Views: 2099

Re: FileCompare DSI

No problems on opening an empty file with v53.16 (diffview.gadget v53.16).
by TSK
Tue May 02, 2017 1:06 am
Forum: Platform: AmigaOne X5000
Topic: Swapping ALT and AMIGA keys doesn't work
Replies: 15
Views: 12198

Re: Swapping ALT and AMIGA keys doesn't work

Btw can anyone report Bugs found in AmigaOS, if so where?
Like I said, I have done that long time ago. I added a link to this thread to the bug report.
by TSK
Mon May 01, 2017 1:18 pm
Forum: Platform: AmigaOne X5000
Topic: Swapping ALT and AMIGA keys doesn't work
Replies: 15
Views: 12198

Re: Swapping ALT and AMIGA keys doesn't work

@IamSONIC I have the same problem on A1-SE and a PS2 keyboard. Key swapping works with old keymap.libary.kmod v53.7 and a UBoot variable but not with the input Prefs setting and keymap.libary.kmod v53.9. (The key swap checkbox is disabled in input prefs with the v53.7 library.) If I remember the UBo...
by TSK
Thu Apr 06, 2017 1:47 pm
Forum: General Developer Support
Topic: Bringing more object orientation to C programming
Replies: 9
Views: 7344

Re: Bringing more object orientation to C programming

broadblues wrote:messages can be queued for later attention
I wasn't talking of queuing messages but running long taking CPU intensive tasks in functions.

(Edit: My last line I removed didn't make any sense.)
by TSK
Tue Apr 04, 2017 2:29 pm
Forum: General Developer Support
Topic: Bringing more object orientation to C programming
Replies: 9
Views: 7344

Re: Bringing more object orientation to C programming

* (I know you can get away typing interfaces using inlines. But...) Which one is nicer to write while programming ? This one... IIntuition->SetGadgetAttrs((struct Gadget *)GadObjs[GAD1],MyWindow,NULL,GA_Disabled,TRUE,TAG_DONE); or this one... mygad1->Disable(); ;-) AmigaOS API and programming was ma...
by TSK
Tue Apr 04, 2017 2:23 pm
Forum: General Developer Support
Topic: Bringing more object orientation to C programming
Replies: 9
Views: 7344

Re: Bringing more object orientation to C programming

@javierdlr Nice to know somebody likes this. @broadblues, @trixie I started to make similar classes in C++ years ago. I remembered that I didn't make it far but I found the files from my HD and the project was pretty much on the same level as the C implementation is now. I've been programming mostly...
by TSK
Sun Apr 02, 2017 3:53 pm
Forum: General Developer Support
Topic: Bringing more object orientation to C programming
Replies: 9
Views: 7344

Bringing more object orientation to C programming

I've started a project to bring more object style programming to plain C and Amiga, after I figured out how to use APICALL trick to add function calls to C struct's. I've made a oo.library (oo for object orientation) which contains all New...Object() and Dispose...Object() function calls to create o...