summaryrefslogtreecommitdiff
path: root/runtime.S
AgeCommit message (Collapse)Author
2015-05-23Eliminate runtime.S/runtime_32.S.Michael Pavone
2014-12-28Removed bcd_add and bcd_sub from runtime.S and generated the logic inline ↵Michael Pavone
with the rest of abcd and sbcd translation. Fixed some edge cases and undefined flag behavior in the process
2014-02-18Generate get_sr, set_sr and set_ccr at runtime so they can respect the ↵Michael Pavone
flag_regs setting
2014-02-16Generate handle_cycle_limit at runtime so it can use the generated ↵Michael Pavone
save/load_context functions. Since the hand written versions of save/load are no longer used they have been removed.
2014-02-16Generate native_addr and native_addr_and_sync at runtime so they can use the ↵Michael Pavone
generated save/load_context functions
2014-02-16Generate retrans_stub at runtime so it can use the generated ↵Michael Pavone
save/load_context functions
2014-02-16Removed old debug print function that is no longer neededMichael Pavone
2014-02-15Get rid of the native stack option the 68K core. Trying to make it work with ↵Michael Pavone
code that messes with the stack is not worth the trouble.
2014-02-15Generate m68k_start_context at runtime so it can use the generated ↵Michael Pavone
load_context and save_context
2013-10-03Follow amd64 ABI stack alignment requirements in places it matters so we can ↵Mike Pavone
call sprintf with floating point arguments without crashing
2013-06-25Use the registers that were freed up by the memory map function changesMike Pavone
2013-05-21m68k_trap is now replaced with a generated one so it can call the generated ↵Mike Pavone
memory acccess functions. The old static memory access functions have been removed from runtime.S
2013-05-21Generate handle_cycle_limit_int at runtime so it can refer to the runtime ↵Mike Pavone
generated memory map functions
2013-05-19Handle busack across frame boundaryMike Pavone
2013-05-18Mostly working runtime generation of memory map read/write functionsMike Pavone
2013-05-11Don't update interrupt mask on non-interrupt exceptionsMike Pavone
2013-05-11Fix check for code writesMike Pavone
2013-05-10Initial stab at horizontal interrupts and improving accuracy of vertical ↵Mike Pavone
interrupts. Also added the VINT pending flag to status port.
2013-04-29Fix target cycle count after 68K interruptMike Pavone
2013-04-21Implement CHK instruction (not fully tested).Mike Pavone
2013-01-26Flag fixes for div, negx and notMike Pavone
2013-01-26Tweaks to make blastem compatible with m68k-testerMike Pavone
2013-01-25Fix overflow flag on ASLMike Pavone
2013-01-20Add support for breaking into the debugger while game is runningMike Pavone
2013-01-16Implement ABCD an SBCD. Fix BTEST with register source.Mike Pavone
2013-01-15Implement support for self-modifying codeMike Pavone
2013-01-06Print a message when we try to run an invalid instruction, not when we try ↵Mike Pavone
to translate it
2013-01-06Fix order of SR and PC saved in an exception stack frameMike Pavone
2013-01-05Fix crash in printf from "crash" function due to lack of clearing raxMike Pavone
2013-01-04Implement access to Z80 RAMMike Pavone
2013-01-03Implement TRAP (untested)Mike Pavone
2013-01-01Do a sync when interrupt mask changes so we can recompute the next interrupt ↵Mike Pavone
cycle. Also fix a bug in which the SR part of ORI to SR was not being performed.
2013-01-01Make writes to control and data port block when DMA is in progressMike Pavone
2012-12-31Implement m68k_modified_ret_addrMike Pavone
2012-12-31Fix VDP readsMike Pavone
2012-12-30Implemented HV counterMike Pavone
2012-12-29Fix crash when printing error message about modified return addressMike Pavone
2012-12-27Use unsigned comparisons for address decoding, exit when we hit an unhandled ↵Mike Pavone
addressing mode for jmp
2012-12-27Initial work on allowing dynamic branches and code in RAM plus a small fix ↵Mike Pavone
to effective address decoding
2012-12-26vertical interrupts now workMike Pavone
2012-12-26RTE doesn't crash the emulator anymoreMike Pavone
2012-12-26Fix Z80 BUSREQ/RESET implementation.Mike Pavone
2012-12-26Fix long reads from IO ports or long reads that trigger sync cycles by ↵Mike Pavone
saving rdi. Possibly fix word wide IO reads.
2012-12-26Implement Z80 reset and bus request registers.Mike Pavone
2012-12-26Initial stab at interrupt support. Make native code offsets bigger so I ↵Mike Pavone
don't have to worry about overflowing the offset. Implement neg and not (untested).
2012-12-21Implement word wide access to IO areaMike Pavone
2012-12-20Gamepad supportMike Pavone
2012-12-19Cleanup 68K timing code. Temporarily omment out fFPS counter as it was ↵Mike Pavone
causing segfaults
2012-12-18ecx was getting clobbered before the relevant temp value was used in some ↵Mike Pavone
cases during memory reads
2012-12-18Code in runtime for checking for VDP reads was using the wrong register. ↵Mike Pavone
This is now fixed.