1 #ifndef DOSBOOT_INTERN_H
2 #define DOSBOOT_INTERN_H
5 Copyright © 1995-2011, The AROS Development Team. All rights reserved.
8 Desc: Internal definitions for dosboot
12 #include <dos/dosextens.h>
13 #include <exec/libraries.h>
14 #include <exec/lists.h>
15 #include <graphics/gfxbase.h>
23 /* default hidds used in bootmenu and for fallback mode */
31 struct Node db_Node
; /* Node for linking into the list */
32 char *db_BootDevice
; /* Device to boot up from */
34 struct GfxBase
*bm_GfxBase
; /* Library bases */
35 struct IntuitionBase
*bm_IntuitionBase
;
36 struct Window
*bm_Window
; /* Window and gadgets */
37 struct MainGadgets bm_MainGadgets
;
39 struct BootConfig bm_BootConfig
; /* Current HIDD configuration */
40 ULONG BootFlags
; /* Bootup flags */
42 APTR animData
; /* Animation stuff */
43 ULONG delayTicks
; /* Delay period. Can be adjusted by animation code */
47 #define BF_NO_STARTUP_SEQUENCE 0x0001
48 #define BF_NO_DISPLAY_DRIVERS 0x0002
50 void InitBootConfig(struct BootConfig
*bootcfg
, APTR BootLoaderBase
);
51 BOOL
__dosboot_InitHidds(struct DosLibrary
*dosBase
);
52 void __dosboot_Boot(struct DosLibrary
*DOSBase
, ULONG Flags
);
54 struct Screen
*NoBootMediaScreen(struct DOSBootBase
*DOSBootBase
);
55 struct Screen
*OpenBootScreen(struct DOSBootBase
*DOSBootBase
);
56 void CloseBootScreen(struct Screen
*scr
, struct DOSBootBase
*DOSBootBase
);
58 APTR
anim_Init(struct Screen
*scr
, struct DOSBootBase
*DOSBootBase
);
59 void anim_Stop(struct DOSBootBase
*DOSBootBase
);
60 void anim_Animate(struct Screen
*scr
, struct DOSBootBase
*DOSBootBase
);
63 #define GfxBase DOSBootBase->bm_GfxBase
65 #define IntuitionBase DOSBootBase->bm_IntuitionBase
67 #endif /* DOSBOOT_INTERN_H */