public function initBootstrap()
{
//Start as an unset device:
echo 'Starting the GBC boot ROM.' . PHP_EOL;
$this->programCounter = 0;
$this->stackPointer = 0;
$this->IME = false;
$this->LCDTicks = 0;
$this->DIVTicks = 0;
$this->registerA = 0;
$this->registerB = 0;
$this->registerC = 0;
$this->registerD = 0;
$this->registerE = 0;
$this->FZero = $this->FSubtract = $this->FHalfCarry = $this->FCarry = false;
$this->registersHL = 0;
$this->memory[0xff00] = 0xf;
//Set the joypad state.
}