Mercurial > repos > blastem
diff z80_util.c @ 1706:c2324849a5e5
Initial checkin of new WIP Z80 core using CPU DSL
author | Michael Pavone <pavone@retrodev.com> |
---|---|
date | Mon, 28 Jan 2019 21:16:41 -0800 |
parents | |
children | 4fd84c3efc72 |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/z80_util.c Mon Jan 28 21:16:41 2019 -0800 @@ -0,0 +1,18 @@ + +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) +{ +} \ No newline at end of file