Mercurial > repos > blastem
view z80_util.c @ 1710:2344b3650b38
Fix sbc and implement carry/overflow flags for it in CPU DSL
author | Michael Pavone <pavone@retrodev.com> |
---|---|
date | Mon, 28 Jan 2019 22:56:43 -0800 |
parents | c2324849a5e5 |
children | 4fd84c3efc72 |
line wrap: on
line source
void z80_read_8(z80_context *context) { context->scratch1 = read_byte(context->scratch1, NULL, &context->opts->gen, context); } void z80_write_8(z80_context *context) { 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) { }