summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
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-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
2015-05-14Small horizontal interrupt fixesMichael Pavone
2015-05-14Sync machine state before entering debuggerMichael Pavone
2015-05-13Fix problem with removing breakpointsMichael Pavone
2015-05-13Add description of cd register value to vr debugger commandMichael Pavone
2015-05-13Properly print equ for named labels that point outside the cartridge area in ↵Michael Pavone
disassembler
2015-05-13Get save state viewer compiling againMichael 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-11Tiny cleanupMichael Pavone
2015-05-11Fix frame counter increment and VINT cycle time calculationMichael Pavone
2015-05-11Fixed a missed call to do_sync when updating SR in 68K coreMichael Pavone
2015-05-11Sync fixes and logging to fix more sync issuesMichael Pavone
2015-05-05Added config option to allow specifying a max sync cycle smaller than the ↵Michael Pavone
end of frame
2015-05-04Indentation fixupMichael Pavone
2015-04-30Adjust TH timeout value to take into account the move to master clock cyclesMichael Pavone
2015-04-30Fix missing call to setup_io_devicesMichael Pavone
2015-04-28Fix bug in map_native_address that was breaking some self-modifying code in ↵Michael Pavone
Gunstar Heroes
2015-03-14WIP of functions to determine size of x86 instruction to allow patching of ↵Michael Pavone
arbitrary pieces of code