Mercurial > repos > blastem
comparison blastem.c @ 819:ab017fb09e77
Added support for an IO memory map in Z80 core
author | Michael Pavone <pavone@retrodev.com> |
---|---|
date | Wed, 29 Jul 2015 00:03:36 -0700 |
parents | 1f3ddeaacaee |
children | 0433fdd9ba66 |
comparison
equal
deleted
inserted
replaced
818:a634ed0a92cf | 819:ab017fb09e77 |
---|---|
1035 psg_init(&p_context, render_sample_rate(), gen.master_clock, MCLKS_PER_PSG, render_audio_buffer()); | 1035 psg_init(&p_context, render_sample_rate(), gen.master_clock, MCLKS_PER_PSG, render_audio_buffer()); |
1036 | 1036 |
1037 z80_context z_context; | 1037 z80_context z_context; |
1038 #ifndef NO_Z80 | 1038 #ifndef NO_Z80 |
1039 z80_options z_opts; | 1039 z80_options z_opts; |
1040 init_z80_opts(&z_opts, z80_map, 5, MCLKS_PER_Z80); | 1040 init_z80_opts(&z_opts, z80_map, 5, NULL, 0, MCLKS_PER_Z80); |
1041 init_z80_context(&z_context, &z_opts); | 1041 init_z80_context(&z_context, &z_opts); |
1042 z80_assert_reset(&z_context, 0); | 1042 z80_assert_reset(&z_context, 0); |
1043 #endif | 1043 #endif |
1044 | 1044 |
1045 z_context.system = &gen; | 1045 z_context.system = &gen; |