2 Copyright © 2013, The AROS Development Team. All rights reserved.
6 #include <exec/types.h>
7 #include <utility/tagitem.h>
8 #include <aros/libcall.h>
9 #include <proto/utility.h>
11 #include "cgxbootpic_intern.h"
12 #include <bootpic_image.h>
15 #include <aros/debug.h>
18 /*****************************************************************************
21 AROS_LH4(void, RenderBootPic
,
25 AROS_LHA(void *, framebuffer
, A0
),
26 AROS_LHA(ULONG
, width
, D0
),
27 AROS_LHA(ULONG
, height
, D1
),
28 AROS_LHA(ULONG
, depth
, D2
),
31 struct CgxBootPicBase
*, CgxBootPicBase
, 5, CgxBootPic
)
34 This function dumps a boot picture into the specified framebuffer.
41 The Gfx susbsytem opens cgxbootpic.library if it is
42 available, and when displays are created, calls this
43 function with the displays framebuffer as input to render
49 This implementation is bugged - need to check what the real library
50 on m68k expects as params and correct this code appropriately.
55 ******************************************************************************/
59 D(bug("[CgxBootPic] %s()\n", __PRETTY_FUNCTION__
));
61 D(bug("[CgxBootPic] %s: BootPic Info: %dx%dx%d\n", __PRETTY_FUNCTION__
, BOOTPIC_WIDTH
, BOOTPIC_HEIGHT
, BOOTPIC_COLORS
));
62 D(bug("[CgxBootPic] %s: Rendering to %dx%dx%d framebuffer @ 0x%p\n", __PRETTY_FUNCTION__
, width
, height
, depth
, framebuffer
));