summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2015-06-28Fix self modifying code checks on platforms like OS X on which guest RAM ↵Michael Pavone
ends up at an address unreachable with a 32-bit displacement
2015-06-28Use MAP_32BIT on Linux since my hint seems to be ignoredMichael Pavone
2015-06-28Use mmap with a hint rather than sbrk for allocating executable memory ↵Michael Pavone
within 32-bit displacement range of compiled code
2015-06-28More clang warning cleanupMichael Pavone
2015-06-27Preserve scratch2 when using it as a temporary in memory read functions. ↵Michael Pavone
This fixes a bunch of issues with the Z80 core and possibly some issues with the 68K core as well
2015-06-27Cleanup some warnings under clang through a combination of code fixes and ↵Michael Pavone
supressing specific warnings
2015-06-27Handle far calls in call_args and call_args_abiMichael Pavone
2015-06-25Lame placeholder support for floating bus bits of IO hardware. Needs to be ↵Michael Pavone
replaced with prefetch based values
2015-06-22Minor cleanup in init_run_cpuMichael Pavone
2015-06-22Fix negative offsets in calc_areg_displaceMichael Pavone
2015-06-22Fix handling of address mask in gen_mem_funMichael Pavone
2015-06-22Fix check for DEBUG in MakefileMichael Pavone
2015-05-30Fixed shadow/highlight modeMichael Pavone
2015-05-28MergeMichael Pavone
2015-05-28Fix crash bug in windows buildMichael Pavone
2015-05-28Get windows build compiling again post-mergeMichael Pavone
2015-05-28Merge windows branch with latest changesMichael Pavone
2015-05-28Adjusted Makefile to support linking against the static glew library from ↵Michael Pavone
the standard download
2015-05-28Fix LFO counter update speed and implement amplitude modulationMichael Pavone
2015-05-27Add a basic YM-2612 command to the debugger. Fix negative detune values and ↵Michael Pavone
get the correct precision for the multiplication step of phase inc calculation
2015-05-26Fix register to operator mapping for channel 3 special modeMichael Pavone
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-25Implement cycles being stolen from 68K when the Z80 accesses the bank area ↵Michael Pavone
or VDP/PSG. Small fix to code that tries to get system into a consistent state for a savestate
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-25Fix crash bug in 32-bit build for certain secnarios with bcd instructionsMichael Pavone
2015-05-25Fix div instruction when dest is d0 in 32-bit buildMichael 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-23Generate an error in x86-32 builds for most cases when a REX prefix would be ↵Michael Pavone
generated
2015-05-23Eliminate runtime.S/runtime_32.S.Michael Pavone
2015-05-22Don't attempt to translate or map code at odd addresses. This fixes a bug ↵Michael Pavone
that shows up when playing College Footbal USA 96
2015-05-22Fix out of bounds memory access when an instruction wraps around the end of ↵Michael Pavone
memory
2015-05-22Fix bug in vdp_next_hint that was causing HINTs to fire repeatedly when they ↵Michael Pavone
should not have fired at all based on an HINT interval that was larger than the number of active lines in the display
2015-05-21Process events while waiting for 68K debugger input. This prevents "not ↵Michael Pavone
responsive" dialogs when sitting in the debugger
2015-05-21Restore the other 2 debug display modesMichael Pavone
2015-05-20Better handling of savestate and debug break events with "uncooperative" ↵Michael Pavone
games/demos
2015-05-20Add some tests for hint timing and fix it properly this time.Michael Pavone
2015-05-20Upgrade to SDL 2.0 and drop support for the non-OpenGL render pathMichael Pavone
2015-05-20Update vscroll latch implementation to be more in line with what Eke-Eke has ↵Michael Pavone
observed. Revert the change to vdp_cycles_to_line because it breaks hints on line 0. H-Int timing is still a little messed up, but the previous change made things worse.
2015-05-19Small correction to VBLANK flag timing. Fixed some inconsistencies in ↵Michael Pavone
interrupt timing calculation.
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 VDP status register PAL bit based on observations of the Titan Overdrive ↵Michael Pavone
demo
2015-05-17Don't overwrite an instruction offset mapping with an extension word value. ↵Michael Pavone
I really need the ability for a word to be mapped to more than one instruction, but this will be more correct for now
2015-05-17Fix crash bug in Z80 interpreterMichael Pavone
2015-05-16Adjust H32 vint slot in response to latest test ROM dataMichael Pavone
2015-05-16First pass at emulating a vscroll latch. Titan's Overdrive demo seems to ↵Michael Pavone
depend on the scroll value being latched early in the line before the HINT gets a chance to change it
2015-05-16Fix trans so it compiles againMichael Pavone