summaryrefslogtreecommitdiffstatshomepage
path: root/src/zexall/zexall.cpp
diff options
context:
space:
mode:
author hap <happppp@users.noreply.github.com>2017-10-23 17:19:49 +0200
committer hap <happppp@users.noreply.github.com>2017-10-23 17:19:49 +0200
commit97d52bc338a8291c7abf444b5876087da6ebe799 (patch)
tree326e061f8cca67a5f50cfdf5c24d522b3e4d91d3 /src/zexall/zexall.cpp
parentade358e294bc165d8e6b22a2a630d216e8020d16 (diff)
zexall: split standalone binary into zexall/interface and include source code (nw)
Diffstat (limited to 'src/zexall/zexall.cpp')
-rw-r--r--src/zexall/zexall.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/zexall/zexall.cpp b/src/zexall/zexall.cpp
index 2429ae7622a..f6be84f0ce2 100644
--- a/src/zexall/zexall.cpp
+++ b/src/zexall/zexall.cpp
@@ -10,8 +10,8 @@
#include "emu.h"
#include "cpu/z80/z80.h"
-
#include "zexall.h"
+#include "interface.h"
class zexall_state : public driver_device
{
@@ -57,7 +57,9 @@ void zexall_state::machine_reset()
terminate_string = "";
// program is self-modifying, so need to refresh it on each run
- memcpy(m_main_ram, zexall_program, 0x228a);
+ memset(m_main_ram, 0xff, 0x10000);
+ memcpy(m_main_ram, interface_binary, 0x51);
+ memcpy(m_main_ram + 0x0100, zexall_binary, 0x2189);
}