fixed shutdown of cursor; fixed mem detection for settings overrule. Now tested and actually working on a VIA graphicscard.

git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9945 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Rudolf Cornelissen 2004-11-12 20:31:42 +00:00
parent 3155ad9584
commit efc1fc9b17
3 changed files with 8 additions and 8 deletions

View File

@ -70,9 +70,9 @@ void * get_accelerant_hook(uint32 feature, void *data)
HOOK(SET_DPMS_MODE);
/* cursor managment */
// HRDC(SET_CURSOR_SHAPE);
// HRDC(MOVE_CURSOR);
// HRDC(SHOW_CURSOR);
HRDC(SET_CURSOR_SHAPE);
HRDC(MOVE_CURSOR);
HRDC(SHOW_CURSOR);
/* synchronization */
HOOK(ACCELERANT_ENGINE_COUNT);

View File

@ -80,7 +80,7 @@ status_t eng_general_powerup()
{
status_t status;
LOG(1,("POWERUP: Haiku-OS skeleton Accelerant 0.00 running.\n"));
LOG(1,("POWERUP: Haiku-OS skeleton Accelerant 0.01 running.\n"));
/* preset no laptop */
si->ps.laptop = false;
@ -88,8 +88,8 @@ status_t eng_general_powerup()
/* detect card type and power it up */
switch(CFGR(DEVID))
{
/* Vendor Nvidia */
case 0x000010de: /* non-existing card */
/* Vendor Via */
case 0x31221106: /* */
si->ps.card_type = NV04;
si->ps.card_arch = NV04A;
LOG(4,("POWERUP: Detected Nvidia TNT1 (NV04)\n"));
@ -311,7 +311,7 @@ static status_t engxx_general_powerup()
}
/* get RAM size and fake panel startup (panel init code is still missing) */
// fake_panel_start();
fake_panel_start();
/* log the final card specifications */
dump_pins();

View File

@ -2068,7 +2068,7 @@ void fake_panel_start(void)
LOG(8,("INFO: faking panel startup\n"));
/* find out the BIOS preprogrammed panel use status... */
detect_panels();
// detect_panels();
/* determine and setup output devices and heads */
setup_output_matrix();