Mercurial > repos > blastem
graph
-
Made the Z80 core more contained by refactoring some code in blastem.c into z80_to_x86.cSat, 03 Jan 2015 18:23:04 -0800, by Michael Pavone
-
All cycle counters are now based off the master clock. This seems to have messed up Z80 interrupt timing (music in Sonic 2 is too slow for instance), but things are generally workingSat, 03 Jan 2015 16:08:23 -0800, by Michael Pavone
-
In theory, the Z80 core should work on 32-bit builds now; however, I suspect there is some code that cannot deal with most of the Z80 registers not having a native register so more work will be neededFri, 02 Jan 2015 13:47:34 -0800, by Michael Pavone
-
Added functions to gen_x86 for saving and restoring callee save registers to better abstract over ABI differences between x86 and x86-64Fri, 02 Jan 2015 13:14:09 -0800, by Michael Pavone
-
Use SZ_PTR instead of SZ_Q in Z80 core for 32-bit compatFri, 02 Jan 2015 12:04:58 -0800, by Michael Pavone
-
Sync Z80 when taking an interrupt so that int_cycle gets updatedFri, 02 Jan 2015 00:19:10 -0800, by Michael Pavone
-
Remove dedicated registers for Z80 bank reg and Z80 bank pointer as they are no longer usedThu, 01 Jan 2015 23:37:24 -0800, by Michael Pavone
-
Adjust 68K sync cycle when mclk_target gets adjustedThu, 01 Jan 2015 22:52:18 -0800, by Michael Pavone
-
Add the 3 cycle delay back in to Z80 bank area accessThu, 01 Jan 2015 22:18:32 -0800, by Michael Pavone
-
Minor Z80 core cleanupThu, 01 Jan 2015 20:26:22 -0800, by Michael Pavone
-
Use call_args and call_args_abi inside gen_mem_funThu, 01 Jan 2015 20:21:20 -0800, by Michael Pavone
-
Use call_args and call_args_abi in Z80 coreThu, 01 Jan 2015 20:07:47 -0800, by Michael Pavone
-
Added 2 new functions to gen_x86.c for handling passing args according to the C abi of the host system and adapted the code in m68k_core_x86.c to use that instead of doing everything by handThu, 01 Jan 2015 19:15:05 -0800, by Michael Pavone
-
Avoid calling atexit(SDL_Quit) until after OpenGL initialization to avoid a segfault on exit when using fglrxThu, 01 Jan 2015 17:36:23 -0800, by Michael Pavone
-
Fix some issues with 68K instruction retranslationThu, 01 Jan 2015 17:31:59 -0800, by Michael Pavone
-
Remove some of the hard coded assumptions about the memory map from the CPU coresThu, 01 Jan 2015 14:36:55 -0800, by Michael Pavone
-
MergeTue, 30 Dec 2014 19:11:34 -0800, by Michael Pavone
-
Fix flags for rra, rrca, rla and rlca. Fix timing for rr, rrc, rl and rlc when using IX or IY. Fix access to I and R registers (R still needs to be made 7-bit though). Fix flags for ld a, i. The fix for access to I fixes PCM playback in Titan Overdrive and music playback in Crackdown.Tue, 16 Dec 2014 01:10:54 -0800, by Michael Pavone
-
Set the busy flag after a YM-2612 address writeTue, 16 Dec 2014 01:05:00 -0800, by Michael Pavone
-
Added HV counter test ROM sourceSun, 14 Dec 2014 18:17:29 -0800, by Michael Pavone
-
Remove object file that was accidentally addedSun, 14 Dec 2014 18:16:14 -0800, by Michael Pavone
-
Fix the HV counter and adjust the slots of certain VDP eventsSun, 14 Dec 2014 18:14:50 -0800, by Michael Pavone
-
Produce a listing file when assembling 68K test ROMsSun, 14 Dec 2014 18:12:00 -0800, by Michael Pavone
-
Initial support for configurable IO, custom IO and sega transfer board emulationWed, 03 Dec 2014 09:32:32 -0800, by Michael Pavone
-
Temporarily comment out code to translate Z80 instructions in place as in rare cases it can stomp the next instruction if a branch goes from a short from to a long oneWed, 03 Dec 2014 09:30:01 -0800, by Michael Pavone
-
Unbreak PC indexed addressing modes in decoderWed, 03 Dec 2014 09:26:07 -0800, by Michael Pavone
-
Fix interpretation of moves direction fieldWed, 15 Oct 2014 00:30:19 -0700, by Michael Pavone
-
Fix decoding of movecWed, 15 Oct 2014 00:26:57 -0700, by Michael Pavone
-
Add equates for address references below address_offTue, 14 Oct 2014 22:17:42 -0700, by Michael Pavone
-
Ignore odd addresses in calls to defer in disassemblerTue, 14 Oct 2014 21:58:17 -0700, by Michael Pavone
-
Add support for 68020 addressing modes in decoder and disassemblerTue, 14 Oct 2014 21:58:03 -0700, by Michael Pavone
-
Tiny bit of work towards supporting 68020 addressing modes in decoder/disassemblerSun, 12 Oct 2014 23:55:25 -0700, by Michael Pavone
-
Add support for 68020 bitfield instructionsSun, 12 Oct 2014 19:03:05 -0700, by Michael Pavone
-
Fix logic for automatic label generation.Sun, 12 Oct 2014 19:02:47 -0700, by Michael Pavone
-
Better support for labels sourced from VOS program module headerSat, 11 Oct 2014 22:18:49 -0700, by Michael Pavone
-
Fix translation of 68K address to buffer location when address_off != 0Sat, 11 Oct 2014 21:42:33 -0700, by Michael Pavone
-
Add -r option to indicate VOS program module contains a 68K reset vectorSat, 11 Oct 2014 21:20:02 -0700, by Michael Pavone
-
Add support for disassembling VOS program modulesSat, 11 Oct 2014 20:32:17 -0700, by Michael Pavone
-
Improve support for disassembling 68010+ binariesWed, 08 Oct 2014 22:18:34 -0700, by Michael Pavone
-
Small fix to display of DMA source address in vr debug commandThu, 14 Aug 2014 09:38:32 -0700, by Michael Pavone
-
Fix Z80 interruptsSat, 21 Jun 2014 09:36:15 -0700, by Michael Pavone
-
Added some preliminary support for interpreting Z80 code from non-RAM addressesFri, 20 Jun 2014 07:57:32 -0700, by Michael Pavone
-
Properly handle Z80 breakpoints on self-modifying code and setting Z80 breakpoints before the Z80 program has been loadedThu, 19 Jun 2014 19:50:16 -0700, by Michael Pavone
-
Slight cleanup of vint handling on the Z80Thu, 19 Jun 2014 08:14:35 -0700, by Michael Pavone
-
Remove debug printf that escaped into my previous commitWed, 18 Jun 2014 16:39:42 -0700, by Michael Pavone
-
Fix most of the breakage caused by the vcounter/hcounter changesWed, 18 Jun 2014 16:30:19 -0700, by Michael Pavone
-
Partially working switch to having a vcounter and hslot counter in the context rather than trying to derive them from the cycle count. This should allow for more accurate handling of mid screen mode switches. Interrupt timing is broken currently thoughTue, 17 Jun 2014 19:01:01 -0700, by Michael Pavone
-
Added support for JR and JRcc in Z80 test generatorMon, 29 Dec 2014 21:36:17 -0800, by Michael Pavone
-
Added support for JPcc in Z80 test generatorMon, 29 Dec 2014 21:24:12 -0800, by Michael Pavone
-
Added support for JP in Z80 test generatorMon, 29 Dec 2014 20:56:05 -0800, by Michael Pavone
-
Add support for Z80 access to VDP via bank areaMon, 29 Dec 2014 00:41:36 -0800, by Michael Pavone
-
Update .hgignoreMon, 29 Dec 2014 00:14:33 -0800, by Michael Pavone
-
Fix flag mask for m68k notMon, 29 Dec 2014 00:14:21 -0800, by Michael Pavone
-
Fix opsize for sbcd in 68K instruction decoder. This fixes the timer bug in Strider 2Sun, 28 Dec 2014 17:58:43 -0800, by Michael Pavone
-
Removed bcd_add and bcd_sub from runtime.S and generated the logic inline with the rest of abcd and sbcd translation. Fixed some edge cases and undefined flag behavior in the processSun, 28 Dec 2014 17:25:36 -0800, by Michael Pavone
-
Fix divide by zero exception return address when div instruction is bigger than 1 wordSat, 27 Dec 2014 15:49:15 -0800, by Michael Pavone
-
Decrement address register after fetching source in move with -(ax) dest to avoid bug when src is the dst addres regSat, 27 Dec 2014 14:51:50 -0800, by Michael Pavone
-
Uncomment 68000 testcasesSat, 27 Dec 2014 14:50:50 -0800, by Michael Pavone
-
Don't use out of bounds displacements in indexed mode even if our targeted address is out of RAM rangeSat, 27 Dec 2014 14:50:28 -0800, by Michael Pavone
-
Fix memory map flags in ztestrunFri, 26 Dec 2014 21:26:25 -0800, by Michael Pavone
-
Fix mask for bank area in Z80 memory mapFri, 26 Dec 2014 20:46:56 -0800, by Michael Pavone
-
Fix a bug in ori to SR that was swapping USP and SSP inappropriatelyFri, 26 Dec 2014 19:38:27 -0800, by Michael Pavone
-
Get Z80 banked access sort of working againFri, 26 Dec 2014 19:37:59 -0800, by Michael Pavone
-
Fix reg-indirect mode for RBP/R13Fri, 26 Dec 2014 19:36:41 -0800, by Michael Pavone
-
Set int_cycle to CYCLE_NEVER in sync_z80 so that the interrupt routine isn't taken inappropriately now that the kludge in handle_cycle_limit_int has been removedFri, 26 Dec 2014 15:46:53 -0800, by Michael Pavone
-
Fix a few bugs introduced in the Z80 core from the adjustments to fit with the code gen refactorFri, 26 Dec 2014 15:45:31 -0800, by Michael Pavone
-
Add Z80 test runner Python script I wrote a while back and forgot to commitFri, 26 Dec 2014 13:42:25 -0800, by Michael Pavone
-
Update .hgignoreFri, 26 Dec 2014 13:41:45 -0800, by Michael Pavone
-
Fix an off-by-one error in a branch destination in the generation of handle_cycle_limit for the Z80Fri, 26 Dec 2014 12:56:53 -0800, by Michael Pavone
-
Update code->cur before calling z80_get_address_trans in z80_retranslate_inst to avoid any newly translated instructions from being placed in the "buffer zone". Save the current value of the code_info struct for placing the final jmp instruction in the correct placeFri, 26 Dec 2014 12:52:13 -0800, by Michael Pavone
-
Set the byte_swap flag in the M68K core so gen_mem_fun correctly inserts xor instructions for byte access functionsFri, 26 Dec 2014 12:37:27 -0800, by Michael Pavone
-
Add a couple of missing checks for the byte_swap and address_size parameters in gen_mem_funFri, 26 Dec 2014 12:36:54 -0800, by Michael Pavone
-
Add in missing generated Z80 helper functions. Fix a small bug in Z80_HALT. Fix generation of save and load context for Z80Fri, 26 Dec 2014 12:34:41 -0800, by Michael Pavone
-
Z80 core is sort of working againMon, 22 Dec 2014 20:55:10 -0800, by Michael Pavone
-
Get rest of emulator compiling again with Z80 core enabledWed, 17 Dec 2014 23:03:19 -0800, by Michael Pavone
-
Get Z80 core back into compileable stateWed, 17 Dec 2014 09:53:51 -0800, by Michael Pavone
-
WIP effort to update z80 core for code gen changesSun, 14 Dec 2014 16:45:23 -0800, by Michael Pavone
-
Split gen_mem_fun out of m68k_core_x86 and make it more generic so it can be used by the Z80 coreTue, 11 Mar 2014 09:44:47 -0700, by Michael Pavone
-
Move translate_m68k_movem to m68k_core.cSat, 08 Mar 2014 00:15:09 -0800, by Michael Pavone
-
Made m68k_retranslate_inst host-cpu generic and moved it to m68k_core.cFri, 07 Mar 2014 23:26:46 -0800, by Michael Pavone
-
Minor refactor to translate_m68k_move_ccr_sr and translate_m68k_stop to reduce code duplicationFri, 07 Mar 2014 19:45:05 -0800, by Michael Pavone
-
Use swap_ssp_usp in translate_m68k_move_ccr_srFri, 07 Mar 2014 19:39:51 -0800, by Michael Pavone
-
Combine andi ccr/sr and ori ccr/sr.Fri, 07 Mar 2014 19:35:13 -0800, by Michael Pavone
-
Use update_flags instead of individual set_flag calls in a few placesFri, 07 Mar 2014 17:51:40 -0800, by Michael Pavone
-
Refactored translate_m68k so that it contains no host-cpu specific code and moved it to m68k_core.cFri, 07 Mar 2014 17:42:29 -0800, by Michael Pavone
-
Combine implementations of lea and pea. Update bit instructions to use the op_ family of functions to simplify their implementation a bit.Wed, 05 Mar 2014 19:26:53 -0800, by Michael Pavone
-
Refactor translate_m68k_cmp to use translate_m68k_arithWed, 05 Mar 2014 09:33:50 -0800, by Michael Pavone
-
Combine the implementation of ABCD and SBCD in the 68K coreTue, 04 Mar 2014 22:35:01 -0800, by Michael Pavone
-
Use translate_m68k_unary for SWAP in 68K coreTue, 04 Mar 2014 22:24:08 -0800, by Michael Pavone
-
Refactor a bunch of the arithmetic instructions in the 68K core to reduce duplicate codeTue, 04 Mar 2014 22:12:43 -0800, by Michael Pavone
-
Small refactor to flag handling in 68K coreTue, 04 Mar 2014 00:02:20 -0800, by Michael Pavone
-
Remove jmp_r from gen_x86.h since it got added to gen.hMon, 03 Mar 2014 22:22:36 -0800, by Michael Pavone
-
More 68K core refactoring to both reduce the amount of code and better split the host-cpu specific parts from the generic partsMon, 03 Mar 2014 22:17:20 -0800, by Michael Pavone
-
Enable link time optimizationMon, 03 Mar 2014 22:16:41 -0800, by Michael Pavone
-
Make some small changes in trans so that it is more likely to produce the same output as mustrans when given misbehaving programs. Add lea to testcases.txt. Improve the output of comparetest.py so that known issues can easily be separated from new ones.Mon, 03 Mar 2014 21:08:43 -0800, by Michael Pavone
-
Refactor translat_m68k_src and translate_m68k_dst into a single functionSun, 02 Mar 2014 17:53:32 -0800, by Michael Pavone
-
Initial stab at separating the generic parts of the 68K core from the host-cpu specific parts.Sun, 02 Mar 2014 16:34:29 -0800, by Michael Pavone
-
Rename x86_68k_options and m68k_to_x86.h to m68k_options and m68k_core.h respectivelySun, 02 Mar 2014 15:25:52 -0800, by Michael Pavone
-
Small Makefile change that was missed in the last commitSun, 02 Mar 2014 14:46:55 -0800, by Michael Pavone
-
Refactor gen_x86 to use an interface more like gen_arm and to remove the need for the caller to decide whether an 8-bit or 32-bit displacement is needed in the rdisp functions. Update m68k_to_x86 to use the new version of the gen_x86 functions and do some minor refactoring there in the processSun, 02 Mar 2014 14:45:36 -0800, by Michael Pavone
-
Add backtrace (bt) command to 68K debuggerSun, 02 Mar 2014 14:41:43 -0800, by Michael Pavone
-
Add a separate flag/define for disabling the Z80 at compile time to ease refactoringSat, 01 Mar 2014 17:11:06 -0800, by Michael Pavone
-
Fix PC displacement mode check in disassembler so that jmps involving a register are handled correctlySat, 01 Mar 2014 17:07:33 -0800, by Michael Pavone
-
Moved some generic stuff from backend.h gen_arm.h and gen_arm.c into gen.h and gen.c. Added a couple fields to cpu_options so that gen_mem_fun can be made guest CPU genericMon, 24 Feb 2014 09:55:24 -0800, by Michael Pavone
-
Ensure proper stack alignment when the Z80 calls into C code. This fixes a crash in optimized builds on OSXMon, 23 Jun 2014 13:12:04 -0400, by Mike Pavone
-
Fix x86_rrindex_sizedir. Pass the correct scale to mov_rindexr in gen_mem_fun. BlastEm now sort of works on OS X. Runs reliably from lldb, but only intermittently from the shellMon, 23 Jun 2014 11:05:55 -0400, by Mike Pavone
-
blastem builds and almost works on OS X nowTue, 17 Jun 2014 01:50:29 -0400, by Mike Pavone
-
Rename x86_backend.h and x86_backend.c to backend.h and backend.c respectivelyMon, 24 Feb 2014 00:50:15 -0800, by Mike Pavone
-
Fix build breakageMon, 24 Feb 2014 00:40:32 -0800, by Michael Pavone
-
Start work on refactoring some of the backend code to allow more sharing between M68K and Z80 cores and possibly also between x86 and the ARM backend when it existsMon, 24 Feb 2014 00:39:02 -0800, by Michael Pavone
-
Fix ARM code generation and test programSun, 23 Feb 2014 22:17:43 -0800, by Michael Pavone
-
Added untested code for generating ARM machine codeSun, 23 Feb 2014 21:37:19 -0800, by Mike Pavone
-
Fix typo in MakefileSun, 23 Feb 2014 11:52:13 -0800, by Mike Pavone
-
Fix type mismatch on headless global that was causing a crash in the vgm player on ARMWed, 19 Feb 2014 00:44:19 -0800, by Michael Pavone
-
Apart from the Z80 core, BlastEm now supports 32-bit x86Wed, 19 Feb 2014 00:22:27 -0800, by Michael Pavone
-
Properly null terminate string returned by readlink in util.cTue, 18 Feb 2014 23:19:07 -0800, by Michael Pavone