- Temporarily hack the boot sequence to floppy, then hard disk. See r69421; will be improved in the future.
- Complete the BIOS 16-bit bootstrap code.

svn path=/trunk/; revision=69422
This commit is contained in:
Hermès Bélusca-Maïto 2015-10-01 00:37:38 +00:00
parent 59136514da
commit 1f6976b003
2 changed files with 6 additions and 1 deletions

View file

@ -20,6 +20,7 @@
#include "cpu/cpu.h" // for EMULATOR_FLAG_CF
#include "cpu/bop.h"
#include "int32.h"
#include <isvbop.h>
#include <bios/bios.h>
#include <bios/rom.h>
@ -155,7 +156,8 @@ static const BYTE PostCode[] =
{
LOBYTE(EMULATOR_BOP), HIBYTE(EMULATOR_BOP), BOP_RESET, // Call BIOS POST
0xCD, BIOS_BOOTSTRAP_LOADER, // INT 0x19
// LOBYTE(EMULATOR_BOP), HIBYTE(EMULATOR_BOP), BOP_UNSIMULATE
0xCD, BIOS_ROM_BASIC, // INT 0x18
LOBYTE(EMULATOR_BOP), HIBYTE(EMULATOR_BOP), BOP_UNSIMULATE
};

View file

@ -483,6 +483,9 @@ VOID CmosInitialize(VOID)
CmosMemory.ShutdownStatus = 0x00;
CmosMemory.EquipmentList = CMOS_EQUIPMENT_LIST;
// HACK: For the moment, set the boot sequence to: 1-Floppy, 2-Hard Disk .
CmosMemory.Regs[CMOS_REG_SYSOP] |= (1 << 5);
/* Memory settings */
/*