comparison z80.cpu @ 1748:48a43dff4dc0

Added init functions to z80_util.c so new Z80 core is closer to a drop in replacement for the old one
author Michael Pavone <pavone@retrodev.com>
date Thu, 07 Feb 2019 09:43:25 -0800
parents a8f04b0ab744
children 01236179fc71
comparison
equal deleted inserted replaced
1747:89ddf41a50bb 1748:48a43dff4dc0
3 opcode_size 8 3 opcode_size 8
4 extra_tables cb ed dded fded ddcb fdcb dd fd 4 extra_tables cb ed dded fded ddcb fdcb dd fd
5 body z80_run_op 5 body z80_run_op
6 include z80_util.c 6 include z80_util.c
7 header z80.h 7 header z80.h
8
9 declare
10 void init_z80_opts(z80_options * options, memmap_chunk const * chunks, uint32_t num_chunks, memmap_chunk const * io_chunks, uint32_t num_io_chunks, uint32_t clock_divider, uint32_t io_address_mask);
11 z80_context * init_z80_context(z80_options *options);
8 12
9 regs 13 regs
10 main 8 b c d e h l f a 14 main 8 b c d e h l f a
11 alt 8 b' c' d' e' h' l' f' a' 15 alt 8 b' c' d' e' h' l' f' a'
12 i 8 16 i 8