1 #include <aros/bootloader.h>
2 #include <proto/bootloader.h>
3 #include <proto/exec.h>
5 #include "dosboot_intern.h"
7 /* This file contains architecture-dependent defaults */
9 void InitBootConfig(struct BootConfig
*bootcfg
)
14 bootcfg
->gfxlib
= "vgah.hidd";
15 bootcfg
->gfxhidd
= "hidd.gfx.vga";
17 /* VGA and VESA drivers need to be unloaded when another GFX driver is found */
18 bootcfg
->bootmode
= TRUE
;
20 if (!(BootLoaderBase
= OpenResource("bootloader.resource")))
23 if ((vi
= (struct VesaInfo
*)GetBootInfo(BL_Video
)) != NULL
)
25 if (vi
->ModeNumber
!= 3)
27 /* VESA driver is self-initing now */
28 bootcfg
->gfxhidd
= NULL
;