summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
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
2015-01-14Removed hardcoded assumptions in M68K core about which parts of the memory ↵Michael Pavone
map are RAM
2015-01-08A couple more indentation fixesMichael Pavone
2015-01-08Moved m68k_save_result to m68k_core.cMichael Pavone
2015-01-08Moved translate_m68k_rte and translate_m68k_reset to m68k_core.cMichael Pavone
2015-01-08Fix indentation that presumably got messed up in a mergeMichael Pavone
2015-01-08MergeMichael Pavone
2015-01-07Added ldr and str instructions to gen_armMichael Pavone
2015-01-06Move detect_region down so that it once again occurs after load_rom since it ↵Michael Pavone
won't work before the ROM is loaded
2015-01-04MergeMichael Pavone
2015-01-04Prevent an infinite loop when handling out of bounds addresses in ↵Michael Pavone
translate_m68k_stream
2015-01-04Some small synchronization improvements that do not seem to fix anythingMichael Pavone
2015-01-04Removed some code that tried to deal with the 68K not using master clocks ↵Michael Pavone
that is no longer necessary
2015-01-04Adjusted h40_hsync_cycles so that lines actually take 3420 mclks. Fixed ↵Michael Pavone
vdp_cycles_next_line to take h40_sync_cycles into account
2015-01-03Fake busack when Z80 is disabledMichael Pavone
2015-01-03When going directly from reset to busreq, do not allow the Z80 to runMichael Pavone