summaryrefslogtreecommitdiff
path: root/blastem.c
AgeCommit message (Collapse)Author
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-20Better handling of savestate and debug break events with "uncooperative" ↵Michael Pavone
games/demos
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-11Tiny cleanupMichael 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-30Fix missing call to setup_io_devicesMichael Pavone
2015-01-14Removed hardcoded assumptions in M68K core about which parts of the memory ↵Michael Pavone
map are RAM
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-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-03Fake busack when Z80 is disabledMichael Pavone
2015-01-03Restore emulation of Z80 being locked out of the 68K bus during DMA and the likeMichael Pavone
2015-01-03Fix bank area access delay for master clock changeMichael Pavone
2015-01-03Restore Z80 interrupt pulse duration and make a small improvement to debug ↵Michael Pavone
print output
2015-01-03Removed some obsolete definesMichael Pavone
2015-01-03Made the Z80 core more contained by refactoring some code in blastem.c into ↵Michael Pavone
z80_to_x86.c
2015-01-03All 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-01Adjust 68K sync cycle when mclk_target gets adjustedMichael Pavone
2015-01-01Add the 3 cycle delay back in to Z80 bank area accessMichael Pavone
2015-01-01Minor Z80 core cleanupMichael Pavone
2014-12-30MergeMichael Pavone
2014-12-29Add support for Z80 access to VDP via bank areaMichael Pavone
2014-12-26Fix mask for bank area in Z80 memory mapMichael Pavone
2014-12-26Get Z80 banked access sort of working againMichael Pavone
2014-12-26Set int_cycle to CYCLE_NEVER in sync_z80 so that the interrupt routine isn't ↵Michael Pavone
taken inappropriately now that the kludge in handle_cycle_limit_int has been removed
2014-12-22Z80 core is sort of working againMichael Pavone
2014-12-17Get rest of emulator compiling again with Z80 core enabledMichael Pavone
2014-12-14WIP effort to update z80 core for code gen changesMichael Pavone
2014-12-03Initial support for configurable IO, custom IO and sega transfer board emulationMichael Pavone
2014-06-21Fix Z80 interruptsMichael Pavone
2014-06-19Slight cleanup of vint handling on the Z80Michael Pavone
2014-06-18Fix most of the breakage caused by the vcounter/hcounter changesMichael Pavone
2014-06-17blastem builds and almost works on OS X nowMike Pavone
2014-03-02Initial stab at separating the generic parts of the 68K core from the ↵Michael Pavone
host-cpu specific parts.
2014-03-02Rename x86_68k_options and m68k_to_x86.h to m68k_options and m68k_core.h ↵Michael Pavone
respectively
2014-03-01Add a separate flag/define for disabling the Z80 at compile time to ease ↵Michael Pavone
refactoring
2014-02-24Use a typedef code_ptr in place of uint8_t * in 68K core to better support ↵Mike Pavone
host instruction sets with different instruction word sizes. Make x86_68k_options contain a cpu_options so that gen_mem_fun can eventually be shared with the Z80 core.
2014-02-18Initial work on the x86-32 targetMichael Pavone
2014-02-13Properly sync hardware when frame end is reached during DMAMike Pavone
2014-02-12Update version numberMike Pavone
2014-02-12Remove defines from blastem.c that had been moved to blastem.hMike Pavone
2014-02-11Move debugging code outside of main source fileMike Pavone
2014-02-09Added step and step-over debugger commands. step-over is like next except it ↵Mike Pavone
doesn't follow conditional branches to lower addresses. This makes it useful for advancing to the end of a loop. Also fixed a bug in next introduced by the refactor.
2014-02-09Refactor debugger next commandMike Pavone
2014-02-09Properly handle dbcc, rtr and rte in the debugger next commandMike Pavone