Search found 488 matches

by salass00
Tue Nov 15, 2011 10:49 am
Forum: General Developer Support
Topic: char & UBYTE
Replies: 11
Views: 8639

Re: char & UBYTE

struct Picture // every picture gets one ///was Picture { UBYTE path[260]; UBYTE alias[40]; // the given name of this picture } Better use TEXT type here instead of UBYTE. For string pointers you should use STRPTR (CONST_STRPTR for a constant string). Anyway if it's too annoying to fix all the poin...
by salass00
Thu Nov 10, 2011 10:09 am
Forum: General Developer Support
Topic: char & UBYTE
Replies: 11
Views: 8639

Re: char & UBYTE

Are char and UBYTE interchangeable types ? - if no what is the difference? UBYTE is always unsigned while char without signed or unsigned keyword can be either signed or unsigned depending on the compiler, the target system and what compiler options are used (f.e. gcc allows to force either signed ...
by salass00
Mon Nov 07, 2011 6:10 pm
Forum: General Developer Support
Topic: iff.library iff.l.main stub existing?
Replies: 24
Views: 15578

Re: iff.library iff.l.main stub existing?

@JosDuchIt http://dl.dropbox.com/u/26599983/iff_os4_glue.7z I added ID_DPAN definition to "libraries/iff.h" and also "struct IFFL_DPAN" (this is taken from the DPAN chunk specification in "RKRM: Devices"). Edit: Apparently the flags field isn't unused anymore and the fi...
by salass00
Mon Nov 07, 2011 1:22 pm
Forum: SDK Support
Topic: CatComp ignores and overwrites existing translations -SOLVED
Replies: 4
Views: 7096

Re: CatComp ignores and overwrites existing translations

Bender wrote: 5. Now re-create the .ct file, but using the existing one as a starting point:

Code: Select all

7.RAM Disk:> catcomp prefs.cd prefs.ct CTFILE prefs.ct
I wasn't aware that you could do that with catcomp. I'll have to implement this feature in my ruby reimplemented version ASAP.
by salass00
Sun Nov 06, 2011 8:21 pm
Forum: General Developer Support
Topic: iff.library iff.l.main stub existing?
Replies: 24
Views: 15578

Re: iff.library iff.l.main stub existing?

@JosDuchIt AFAICT iff.library probably only really supports OCS/ECS ILBM/ANIM files. The library functions only support reading/writing of CMAP with 4 bits per gun (AGA uses 8 bits per gun) and both EasyExample and AnimExample limit the size of the palette to a maximum of 32 colors. Very likely true...
by salass00
Thu Nov 03, 2011 2:20 pm
Forum: General Developer Support
Topic: iff.library iff.l.main stub existing?
Replies: 24
Views: 15578

Re: iff.library iff.l.main stub existing?

@salass00 Does the EasyExample.c works for you ? I've changed the EasyExample program for you so it compiles on OS4: http://dl.dropbox.com/u/26599983/iff_lib_examples.7z Note that as the program accesses the screen->BitMap and probably assumes planar format for bitmap as well you will need to enabl...
by salass00
Tue Nov 01, 2011 9:59 am
Forum: General Developer Support
Topic: iff.library iff.l.main stub existing?
Replies: 24
Views: 15578

Re: iff.library iff.l.main stub existing?

http://dl.dropbox.com/u/26599983/iff_os4_glue.7z

Installation:

copy iff.l.main SYS:Libs/
copy include/#? ALL SDK:local/common/include/

If you have installed iff.library includes into some other place in the SDK you should delete them.
by salass00
Mon Oct 31, 2011 8:12 am
Forum: General AmigaOS
Topic: Please increase FAT32 read and write speed
Replies: 18
Views: 7631

Re: Please increase FAT32 read and write speed

It's not that simple. The way that CrossDOS reads the RAM: contents may influence the RAM: speed. CrossDOS is itself a filesystem, and one filesystem reading another filesystem through DOS (which is translating from one API to another) can introduce many strange side effects. What are you talking a...
by salass00
Mon Oct 31, 2011 8:03 am
Forum: General Developer Support
Topic: Cairo development
Replies: 10
Views: 6956

Re: Cairo development

For the png problem, yes I suppose I could use datatypes to load png files. I have already tested this routine alone. Yes, I could retrieve the pixel datas and transfer to a cairo image (though seems not too easy because of the format ARGB). Why do you think the ARGB format is a problem? Just use P...
by salass00
Sat Oct 29, 2011 3:44 pm
Forum: General Developer Support
Topic: iff.library iff.l.main stub existing?
Replies: 24
Views: 15578

Re: iff.library iff.l.main stub existing?

I corrected the stub lib and also made the examples compile. (I replaced the archive, see same link as above.) However, none of the examples runs correctly. They all crash somewhere inside iff.library. Have you added: #pragma pack(2) /* structure definitions here */ #pragma pack() around all the st...