Login
Username:

Password:

Remember me



Lost Password?

Register now!

Sections

Who's Online
112 user(s) are online (77 user(s) are browsing Forums)

Members: 0
Guests: 112

more...

Headlines

Forum Index


Board index » All Posts (flash)




Re: Micro A1-C, overclocking, PCI cards, etc..
Just popping in
Just popping in


@MigthyMax

When you change from ide to sata there’s a completely protocol change.
IMHO much better to use ide to cf adapter, in this case I suggest to use industrial Cf cards.
I’m waiting for this solution to came from china, I ordered it on AliExpress.
Prices are quite cheap.

Go to top


Re: Micro A1-C, overclocking, PCI cards, etc..
Just popping in
Just popping in


@Mikey_C

Because you don’t know “Fiat Duna”

Go to top


Re: Fading effect on 24bit ARGB screens
Just popping in
Just popping in


Thank you I can give it a look.
Really I was looking for something much simpler, without use of SDL. Is there any other spot?

Memento audere semper!
Go to top


Fading effect on 24bit ARGB screens
Just popping in
Just popping in


Hi Guys, I'm looking for a fast and simple fading effect for OS4 and 24bit ARGB screens.
My primary goal is a "fade to black" effect but as second option a "fade from black" is welcome too. I'm looking for some C code already done to adapt in a fast way. Tnx!

Go to top


Re: gcc 9 and 10
Just popping in
Just popping in


@walkero

Do you think LTO optimization can be enabled for GCC native builds?

Go to top


Re: Cross Compiling Coreutils to Amiga OS 4 on an X1000
Just popping in
Just popping in


@rjd324

LOL!
Anyway it's a must to have native modern/full working compiler solution on Amiga.
Maybe your experience can be helpful for next SDK release.
Thanks for sharing your experience.

Go to top


Re: gcc 9 and 10
Just popping in
Just popping in


@salass00

Ok thanks!

Go to top


Re: gcc 9 and 10
Just popping in
Just popping in


@kas1e

IMHO GCC 8 should not have SPE support, it was lost after GCC 5
Is there someone to confirm (or not)?

Go to top


Re: gcc 9 and 10
Just popping in
Just popping in


@walkero

Glad to know you are involved in this project 🙂
Is there any chance to have a native support also for A1222/tabor? GCC needs a patch to support also spe code generation.

Actually I'm using unofficial GCC 8.4.0 installed over original OS4.1FE SDK
In next days I'll update with recent Hyperion SDK release.

Go to top


Re: gcc 9 and 10
Just popping in
Just popping in


What GCC version will be included in next AmigaOS SDK release?
Is It possibile to upload a full version of GCC on os4depot and/or aminet?

Memento audere semper!
Go to top


Re: Qt 6 progress
Just popping in
Just popping in


I'd like to be present (4 PM local tima - Italy).

Memento audere semper!
Go to top


Re: EasyRPG Player
Just popping in
Just popping in


@BSzili

You could unroll loops blit_height - blit_width if multiple of 2 (or 4) and gain some minor speed.
It could still entirely fit in the cache.

My2Cents

Go to top


Re: What do you want to see on the A1222?
Just popping in
Just popping in


Very interesting, very nice presentation. thanks 😊

Memento audere semper!
Go to top


Re: What do you want to see on the A1222?
Just popping in
Just popping in


To test FPU emulation Flashmandelng could be a good candidate
Maybe we are in time for an A1222 specific version too, it only needs to be recompiled with right GCC version.


Memento audere semper!
Go to top


Re: A-EON OS?
Just popping in
Just popping in


Probably I suppose it's only for AEON's motherboards.

Memento audere semper!
Go to top


Re: Amiga Developer Blog
Just popping in
Just popping in


@trixie
I don't know, anyway I could be interested in an evolution of os4, EnancherOS or PippoOS is the same, name really doesn't matter.

I really don't understand why force these overwrites of system components now, anyway I don't want repeat myself again.

About MorphOS I use it too and it's really a great OS! ..so it should be a valid future viable way for amigaos platform.


Edited by flash on 2021/6/9 5:34:18
Memento audere semper!
Go to top


Re: Amiga Developer Blog
Just popping in
Just popping in


It's absolutely clear to me when exec-sg will be done we could have a new EnancherOS with all remaining parts owned by Hyperion replaced.

It can make sense in a next time, but now why do it? Are there some hidden messages to Hyperion?

Amiga community needs more clarity, we don't need obscure plans. Thanks.

Memento audere semper!
Go to top


Re: Shaderjoy 1.21
Just popping in
Just popping in


@Capehill

Maybe with OS4 default datatypes you can’t save in all picture formats because there’s full support only for load.
Use iff ilbm format, it’s our standard for pictures.
We are amigans we have our peculiarities

Go to top


Re: Shaderjoy 1.21
Just popping in
Just popping in


@Capehill

You can use this to save an ILBM or change it for PNG.
Why not IFF ILBM?

