Previous 15994 Revisions Next

r1355 Saturday 1st December, 2007 at 16:52:46 UTC by Wilbert Pol
[GAMEBOY] Updated the gbcolor and gbpocket driver to have the VBlank interrupt bit set on booting.
[src/mess/machine]gb.c

src/mess/machine/gb.c
r1354r1355
309309         gb_vram[ 0x1923 + i ] = i + 0x0C;
310310      }
311311      gb_vram[ 0x1910 ] = 0x19;
312
313      cpunum_set_input_line( 0, VBL_INT, ASSERT_LINE );
312314   }
313315
314316   /* Enable BIOS rom if we have one */
r1354r1355
362364      gbc_mode = GBC_MODE_GBC;
363365   else
364366      gbc_mode = GBC_MODE_MONO;
367
368   /* Extra initialization to get the state after running the bios */
369   {
370      cpunum_set_input_line( 0, VBL_INT, ASSERT_LINE );
371   }
365372}
366373
367374static void gb_machine_stop(running_machine *machine)

Previous 15994 Revisions Next


© 1998-2018 The MESS Team