summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
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
2015-01-03Added a -r flag to ztestrun that force instruction retranslation to allow a ↵Michael Pavone
quick sanity test of that feature
2015-01-03Fix ztestrunMichael Pavone
2015-01-03Fix 68K remove_breakpointMichael 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-02In theory, the Z80 core should work on 32-bit builds now; however, I suspect ↵Michael Pavone
there is some code that cannot deal with most of the Z80 registers not having a native register so more work will be needed
2015-01-02Added functions to gen_x86 for saving and restoring callee save registers to ↵Michael Pavone
better abstract over ABI differences between x86 and x86-64
2015-01-02Use SZ_PTR instead of SZ_Q in Z80 core for 32-bit compatMichael Pavone
2015-01-02Sync Z80 when taking an interrupt so that int_cycle gets updatedMichael Pavone
2015-01-01Remove dedicated registers for Z80 bank reg and Z80 bank pointer as they are ↵Michael Pavone
no longer used
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
2015-01-01Use call_args and call_args_abi inside gen_mem_funMichael Pavone
2015-01-01Use call_args and call_args_abi in Z80 coreMichael Pavone
2015-01-01Added 2 new functions to gen_x86.c for handling passing args according to ↵Michael Pavone
the C abi of the host system and adapted the code in m68k_core_x86.c to use that instead of doing everything by hand
2015-01-01Avoid calling atexit(SDL_Quit) until after OpenGL initialization to avoid a ↵Michael Pavone
segfault on exit when using fglrx