Age | Commit message (Collapse) | Author | |
---|---|---|---|
2015-05-26 | Fixes for the 32-bit build accidentally introduced a bug into the 64-bit ↵ | Michael Pavone | |
build, this commit fixes the regression | |||
2015-05-25 | Add a define in both the source and Makefile for enabling logging of z80 ↵ | Michael Pavone | |
instruction address/cycle counts. Fix Z80 in/out instructions to eliminate assumptions about which registers are stored in native regs. Fix read_16 to not corrupt the low byte when the read has to call into a C function. | |||
2015-05-25 | Fix RLD and RRD for the case in which HL does not map to a native register | Michael Pavone | |
2015-05-24 | Z80 test cases that passed on 64-bit now pass on 32-bit | Michael Pavone | |
2015-05-24 | More bugfixes for the 32-bit build of the Z80 core | Michael Pavone | |
2015-05-23 | Fix a bunch of assumptions about which Z80 registers are stored in native ↵ | Michael Pavone | |
registers to make the x86-32 build less broken | |||
2015-05-17 | Make sure z80_save_reg does nothing when there is no register in the reg ↵ | Michael Pavone | |
field of the instruction. This fixes a bug that corrupted SP in the MDEM 2011 demo | |||
2015-05-17 | Call z80_handle_deferred after generating an insruction handler so that ↵ | Michael Pavone | |
instructions like rst work correctly | |||
2015-05-17 | Fix crash bug in Z80 interpreter | Michael Pavone | |
2015-05-12 | Save PC to context struct when syncing Z80 at instruction start. This fixes ↵ | Michael Pavone | |
saving savestates and probably the Z80 debugger as well | |||
2015-05-11 | Remove/comment verbose logging added for tracking down sync bug | Michael Pavone | |
2015-05-11 | Sync fixes and logging to fix more sync issues | Michael Pavone | |
2015-01-04 | Merge | Michael Pavone | |
2015-01-03 | When going directly from reset to busreq, do not allow the Z80 to run | Michael Pavone | |
2015-01-03 | Restore Z80 interrupt pulse duration and make a small improvement to debug ↵ | Michael Pavone | |
print output | |||
2015-01-03 | Made the Z80 core more contained by refactoring some code in blastem.c into ↵ | Michael Pavone | |
z80_to_x86.c | |||
2015-01-03 | All cycle counters are now based off the master clock. This seems to have ↵ | Michael Pavone | |
messed up Z80 interrupt timing (music in Sonic 2 is too slow for instance), but things are generally working | |||
2015-01-02 | In theory, the Z80 core should work on 32-bit builds now; however, I suspect ↵ | Michael Pavone | |
there is some code that cannot deal with most of the Z80 registers not having a native register so more work will be needed | |||
2015-01-02 | Added functions to gen_x86 for saving and restoring callee save registers to ↵ | Michael Pavone | |
better abstract over ABI differences between x86 and x86-64 | |||
2015-01-02 | Use SZ_PTR instead of SZ_Q in Z80 core for 32-bit compat | Michael Pavone | |
2015-01-02 | Sync Z80 when taking an interrupt so that int_cycle gets updated | Michael Pavone | |
2015-01-01 | Remove dedicated registers for Z80 bank reg and Z80 bank pointer as they are ↵ | Michael Pavone | |
no longer used | |||
2015-01-01 | Add the 3 cycle delay back in to Z80 bank area access | Michael Pavone | |
2015-01-01 | Minor Z80 core cleanup | Michael Pavone | |
2015-01-01 | Use call_args and call_args_abi in Z80 core | Michael Pavone | |
2015-01-01 | Remove some of the hard coded assumptions about the memory map from the CPU ↵ | Michael Pavone | |
cores | |||
2014-12-30 | Merge | Michael Pavone | |
2014-12-29 | Fix handling of code writes for Z80 core. This seems to get things close to ↵ | Michael Pavone | |
being back to where they were before the big refactor that broke the Z80 core. Some problems remain. Notably the sound driver in Sonic 2 is still quite broken. | |||
2014-12-26 | Fix a few bugs introduced in the Z80 core from the adjustments to fit with ↵ | Michael Pavone | |
the code gen refactor | |||
2014-12-26 | Fix an off-by-one error in a branch destination in the generation of ↵ | Michael Pavone | |
handle_cycle_limit for the Z80 | |||
2014-12-26 | Update code->cur before calling z80_get_address_trans in ↵ | Michael Pavone | |
z80_retranslate_inst to avoid any newly translated instructions from being placed in the "buffer zone". Save the current value of the code_info struct for placing the final jmp instruction in the correct place | |||
2014-12-26 | Add in missing generated Z80 helper functions. Fix a small bug in Z80_HALT. ↵ | Michael Pavone | |
Fix generation of save and load context for Z80 | |||
2014-12-22 | Z80 core is sort of working again | Michael Pavone | |
2014-12-17 | Get rest of emulator compiling again with Z80 core enabled | Michael Pavone | |
2014-12-17 | Get Z80 core back into compileable state | Michael Pavone | |
2014-12-16 | Fix flags for rra, rrca, rla and rlca. Fix timing for rr, rrc, rl and rlc ↵ | Michael Pavone | |
when using IX or IY. Fix access to I and R registers (R still needs to be made 7-bit though). Fix flags for ld a, i. The fix for access to I fixes PCM playback in Titan Overdrive and music playback in Crackdown. | |||
2014-12-14 | WIP effort to update z80 core for code gen changes | Michael Pavone | |
2014-12-03 | Temporarily comment out code to translate Z80 instructions in place as in ↵ | Michael Pavone | |
rare cases it can stomp the next instruction if a branch goes from a short from to a long one | |||
2014-06-21 | Fix Z80 interrupts | Michael Pavone | |
2014-06-20 | Added some preliminary support for interpreting Z80 code from non-RAM addresses | Michael Pavone | |
2014-06-19 | Properly handle Z80 breakpoints on self-modifying code and setting Z80 ↵ | Michael Pavone | |
breakpoints before the Z80 program has been loaded | |||
2014-06-19 | Slight cleanup of vint handling on the Z80 | Michael Pavone | |
2014-06-17 | blastem builds and almost works on OS X now | Mike Pavone | |
2014-01-27 | Fix timing of certain ld and jp instructions in the Z80 core | Michael Pavone | |
2014-01-06 | The local clone on my laptop got messed up and some changes had not been ↵ | Michael Pavone | |
pushed. This commit represents the status of the working copy from that clone. It unfortunately contains some changes that I did not intend to commit yet, but this seems like the best option at the moment. | |||
2013-09-10 | Added copyright notice to source files and added GPL license text in COPYING | Mike Pavone | |
2013-06-29 | Add support for loading GST format savestates | Mike Pavone | |
2013-06-24 | Fix access to int_enable_cycle in EI | Mike Pavone | |
2013-06-15 | Fix DI | Mike Pavone | |
2013-06-14 | Fix adc and sbc | Mike Pavone | |