summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/xerox820.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/xerox820.cpp')
-rw-r--r--src/mame/drivers/xerox820.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/mame/drivers/xerox820.cpp b/src/mame/drivers/xerox820.cpp
index a83089253ad..776c60729af 100644
--- a/src/mame/drivers/xerox820.cpp
+++ b/src/mame/drivers/xerox820.cpp
@@ -402,10 +402,10 @@ static const z80_daisy_config xerox820_daisy_chain[] =
QUICKLOAD_LOAD_MEMBER( xerox820_state, xerox820 )
{
address_space& prog_space = m_maincpu->space(AS_PROGRAM);
-
+
if (quickload_size >= 0xfd00)
return image_init_result::FAIL;
-
+
bankswitch(0);
/* Avoid loading a program if CP/M-80 is not in memory */
@@ -414,7 +414,7 @@ QUICKLOAD_LOAD_MEMBER( xerox820_state, xerox820 )
machine_reset();
return image_init_result::FAIL;
}
-
+
/* Load image to the TPA (Transient Program Area) */
for (uint16_t i = 0; i < quickload_size; i++)
{
@@ -426,11 +426,11 @@ QUICKLOAD_LOAD_MEMBER( xerox820_state, xerox820 )
/* clear out command tail */
prog_space.write_byte(0x80, 0); prog_space.write_byte(0x81, 0);
-
+
/* Roughly set SP basing on the BDOS position */
m_maincpu->set_state_int(Z80_SP, 256 * prog_space.read_byte(7) - 300);
m_maincpu->set_pc(0x100); // start program
-
+
return image_init_result::PASS;
}