diff options
author | Michael Pavone <pavone@retrodev.com> | 2019-02-07 09:43:25 -0800 |
---|---|---|
committer | Michael Pavone <pavone@retrodev.com> | 2019-02-07 09:43:25 -0800 |
commit | 201639b58bf8b6c3ebbed8c33778c9c9c0a691ce (patch) | |
tree | f9a20e3d951f5b73f6c7d96d0092ed8848c1a702 /blastcpm.c | |
parent | e32a04deadb4f861efc34ffcd24ac405511bec47 (diff) |
Added init functions to z80_util.c so new Z80 core is closer to a drop in replacement for the old one
Diffstat (limited to 'blastcpm.c')
-rw-r--r-- | blastcpm.c | 14 |
1 files changed, 0 insertions, 14 deletions
@@ -107,22 +107,8 @@ int main(int argc, char **argv) z80_options opts; z80_context *context; -#ifdef NEW_CORE - memset(&opts, 0, sizeof(opts)); - opts.gen.memmap = z80_map; - opts.gen.memmap_chunks = 1; - opts.gen.address_mask = 0xFFFF; - opts.gen.max_address = 0xFFFF; - opts.gen.clock_divider = 1; - context = calloc(1, sizeof(z80_context)); - context->opts = &opts; - context->io_map = io_map; - context->io_chunks = 3; - context->io_mask = 0xFF; -#else init_z80_opts(&opts, z80_map, 1, io_map, 3, 1, 0xFF); context = init_z80_context(&opts); -#endif for(;;) { #ifdef NEW_CORE |