Mercurial > repos > blastem
view z80_util.c @ 1718:c7d18b8ec29a
Implemented the rest of the dd/fd prefixes for the add/adc/sub/sbc/inc/dec instructions in new Z80 core
author | Michael Pavone <pavone@retrodev.com> |
---|---|
date | Wed, 30 Jan 2019 18:55:58 -0800 |
parents | 4fd84c3efc72 |
children | ca2336469397 |
line wrap: on
line source
void z80_read_8(z80_context *context) { context->cycles += 3 * context->opts->gen.clock_divider; context->scratch1 = read_byte(context->scratch1, NULL, &context->opts->gen, context); } void z80_write_8(z80_context *context) { context->cycles += 3 * context->opts->gen.clock_divider; write_byte(context->scratch2, context->scratch1, NULL, &context->opts->gen, context); } void z80_io_read8(z80_context *context) { } void z80_io_write8(z80_context *context) { }