summaryrefslogtreecommitdiff
path: root/z80.cpu
diff options
context:
space:
mode:
authorMichael Pavone <pavone@retrodev.com>2019-02-07 09:43:25 -0800
committerMichael Pavone <pavone@retrodev.com>2019-02-07 09:43:25 -0800
commit201639b58bf8b6c3ebbed8c33778c9c9c0a691ce (patch)
treef9a20e3d951f5b73f6c7d96d0092ed8848c1a702 /z80.cpu
parente32a04deadb4f861efc34ffcd24ac405511bec47 (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 'z80.cpu')
-rw-r--r--z80.cpu4
1 files changed, 4 insertions, 0 deletions
diff --git a/z80.cpu b/z80.cpu
index db19837..3261187 100644
--- a/z80.cpu
+++ b/z80.cpu
@@ -6,6 +6,10 @@ info
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'