Age | Commit message (Collapse) | Author | |
---|---|---|---|
2015-11-25 | Get Z80 core sort of working again post alignment change | Michael Pavone | |
2015-11-25 | Partially working change to do proper stack alignment rather than doing a ↵ | Michael Pavone | |
lame alignment check when calling a C compile dfunction. 68K core seems okay, but Z80 is busted. | |||
2015-11-13 | Selecting a second game from the menu now works | Michael Pavone | |
2015-11-04 | Improve timing of Z80 busack. Fixes a crash in Barkley: Shut Up and Jam. ↵ | Michael Pavone | |
Also vastly improves the audio output of Stuck Somewhere in Time | |||
2015-10-31 | Small tweaks to timing of 68K/Z80 interactions based on latest tests | Michael Pavone | |
2015-10-31 | Set flags for ld a, r | Michael Pavone | |
2015-10-29 | Fix timing of certain variants of LD | Michael Pavone | |
2015-10-29 | Fix timing of IM instruction | Michael Pavone | |
2015-09-18 | Fixed a copy pasta error in the implementation of LDD and LDDR. HL should be ↵ | Michael Pavone | |
decremented and not incremented in those instructions. | |||
2015-08-01 | Implement half carry for a couple of the trivial cases | Michael Pavone | |
2015-07-29 | Added support for an IO memory map in Z80 core | Michael Pavone | |
2015-07-25 | Use a new fatal_error function instead of calling fprintf and exit for fatal ↵ | Michael Pavone | |
errors. This new function more gracefully handles the case in which BlastEm was not started from a terminal or disconnected from ther terminal (Windows). | |||
2015-06-27 | Cleanup some warnings under clang through a combination of code fixes and ↵ | Michael Pavone | |
supressing specific warnings | |||
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 | |