diff options
author | Michael Pavone <pavone@retrodev.com> | 2019-02-12 09:58:04 -0800 |
---|---|---|
committer | Michael Pavone <pavone@retrodev.com> | 2019-02-12 09:58:04 -0800 |
commit | 84198d4ef6e5f311945ec6f6a8956426a52795af (patch) | |
tree | 7d14ca50af2f7e7404d6846e4bd6e334c7a133fc /cpu_dsl.py | |
parent | 1b23425efd7606bf6cd509861d9b2d60e033e962 (diff) |
Integration of new Z80 core is sort of working now
Diffstat (limited to 'cpu_dsl.py')
-rwxr-xr-x | cpu_dsl.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -696,7 +696,7 @@ _opMap = { 'sext': Op(_sext).addImplementation('c', 2, _sextCImpl), 'ocall': Op().addImplementation('c', None, lambda prog, params: '\n\t{pre}{fun}({args});'.format( pre = prog.prefix, fun = params[0], args = ', '.join(['context'] + [str(p) for p in params[1:]]) - )), + ) + _updateSyncCImpl(prog, params)), 'cycles': Op().addImplementation('c', None, lambda prog, params: '\n\tcontext->cycles += context->opts->gen.clock_divider * {0};'.format( params[0] |