diff options
author | Mike Pavone <pavone@retrodev.com> | 2013-05-14 21:59:56 -0700 |
---|---|---|
committer | Mike Pavone <pavone@retrodev.com> | 2013-05-14 21:59:56 -0700 |
commit | e405770744091c32a66f67ff315ef54a00241146 (patch) | |
tree | 9e6a7f503222dd7ba340924a3da3ecfa58e6299a /zruntime.S | |
parent | 9fa33049138aaee23501e87a088bc08109e2a58c (diff) |
Some Z80 interrupt fixes
Diffstat (limited to 'zruntime.S')
-rw-r--r-- | zruntime.S | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -38,6 +38,7 @@ z80_handle_cycle_limit_int: cmp 116(%rsi), %ebp jb zskip_int mov 112(%rsi), %ebp /* set cycle limit to sync cycle */ + movl $0xFFFFFFFF, 116(%rsi) /* make sure the interrupt doesn't fire more than once */ add $7, %ebp sub $2, %r9w mov %r9w, %r14w |