summaryrefslogtreecommitdiff
path: root/z80_to_x86.c
AgeCommit message (Collapse)Author
2016-08-01Implemented IND and INDRMichael Pavone
2016-08-01Implemented INIRMichael Pavone
2016-08-01Implement INIMichael Pavone
2016-07-30Fix handling of undocumented flag bits for ADD in 32-bit buildsMichael Pavone
2016-07-30Fixed bug introduced in NEG with addition of undocumented flagsMichael Pavone
2016-07-29Implement undocumented flag bits for shift instructionsMichael Pavone
2016-07-29Implement undocumented flag bits for RLD and RRDMichael Pavone
2016-07-29Implemented undocumented flag bits for rotate instructionsMichael Pavone
2016-07-29Implement undocumented flag bits for block LD instructionsMichael Pavone
2016-07-29Implement undocumented flag bits for block CP instructionsMichael Pavone
2016-07-28Implement undoumented flag bits for DAA, CPL, SCF and CCFMichael Pavone
2016-07-28Partial support for undocumented flag bitsMichael Pavone
2016-07-27More efficient register usage in 32-bit modeMichael Pavone
2016-07-27Change cycle tracking code for Z80 core to only use a single register. Store ↵Michael Pavone
low 7 bits of R in a reg and increment it appropriately.
2016-07-26Fix DAA and implement half-carry for remaining instructions. Z80 core now ↵Michael Pavone
passes ZEXDOC!
2016-07-26Implement half-carry for INC, DEC and NEGMichael Pavone
2016-07-25Properly handle redundant prefixesMichael Pavone
2016-07-24Implement block CP instructions. Fix bug that would corrupt context reg in ↵Michael Pavone
DAA. Fix flag values for when LD block instructions are interrupted part way through.
2016-07-24Implement Z80 DAA. Implement half-carry flag for the rest of the "easy" ↵Michael Pavone
cases. Implement flags for IN instruction. Fix implementation of IN for IN F, (C) case
2016-07-23Implement Z80 block OUT instructions. Fixes Power MongerMichael Pavone
2016-04-20Fix bug in Z80 rrd implementation. This fixes the annoying high pitched wine ↵Michael Pavone
in Afterburner II.
2016-04-20Fix crash bug in Z80 debugger introduced with stack alignment changesMichael Pavone
2015-11-27Replace some hard-coded instruction length assumptions with a calculation so ↵Michael Pavone
they will work properly on both 32-bit and 64-bit hosts
2015-11-26Fix for Z80 retranslation post alignment reworkMichael Pavone
2015-11-26Z80 core is now slightly less brokenMichael Pavone
2015-11-25Get Z80 core sort of working again post alignment changeMichael Pavone
2015-11-25Partially 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-13Selecting a second game from the menu now worksMichael Pavone
2015-11-04Improve 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-31Small tweaks to timing of 68K/Z80 interactions based on latest testsMichael Pavone
2015-10-31Set flags for ld a, rMichael Pavone
2015-10-29Fix timing of certain variants of LDMichael Pavone
2015-10-29Fix timing of IM instructionMichael Pavone
2015-09-18Fixed 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-01Implement half carry for a couple of the trivial casesMichael Pavone
2015-07-29Added support for an IO memory map in Z80 coreMichael Pavone
2015-07-25Use 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-27Cleanup some warnings under clang through a combination of code fixes and ↵Michael Pavone
supressing specific warnings
2015-05-26Fixes for the 32-bit build accidentally introduced a bug into the 64-bit ↵Michael Pavone
build, this commit fixes the regression
2015-05-25Add 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-25Fix RLD and RRD for the case in which HL does not map to a native registerMichael Pavone
2015-05-24Z80 test cases that passed on 64-bit now pass on 32-bitMichael Pavone
2015-05-24More bugfixes for the 32-bit build of the Z80 coreMichael Pavone
2015-05-23Fix 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-17Make 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-17Call z80_handle_deferred after generating an insruction handler so that ↵Michael Pavone
instructions like rst work correctly
2015-05-17Fix crash bug in Z80 interpreterMichael Pavone
2015-05-12Save 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-11Remove/comment verbose logging added for tracking down sync bugMichael Pavone
2015-05-11Sync fixes and logging to fix more sync issuesMichael Pavone