Mercurial > repos > blastem
diff 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 |
line wrap: on
line diff
--- a/z80.cpu Wed Feb 06 09:13:24 2019 -0800 +++ b/z80.cpu Thu Feb 07 09:43:25 2019 -0800 @@ -6,6 +6,10 @@ include z80_util.c header z80.h +declare + 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); + z80_context * init_z80_context(z80_options *options); + regs main 8 b c d e h l f a alt 8 b' c' d' e' h' l' f' a'