/*----------------------------------------------------------------------------*/
/* Save the inner contents of a GZZ window as IFF picture using datatypes     */
/*----------------------------------------------------------------------------*/
int32 savewindow (char *name,struct Window *win)
{
struct BitMap *bm;
Object *o;
struct BitMapHeader *bmhd;
UBYTE *cmap;
ULONG *cregs;
long i;
long w,h,d;
long ncols;
BPTR fhand;
struct ViewPort *vp;
int32 Error;

    
Error TRUE;

    if (
bm gzzarea (win))
        {
        
win->GZZWidth;
        
win->GZZHeight;
        
GetBitMapAttr (bm,BMA_DEPTH);

        
ncols = (<< d);

        
vp ViewPortAddress (win); 
        
        if (
NewDTObject (NULL,
                
DTA_SourceType,DTST_RAM,
                
DTA_GroupID,GID_PICTURE,
                
PDTA_BitMap,bm,
                
PDTA_ModeID,GetVPModeID(vp),
                (
ncols PDTA_NumColors PDTA_DestMode),(ncols ncols PMODE_V43),
                
TAG_END))
            {

            
//SetDTAttrs (o,NULL,NULL,DTA_ObjCopyright,&COPYRIGHT_CHUNK,DTA_ObjAuthor,&USERNAME_CHUNK,TAG_END);

            
GetDTAttrs (o,PDTA_BitMapHeader,&bmhd,TAG_END);

            
bmhd->bmh_Width  w;
            
bmhd->bmh_Height h;
            
bmhd->bmh_Depth  d;
            
bmhd->bmh_XAspect 22;
            
bmhd->bmh_YAspect 22;
            
bmhd->bmh_PageWidth = (<= 320 320 <= 640 640 <= 1024 1024 <= 1280 1280 1600);
            
bmhd->bmh_PageHeight bmhd->bmh_PageWidth 4;

            if (
ncols)
                {
                
GetDTAttrs (o,PDTA_ColorRegisters,&cmap,PDTA_CRegs,&cregs,TAG_END);
                
GetRGB32 (vp->ColorMap,0,ncols,cregs);
                for (
3*ncolsii--)
                    *
cmap++ = (*cregs++) >> 24;
                }

            if (
fhand Open (name,MODE_NEWFILE))
                {
                
DoDTMethod (o,NULL,NULL,DTM_WRITE,NULL,fhand,DTWM_IFF,NULL);
                
Close (fhand);
                if (
i)
                    
Error FALSE;
                else
                    
Delete (name);
                }

            
DisposeDTObject (o);
            }
        else
            
FreeBitMap (bm);
        }

    return 
Error;
}

Go to top


Re: Load picture with datatypes
Just popping in
Just popping in


@broadblues

I have modified code to try to implement custom chunks as suggested by Edgar, iff file is saved but opening it with an editor does not show presence of desired informations (custom chunks)

Here is my code, please look at followinf line

SetDTAttrs (o,NULL,NULL,DTA_Data,"***dino***",DTA_ObjAuthor,"***pippo***",DTA_ObjCopyright,"***pluto***",TAG_END);

it should do the trick and I added some different tags just to test, but nothing hoped happens.

Maybe it's a not fully finished impementation of iff datatype library.

/*----------------------------------------------------------------------------*/
/* Save the inner contents of a GZZ window as IFF picture using datatypes */
/*----------------------------------------------------------------------------*/
int32 savewindow (char *name,struct Window *win)
{
struct BitMap *bm;
Object *o;
struct BitMapHeader *bmhd;
UBYTE *cmap;
ULONG *cregs;
long i;
long w,h,d;
long ncols;
BPTR fhand;
struct ViewPort *vp;
int32 Error;

Error = TRUE;

if (bm = gzzarea (win))
{
w = win->GZZWidth;
h = win->GZZHeight;
d = GetBitMapAttr (bm,BMA_DEPTH);

ncols = (d > 8 ? 0 : 1 << d);

vp = ViewPortAddress (win);

if (o = NewDTObject (NULL,
DTA_SourceType,DTST_RAM,
DTA_GroupID,GID_PICTURE,
PDTA_BitMap,bm,
PDTA_ModeID,GetVPModeID(vp),
(ncols ? PDTA_NumColors : PDTA_DestMode),(ncols ? ncols : PMODE_V43),
TAG_END))
{

/* **** */ SetDTAttrs (o,NULL,NULL,DTA_Data,"***dino***",DTA_ObjAuthor,"***pippo***",DTA_ObjCopyright,"***pluto***",TAG_END);
//SetDTAttrs (o,NULL,NULL,DTA_ObjCopyright,©RIGHT_CHUNK,DTA_ObjAuthor,&USERNAME_CHUNK,TAG_END);

GetDTAttrs (o,PDTA_BitMapHeader,&bmhd,TAG_END);

bmhd->bmh_Width = w;
bmhd->bmh_Height = h;
bmhd->bmh_Depth = d;
bmhd->bmh_XAspect = 22;
bmhd->bmh_YAspect = 22;
bmhd->bmh_PageWidth = (w <= 320 ? 320 : w <= 640 ? 640 : w <= 1024 ? 1024 : w <= 1280 ? 1280 : 1600);
bmhd->bmh_PageHeight = bmhd->bmh_PageWidth * 3 / 4;

if (ncols)
{
GetDTAttrs (o,PDTA_ColorRegisters,&cmap,PDTA_CRegs,&cregs,TAG_END);
GetRGB32 (vp->ColorMap,0,ncols,cregs);
for (i = 3*ncols; i; i--)
*cmap++ = (*cregs++) >> 24;
}

if (fhand = Open (name,MODE_NEWFILE))
{
i = DoDTMethod (o,NULL,NULL,DTM_WRITE,NULL,fhand,DTWM_IFF,NULL);
Close (fhand);
if (i)
Error = FALSE;
else
Delete (name);
}

DisposeDTObject (o);
}
else
FreeBitMap (bm);
}

return Error;
}

Go to top



TopTop
« 1 ... 4 5 6 (7) 8 9 »




Powered by XOOPS 2.0 © 2001-2023 The XOOPS Project