Commit Graph

583 Commits

Author SHA1 Message Date
dinkc64 8685a7ffeb nec_intf.cpp: use << instead of multiplication for VezReadLong to quench silly warning on arm 2018-05-04 03:47:29 +00:00
dinkc64 f93fa0f329 un-unfix v25 states 2018-05-03 01:05:08 +00:00
iq_132 b5ae6afa79 Timer system update - please test! 2018-05-02 05:22:29 +00:00
dinkc64 4c0412c624 Sh2TotalCycles return INT32 for standardization 2018-04-30 01:57:09 +00:00
Barry Harris 74bcef70fa Fix compile (header included multiple times) 2018-04-27 12:56:57 +00:00
dinkc64 fba5bd293d m6805_intf.h - include m6805.h to expose handy m68x05 defs 2018-04-26 04:06:21 +00:00
dinkc64 b636d9ebb5 m6805: fix m6805TotalCycles() 2018-04-25 04:02:26 +00:00
dinkc64 38d8a43b8a m6805 core gets an upgrayedd. 2 d`s for a double-dose of pie 2018-04-24 04:11:27 +00:00
Barry Harris 8db16f0a13 Finally fix MSVC compile part 2 2018-04-23 09:44:03 +00:00
iq_132 7446567d18 Remove burnmap for now. We'll get back to this at some point. 2018-04-21 02:41:55 +00:00
dinkc64 5f0c050cc2 hd6309 and m6809 cpu cores: disable silly busy loop hacks 2018-04-20 03:13:37 +00:00
dinkc64 76cafed605 frankencore uPD7810. old core w/all new opcodes/etc grafted in. 2018-03-28 12:38:06 +00:00
dinkc64 b105644053 upd7810 tweak 2018-03-27 03:39:11 +00:00
dinkc64 703ab31483 upd7810: updates for taito c-chip 2018-03-24 04:11:51 +00:00
iq_132 c8bc050024 Add generic CPU address map handling 2018-03-23 02:28:44 +00:00
dinkc64 d2a09b2779 m68k: scan nSekCycles 2018-03-08 03:20:51 +00:00
iq_132 92c741a7d5 We're going to need this for proper c-chip emulation 2018-03-07 04:43:48 +00:00
dinkc64 88ace27313 hd6309 gets CPU_IRQSTATUS_HOLD 2018-03-06 04:57:25 +00:00
dinkc64 bb602986d1 h6280 cycles 2018-02-20 05:06:03 +00:00
dinkc64 613cbf6599 32/64bit states compatibility fixes, v6.1 2018-02-04 03:23:34 +00:00
iq_132 61a2d9ddc2 Add BurnYM2151Write, Rename MSM6295Command -> MSM6295Write, MSM6295ReadStatus -> MSM6295Read, BurnYM2151ReadStatus -> BurnYM2151Read, h6280cpuScan -> h6280Scan 2018-02-02 01:54:30 +00:00
dinkc64 bb732fca84 z80: scan the BusReq state 2018-01-28 02:48:50 +00:00
dinkc64 42b164bed4 arm7idle 2018-01-27 23:49:56 +00:00
iq_132 ced202411b Add m6502 address mask 2018-01-15 05:42:30 +00:00
dinkc64 e85e744762 ZetRunEnd: fix #303. Next year I'll get this right - promise! 2018-01-01 03:17:52 +00:00
dinkc64 77f3ab65d5 cpu core state depointerification 2017-12-26 03:25:56 +00:00
dinkc64 1e3180557c states pointer removal part 0: m68k, ay8910, drv/capcom/qs_c.cpp. 2017-12-25 15:05:13 +00:00
dinkc64 24b700edb1 i8x41: add i8x41_scan(). m68k: revert int -> intptr_t change 2017-12-24 03:24:44 +00:00
dinkc64 357298db60 sh2, remove pointer from states 2017-12-24 01:46:29 +00:00
dinkc64 e88ed14e1f m68k_in.c: cast 1 << 0x1f to uint 2017-12-10 14:04:37 +00:00
dinkc64 0d29f91ee8 sh2 cycle eat hack: big oops. 2017-12-10 13:39:03 +00:00
dinkc64 e0dc847bbf sh2 cpu: remove suprnova speedhack, replace with configurable cycle eater (Sh2EatCycles()) 2017-12-01 01:53:13 +00:00
dinkc64 bd58b0fa46 tms32010 fix for bsmt2k, forgot to check this in with bsmt2k, sorry! 2017-11-29 04:36:40 +00:00
dinkc64 b3f25d8471 dink->stupid_mistakes++ 2017-11-14 03:54:35 +00:00
dinkc64 f040003d9e sh2: fix byte, word, quad-long dma transfers 2017-11-13 14:48:00 +00:00
dinkc64 a56c79d80c sh2: fix timer divider, hopefully wont break everything else 2017-11-10 05:27:49 +00:00
dinkc64 7cb2697fd7 morearm si fixy 2017-11-09 23:50:42 +00:00
dinkc64 303376aa42 sh2: make soldivide happy 2017-11-09 20:53:42 +00:00
dinkc64 2d4b89d842 arm core: fix pre-indexed addressing and tst/teq. aka when nothing else explains the problem - it`s a core bug! 2017-11-08 13:13:23 +00:00
dinkc64 7fdfc6250e m6502: decocpu7, fix states for games that use this 2017-11-04 02:00:16 +00:00
dinkc64 cf2f28027f m6809_intf.cpp: fix compile w/FBA_DEBUG defined, fix states, fix newframe 2017-10-29 01:39:46 +00:00
iq_132 50db110aaa Make m6809 init per cpu (consistency change) 2017-10-28 12:56:58 +00:00
iq_132 87c12fc4b7 Add a couple of functions to the tms32010 core (newframe & totalcycles) 2017-10-27 02:35:30 +00:00
iq_132 4ac641e4ad Add 20Pacgal, add z180 interface with support for all the bells and whistles. Update ghox. 2017-10-08 23:41:37 +00:00
dinkc64 a44415bae0 i8x41 cpu core, wip and shall remain unlinked for now 2017-09-25 02:12:44 +00:00
dinkc64 db1ce2850f m68k: more bcd fun from notaz 2017-09-21 12:05:08 +00:00
dinkc64 ae5b145c68 m68k bcd fixeroo by notaz 2017-09-18 13:29:08 +00:00
dinkc64 17d33dc2c3 mcs51: add mcs51_iram_fill() / ds5002fp_iram_fill() 2017-09-16 22:56:55 +00:00
dinkc64 7f50d3f1b0 fix compile warnings on android and other systems, and sanity fix. from libretro guys 2017-08-12 04:07:12 +00:00
dinkc64 74ed910308 32/64bit compatibility w/z180 states 2017-08-09 22:49:10 +00:00
dinkc64 a314223143 ghox + z180: states 2017-08-09 03:51:14 +00:00
Barry Harris d2cfd114d4 Port Z180 CPU Core from MAME (very simple interface to it) 2017-08-07 19:03:24 +00:00
dinkc64 57f6faa0a8 m68k derp 2017-08-05 02:19:45 +00:00
dinkc64 3927a853d9 m68k: add void m68k_megadrive_sr_checkint_mode(int onoff) for cycle check before servicing interrupt in m68ki_set_sr(). remove m68k_set_irq_delay() which was recently added (there is a better way). slight change to m68k_executeMD() 2017-08-05 01:54:14 +00:00
dinkc64 0e12f5666d almost forgot this 2017-08-02 12:45:44 +00:00
dinkc64 420f2f05c6 m68k: slight modification for upcoming megadrive changes 2017-07-29 12:21:18 +00:00
dinkc64 a63768446c arm7_intf.cpp: zero mallocd buffer before using it 2017-07-23 11:38:54 +00:00
iq_132 99b8e382f6 Small cpu tweak 2017-07-18 02:46:22 +00:00
dinkc64 697cd5f67b z80: better management of z80 irq vector 2017-07-14 01:01:40 +00:00
dinkc64 265af5d145 add CPU_IRQSTATUS_HOLD to m6809 2017-06-18 01:29:22 +00:00
dinkc64 a3ed067ebf nec.cpp: remove some type defines 2017-06-11 13:18:49 +00:00
dinkc64 e099620a3b konamicpu: impl. CPU_IRQSTATUS_HOLD 2017-05-28 01:26:32 +00:00
dinkc64 25c56fc6e3 m68k: added very experimental SekBurnUntilInt() 2017-05-06 01:36:10 +00:00
dinkc64 2fb572d358 x 2017-05-02 02:30:13 +00:00
dinkc64 45e46518a4 m68kconf.h: avoid TRUE warning when m68k included after m6809 2017-05-02 02:28:10 +00:00
dinkc64 482c6addcb experimental CPU_IRQSTATUS_HOLD for h6280 2017-04-30 03:35:02 +00:00
dinkc64 b877c7ef45 m6502 core: properly pulse nmi line with CPU_IRQSTATUS_AUTO 2017-04-14 03:01:04 +00:00
dinkc64 92c1b85e00 kill m6502 read/write indexed mem handlers with fire. 2017-04-13 02:58:33 +00:00
dinkc64 8637c5ac1a m6502 core: route indexed mem read/writes to readbyte/writebyte. disable/comment out the read/writeIndexed mem handlers (keeping them just in-case!) 2017-04-13 02:06:25 +00:00
dinkc64 60ee52e4b5 s2650_intf.cpp: dont overflow mappings 2017-04-05 02:17:05 +00:00
dinkc64 528bb0f278 misc cpu cores: 32/64bit compatibility for savestates 2017-04-04 03:41:58 +00:00
dinkc64 09fda3ccfd m6809: scan ea, align int pointer to 8 bytes for 32/64bit state compatibility 2017-03-31 23:12:08 +00:00
dinkc64 e3a89257c2 burn.h,driver.h,z80,ay8910,capcom/qs_c: align pointers in structures that are to be scanned to 8 bytes, to keep states compatible between 32/64bit systems 2017-03-28 02:44:40 +00:00
dinkc64 5a2acd1615 M6809GetPC 2017-03-10 02:22:54 +00:00
iq_132 9e1fcca50a Fix wheels runner title 2017-02-26 21:37:56 +00:00
dinkc64 133738bbfd no mask on nec readport 2017-02-21 04:23:42 +00:00
dinkc64 73454236e0 z80*: let`s fix: ZetRunEnd() 2017-02-18 05:12:17 +00:00
dinkc64 aeda8218db ZetRunEnd toggle, for strikers 1945p 2017-02-16 23:03:10 +00:00
dinkc64 490cf5ccd2 cpu/nec_intf.cpp/h: added VezMapMemory() 2017-02-16 04:05:43 +00:00
dinkc64 e67ecc33a0 m680x revert last change, add m680x_reset_hard() 2017-02-11 02:21:50 +00:00
dinkc64 63e7d4f394 M680X: Attack of the Mutant Core Bugs from Outer Space, or, let`s fix M680XReset() 2017-02-10 20:18:14 +00:00
iq_132 1e95fb920c Add cpu idling to m6800 and m6809 cores. 2017-02-08 03:05:04 +00:00
dinkc64 a9f91b2228 d_suprnova: fix galspanic s (galspanis*), sh2: add new mode to busy_loop_hacks 2017-02-04 05:36:27 +00:00
dinkc64 4152376ba7 sh2: add support for cpu_irqstatus_auto, suprnova speedhack less aggressive 2017-02-03 05:11:00 +00:00
dinkc64 464af7eb2b sh2 speedhack for suprnova 2017-02-02 14:54:00 +00:00
dinkc64 0545f385f3 mcs51: add CPU_IRQSTATUS_AUTO, an alias of CPU_IRQSTATUS_HOLD just to avoid future confusion. 2017-01-22 16:35:59 +00:00
dinkc64 8a11a29fc1 m68000_intf.cpp: even more fixeder 2017-01-14 17:56:59 +00:00
dinkc64 7d37c04aa1 r & 2 is cool, but a & 2 is even better 2017-01-13 02:46:42 +00:00
iq_132 f10f72c369 100% fix m68ec20 (I think) 2017-01-13 01:57:50 +00:00
iq_132 407c8935ce Let's fix the nasty 68ec020 core bug that has been haunting me for almost a decade! [dink / iq_132] 2017-01-12 06:02:34 +00:00
dinkc64 fe40d78375 mcs51(i8x51,ds5002fp): proper masking for the program data depending on cpu used 2017-01-12 04:13:22 +00:00
dinkc64 bf7c38bdcb mcs51 prorgam data mask derpage 2017-01-11 04:21:12 +00:00
dinkc64 0a3e688c60 mcs51: 1 handler for ports and data 2017-01-10 03:00:21 +00:00
iq_132 b8db9d0aa1 Doesn't like these either 2017-01-01 22:13:02 +00:00
iq_132 3e00c46550 Make my ancient mingw happy. 2017-01-01 21:59:41 +00:00
dinkc64 e686bfc063 enable ds5002fp, see i8051/mcs51.h 2016-12-31 23:13:42 +00:00
dinkc64 dc95629fc6 oops (sek) 2016-12-31 13:32:04 +00:00
dinkc64 56f0eb98b5 d_armedf: update for mcs51. mcs51: add CPU_IRQSTATUS_HOLD 2016-12-31 05:24:24 +00:00
dinkc64 02618b9e8b derp 2016-12-31 04:12:54 +00:00
dinkc64 7dc7d624a0 replace i8051 core with mcs51. build very temporarily broke until next commit 2016-12-31 04:12:36 +00:00
dinkc64 bd8df44557 attempt to make fbalpha crash-proof pt.2: cpu 2016-12-29 05:32:31 +00:00
dinkc64 4d461a23ce i8051: add read and write data handlers 2016-12-28 03:15:01 +00:00
dinkc64 71cdf56588 i8051: add i8051RunEnd() and some port defines 2016-12-17 04:41:13 +00:00
dinkc64 6c3c4164d1 add M6502ReleaseSlice() to m6502_intf 2016-11-28 01:29:07 +00:00
dinkc64 a70f259888 m6502_intf: lets save our 6502 cpu subtype and instruction handler in init. 2016-11-26 13:39:10 +00:00
dinkc64 adfcea15b3 i8051.cpp update 2016-11-21 20:25:08 +00:00
dinkc64 0a4731b37f do it like m68k 2016-11-21 12:51:31 +00:00
Barry Harris 3376ac8528 Fix GCC x64 compile 2016-11-21 11:54:38 +00:00
Barry Harris 9ff27e017d fix compile 2016-11-21 10:54:46 +00:00
iq_132 201b5218f1 Add upd7725 dsp support 2016-11-21 05:03:38 +00:00
iq_132 0f1a5e924b Add cheat support to v60. 2016-11-20 20:32:44 +00:00
iq_132 84dfb2c40d Hook up save states and expand on V60's interface 2016-11-20 18:42:27 +00:00
iq_132 a34dc368b5 Add V60 Core [iq_132 / Romhack] 2016-11-19 15:53:43 +00:00
dinkc64 316f8494e8 fixed carry for ROR and preserve IRQ_MASK in LDR R15 [sronco] 2016-11-13 13:16:24 +00:00
iq_132 b1e9df7365 This fixes Zoar. 2016-11-10 04:00:09 +00:00
iq_132 a32f2812fa Add some M6502 variants (Data East). Still needs testing. 2016-11-09 05:50:55 +00:00
iq_132 fcbc257eaa We're going to need this for Taito L 2016-11-03 05:02:42 +00:00
dinkc64 9524688759 tms32010, standardize ports 2016-10-25 12:57:34 +00:00
dinkc64 bda4da1693 tms32010 cpu core 2016-10-21 13:33:58 +00:00
iq_132 8a4c1f49d2 Re-add Metro and a shiny new upd7810 core! 2016-10-19 03:09:57 +00:00
dinkc64 60f3f1c136 more z80 edfe callback 2016-10-09 13:04:51 +00:00
dinkc64 2cd9e6d69b add ED FE callback to z80 cpu 2016-10-09 03:06:59 +00:00
dinkc64 c10ff6cd21 cpu/m6502/m6502.cpp: m6502_releaseslice(); this might come in handy in the future. 2016-08-18 02:45:05 +00:00
dinkc64 f711ea3681 hvyunit (and things that use mermaid) / i8051: fix states, and slight timing change 2016-08-12 02:59:11 +00:00
dinkc64 f60a587112 h6280SetIrqCallback, lets set the right callback pointer 2016-07-14 19:32:12 +00:00
dinkc64 3ce8fe7684 add hiscores to btime, lighten up on debug a bit 2016-06-06 11:48:54 +00:00
iq_132 9e6ac4f28f Add Heavy Unit, i8051 core, update djboy, add mermaid device. 2016-06-02 04:10:50 +00:00
dinkc64 09be2b6900 M6502GetPrevPC() 2016-05-24 01:32:16 +00:00
dinkc64 56b0fd6bd5 cpu oopses 2016-05-17 01:35:52 +00:00
dinkc64 12255fab59 add nsc8105 cpu to m6800 2016-05-16 12:58:24 +00:00
dinkc64 e95883cdb0 add CPU_IRQSTATUS_HOLD support to m6502-family cpus 2016-04-30 02:29:51 +00:00
Barry Harris bcdcbbf318 Remove redundant code and UI elements when BUILD_A68K is not defined 2016-04-18 09:13:06 +00:00
Barry Harris ec126bd7b5 Compiler Warnings 2016-04-08 10:28:56 +00:00
dinkc64 4ffc4a149c un-fix ZetRunEnd(): causes too much trouble. see notes. 2016-03-24 00:47:23 +00:00
dinkc64 cafe556d24 clean up/document z80 irq hold 2016-01-30 02:24:54 +00:00
dinkc64 0534febbbf Z80 irq-hold revision #3 2016-01-29 19:50:48 +00:00
dinkc64 3db3ce96fe z80: flop the interrupt flip flops at reset 2016-01-17 21:48:42 +00:00
iq_132 45b5f9e33b Fix a few more. Only one set of warnings complaining about inlining some SH2 functions. 2016-01-03 02:08:20 +00:00
dinkc64 5b58bf5529 better CPU_IRQSTATUS_HOLD for z80 2015-12-31 20:10:08 +00:00
dinkc64 8044312910 sorry JacKc, try this (m68k) 2015-12-19 22:59:03 +00:00
dinkc64 d11bee723b add SekShouldInterrupt() for megadrive 2015-12-17 14:36:11 +00:00
Marcos Medeiros 6b10314733 TMS34010: Fix V Flag in MOVE opcodes, now WWF boots. 2015-11-20 15:58:57 +00:00
Marcos Medeiros abee360127 Fix silly bug on TMS34010. 2015-11-15 02:05:44 +00:00
Marcos Medeiros 00b40a6a62 Initial Wolf-Unit driver. Any help with ROM sets and DIPSwitchs would be appreciated. :D 2015-11-14 01:14:22 +00:00
dinkc64 706ea58d98 keep the raspberry pi-guys happy / cps3-specific speed hack for sh2 (togglable) 2015-11-11 04:28:55 +00:00
Barry Harris 47ab751700 normal build compile fixes 2015-10-27 13:33:16 +00:00
dinkc64 c0b6e50a4a z80_intf.cpp: fix ZetRunEnd() 2015-08-30 21:32:56 +00:00
dinkc64 cd15c03b8f indentation oops 2015-08-28 00:18:25 +00:00
iq_132 d4f1302b09 May need these later. 2015-08-05 22:56:51 +00:00
dinkc64 c68b09d073 TLCS-90 CPU: Fixed TRUN bit masking (timers start/stop) [Rainer Keuchel] 2015-05-17 20:47:07 +00:00
Marcos Medeiros d9400b3f9a MIPS3: More COP1 FPU ops. 2015-05-17 02:26:37 +00:00
Barry Harris 66f8971343 fix for MSVC 2013 2015-05-15 20:16:03 +00:00
Marcos Medeiros 47a3526463 MIPS3: X64drc recompile some FPU ops using SSE 2015-05-15 03:31:37 +00:00
Marcos Medeiros 424f646b8b MIPS3: X64 DRC Compile with MSVC 2015-05-14 22:58:27 +00:00
Barry Harris 3c8da6db68 x64 drc support for MinGW64 2015-05-12 21:15:20 +00:00
Marcos Medeiros 4e4986527d MIPS3: Add TODO, better internal counter register emulation (on
Interpreter and Recompiler), disable breakpoints by default.
2015-05-12 03:18:31 +00:00
Marcos Medeiros 02c9bc1513 mips3: Fix wrong value in COP1 instruction. 2015-05-10 18:47:21 +00:00
Barry Harris 3da74ed6b9 xbyak - MMX is reserved!! 2015-05-09 14:14:18 +00:00
Barry Harris 94a959eb52 Killer Instinct now works with MSVC (x86) 2015-05-09 13:34:50 +00:00
Barry Harris 7b5e6ef680 update xbyak - X64 DRC getting closer 2015-05-09 13:27:40 +00:00
Barry Harris 26a7ca91a6 rename generic files to mips_* 2015-05-08 11:34:38 +00:00
Marcos Medeiros 936b9f616f d_kinst: Add kinst2 2015-03-15 21:29:44 +00:00
Marcos Medeiros bf697f0407 d_kinst: DCS sound working! (imperfect yet) \o/ 2015-03-15 18:32:23 +00:00
dinkc64 d358141ae5 z80_intf.[cpp/.h]: fix ZetSetHL(), add ZetSetSP() 2015-03-14 17:30:47 +00:00
Marcos Medeiros b133036416 d_kinst: Initial DCS code, ADSP21xx ported from MAME 2015-03-09 21:13:38 +00:00
Marcos Medeiros 37c7337a41 mips3: X64 recompiler (COP0 drc) 2015-02-23 17:43:11 +00:00
Marcos Medeiros 3131b359c4 mips3: X64 dynamic recompiler 2015-02-23 03:46:29 +00:00
Marcos Medeiros 557a93db9b mips3: Fix LWR, LWL, SDL, SDR, LDL, LDR 2015-02-22 14:55:20 +00:00
dinkc64 2654658f1d add CPU_IRQSTATUS_HOLD to Z80 part.2 2015-02-20 15:51:28 +00:00
Marcos Medeiros 4e2a398dfe d_kinst: ATA/IDE driver, working. No inputs. Wrong colors. 2015-02-19 19:48:26 +00:00
Marcos Medeiros 79b7ca4bcb Killer Instinct 1.5d Skeletal driver (already booting), no ATA/IDE yet; 2015-02-19 02:10:53 +00:00
iq_132 530304010e One more time. Ugh. 2015-02-10 05:19:42 +00:00
iq_132 540e563866 Let's try this again. 2015-02-10 05:13:08 +00:00
iq_132 f3ba4fe0c1 Phase 2. Remove xxx_RAM, xxx_ROM, etc. Now use MAP_RAM, MAP_ROM, etc. 2015-02-10 04:47:38 +00:00
iq_132 04e1d44a1c Phase 1. Kill off xxx_IRQSTATUS_yyyy in favor of CPU_IRQSTATUS_yyyy.
Also kill off ZetRaiseIrq and ZetLowerIrq.
Please play test! I've tested the most intensive games that use each cpu, but this isn't a large number of games.
2015-02-10 03:50:43 +00:00
iq_132 fc51f1e653 Fix z80 core bug. 2015-02-06 02:50:03 +00:00
dinkc64 3d7544d5a2 fix gradius 2 s.states, and possibly anything that leaves an irq floating between frames 2015-02-03 21:25:26 +00:00
dinkc64 5dd3943e95 preserve nec v25/v35 decode pointer on savestate load/save 2014-12-28 22:00:24 +00:00
dinkc64 3d3bee91fd fix sokonuke crash on game start (m68k) 2014-11-17 19:53:49 +00:00
dinkc64 c34a8b3249 Musashi savestate fix 2014-11-16 19:55:45 +00:00
dinkc64 a101e718f9 musashi savestates, make things a little nicer 2014-11-12 19:30:52 +00:00
dinkc64 b295ad7c44 m68k savestate issue, hopefully this does the trick 2014-11-12 14:54:02 +00:00
iq_132 69fd25b09d Allow external access to "I" register in Zet. 2014-11-11 06:59:22 +00:00
Barry Harris 6c9aeb128f Add TAS Callback to sek, hookup in Megadrive driver (Gargoyles and Ex Mutants are now working) 2014-11-09 18:11:01 +00:00
Barry Harris 5292cab48d Update Musashi to 3.32 (MAME version 0.128) 2014-11-09 17:15:57 +00:00
dinkc64 93939d216e tlcs90: calculate the timer period based on clock 2014-11-07 21:09:37 +00:00
dinkc64 ccf394dbb4 fix musashi m68k compile on newer gcc 2014-11-07 20:21:38 +00:00
iq_132 3827b7fefb Z80 vector should actually be reset to 0xff on every reset! 2014-11-02 23:03:49 +00:00
iq_132 adf9cbc63c Hook up dkong3 sound. It's missing a ton of effects and doing some weird things, but I'm too tired to keep working on it. Feel free to squash any bugs as I won't be able to work on it until Sunday at the earliest!) 2014-10-31 03:01:46 +00:00
Barry Harris b39e06e83d Portability fixes 2014-10-18 22:15:17 +00:00
Barry Harris 9f67ea730e compile warnings 2014-10-18 21:08:01 +00:00
dinkc64 4ad36b7ea0 make happy tlcs90.cpp. fixed icount in tlcs90Run, timer_period hack in init (needs to be properly calculated based on clock), re-ported some irq code from mame. 2014-09-24 06:59:04 +00:00
iq_132 7b2e7b0793 Hmm... some of these got messed up. Fix. 2014-09-16 19:17:56 +00:00
iq_132 8c45b0e4ce Small pic16c5x update (add cpu num option, not really supported) 2014-09-16 18:24:21 +00:00
iq_132 a53aa5e6ad Oops! 2014-09-16 18:13:54 +00:00
iq_132 27ac09dd3b Arm7 - Arm7 init each cpu separately. (really only supports a single cpu, but whatever) 2014-09-16 18:06:39 +00:00
iq_132 ef4a814ee2 HD6309 - Change so that each cpu is initialized separately. All hd6309 games ahve been tested. 2014-09-16 18:01:18 +00:00
iq_132 b2d2f8e4f6 pic16c5x - standardize cpu functions
also fix sound in dragon master.
2014-09-15 02:25:15 +00:00
iq_132 2ade39e0b8 m6805 - standardize cpu functions 2014-09-15 00:29:22 +00:00
iq_132 4afbdcc37c h6280 - standardize functions 2014-09-15 00:17:16 +00:00
iq_132 dd5ff363f0 Konami CPU - standardize functions/names 2014-09-15 00:05:15 +00:00
iq_132 310f8822e6 Standardize GetPC(num) function 2014-09-14 23:44:05 +00:00
iq_132 b14038d5d4 Standardize Arm functions, clean a bit 2014-09-14 23:32:28 +00:00
iq_132 7432bc5138 These can go away too. kthxbai 2014-09-14 23:13:25 +00:00
iq_132 a52d9f5ff7 Arm7 clean a bit - rename functions, clean intf.h file 2014-09-14 23:10:01 +00:00
iq_132 f6250a2dcc Standardize s2650 function naming/forms, clean a bit 2014-09-14 22:44:18 +00:00
iq_132 50c97abc6c NMK004 addition. [Trap15, Haze, iq_132] 2014-09-14 00:43:10 +00:00
iq_132 f0abebd206 Add ReadWord, ReadLong, WriteWord, and WriteLong to nec/Vez 2014-09-12 04:57:10 +00:00
dinkc64 03308c3495 Fix IREM M62 savestates 2014-09-01 03:24:57 +00:00
iq_132 9c15bfa245 Add ZetGetPrevPC. This'll be needed soon. :) 2014-08-23 03:30:02 +00:00
iq_132 5b77a05905 Fix vector handling in Z80 core.
Remove hack in Seibu Sound (Fixes tempo in Raiden)
[IQ_132 & Dink]
2014-08-16 15:47:18 +00:00
Barry Harris 866c43df91 sh2.cpp 64-bit compile fix 2014-07-25 18:30:50 +00:00
Barry Harris 229fb9bb61 Resolve compiler warnings 2014-07-25 13:44:21 +00:00
Barry Harris 848702f0d0 m68kmake.c fix picked up from MAME 2014-07-25 13:10:26 +00:00
Barry Harris 1b326222b0 MSVC compile fixes 2014-07-24 21:03:07 +00:00
dinkc64 e0f778ad22 sh2 cpu core update/fix for FAST_OP_FETCH 2014-07-22 06:13:01 +00:00
iq_132 556a5cf3de Add tlcs90 cpu core, hook it up to Rapid Hero.
Please test. Not hooked up to nmk16 save states yet, btw.
2014-06-23 00:14:23 +00:00
dinkc64 78037db60d m68k savestate portability fix - pointer declobberization 2014-06-22 20:19:20 +00:00
iq_132 31315a87e8 Fix z80 cheats. How long has this been broken?? 2014-06-14 03:32:22 +00:00
dinkc64 3d6c6a85eb SH-2 CPU - fix for skipped timer events with Sh2BurnUntilInt(); 2014-05-30 06:41:51 +00:00
Barry Harris 06891c927d Make MSVC happy 2013-05-04 21:21:52 +00:00
Barry Harris 3af3fc885c Add debug tracking support to pic16c5x_intf.cpp 2013-04-10 19:05:12 +00:00
Barry Harris d7253790e2 Seperate ROM and RAM in pic16c5x core, sound now works in d_playmark.cpp, we have a working PIC16C57. :) 2013-04-10 18:50:46 +00:00
Barry Harris 3474cb08e7 Fix some issues in pic16c5x relating to PIC16C57 2013-04-08 12:52:35 +00:00
Barry Harris 0d79a1d4f0 Update pic16c5x to 1.14 2013-04-08 10:11:33 +00:00
Barry Harris 104d4b3de9 Update pic16c5x to 1.13 2013-04-08 10:06:25 +00:00
Barry Harris c481fe1a68 Add iq's driver for Dragon Master and his port of pic16c5x, updated to modern standards (glad I found these!) 2013-04-08 09:19:25 +00:00
tmaul 916f4e8e98 Start of port of Daves Dega (sega master system) emulator to FBA. Seems to be running but the rendering is all screwed and the sound emulation needs looking at. If anyone has any ideas as to what the problems might be, please let me know. :) 2013-01-27 18:03:33 +00:00
tmaul 0a8cbe4f05 Added the fixes from Wizard Coder that I have verified using visual leak detector (actually picked some of them up in Finalburn Alpha 2001 but didn't think to push them back). The others are marked as only "possible" leaks so I have left them out. 2013-01-21 01:02:38 +00:00
Barry Harris 1f2ee4ce23 m68k fix for non-68000 opcode 0x6fff (iq, if you have a cleaner solution feel free to change it) 2012-12-27 14:59:54 +00:00
Barry Harris f50d0b4735 libretro patch (Twinaphex) 2012-12-14 20:31:55 +00:00
iq_132 267ae53e12 Implement workaround for sf2accp2. 2012-12-02 02:12:23 +00:00
iq_132 8829683b78 NecPc -> VezGetPC and ZetPc -> ZetGetPC 2012-09-16 07:24:55 +00:00
iq_132 07e6a48d1d Rename sh2.h to sh2_intf.h for consistency's sake. 2012-09-16 03:59:42 +00:00
iq_132 3f3aaf6643 Add ZetMapMemory / ZetUnmapMemory functions. Let's slowly phase these in. :) 2012-09-14 16:28:51 +00:00
iq_132 08f7c8f2a8 Kill off ZetMemEnd 2012-09-14 16:14:12 +00:00
iq_132 25d2951ed2 Forgot to do actual file changes for xxxx_inf.xxx files. 2012-06-21 16:28:10 +00:00
iq_132 2fa773409d Rename Sek.cpp to m68000_intf.cpp, Sek.h to m68000_intf.h, sekdebug.h to m68000_debug.h, vez.cpp to nec_intf.cpp, vez.h to nec_intf.h, zet.cpp to z80_intf.cpp, zet.h to z80_intf.h. I think this makes it a little more clear and standardized as to their function. 2012-06-21 16:07:03 +00:00
iq_132 df57a34520 Make a few things more standardized -- xxxxWriteByteHandler -> xxxxWriteHandler, xxxxReadByteHandler -> xxxxReadHandler (for 8-bit cpus), xxxxSetIRQ -> xxxxSetIRQLine 2012-06-21 14:41:49 +00:00
Barry Harris c1ca5732fe Check some definitions before defining and check validity of eeprom file pointer (twinaphex) 2012-04-01 15:35:38 +00:00
Barry Harris e182c57101 big-endian fixes from lantus for Data East, Sega and arm interface 2012-03-30 15:32:20 +00:00
iq_132 daab023e4e Fix last Arm7 routine (oopsie!), Minor pgm driver work. Fix category of ddpdoj per Yoyofr. 2012-03-28 02:52:39 +00:00
iq_132 0d9f17e450 ARM7 - Add some memory range check so that addresses don't go outside of page range. 2012-03-26 19:54:35 +00:00
iq_132 1d647c83ca Re-add precise zettotalcycles, remove zettotalcyclesprecise. Pulstar seems to be the same as before. PLEASE TEST A LOT. LANTUS I WILL BUY YOU BEER. 2012-03-19 01:51:54 +00:00
Barry Harris 451da1dd33 Remove sek.h and zet.h from burnint.h, update accordingly 2012-03-16 13:29:28 +00:00
iq_132 39804e72c8 Restore ZetTotalCycles(), Add ZetTotalCyclesPrecise(). Change DACSync in drivers to use it. 2012-03-16 00:06:40 +00:00
iq_132 76b42320ce Update ZetTotalCycles to give more accurate result (dkong commit prep)
We really should move sek.h & zet.h to per driver includes rather than burnint.h
2012-03-15 02:17:53 +00:00
iq_132 2c3c3a04a6 Add totalcycles and newframe function for i8039 (dkong commit prep) 2012-03-12 22:51:45 +00:00
Barry Harris d8fe30059a endian fixes from lantus for Gauntlet, Raiden, Varia Metal and the nec core 2012-02-27 20:42:31 +00:00
Barry Harris 3200c8c555 lantus' BigEndian patch for Toaplan V25 sound 2012-02-01 09:17:19 +00:00
iq_132 71e05f7bf1 2012-01-29 05:23:37 +00:00
Barry Harris 507175c654 Add multi-CPU support to debug tracking in h6280 interface and core 2012-01-26 11:21:08 +00:00
iq_132 b1cdb48a67 Enable multiple h6280s 2012-01-26 04:39:01 +00:00
Barry Harris 74b0152ff8 Applied BigEndian patches from lantus for nec core and irem drivers and moved LSB_FIRST define from burnint.h to makefile flag 2012-01-25 20:13:10 +00:00
iq_132 e88049d898 Getting things ready for PCE/TG16?SGX driver. Add some fixes from more corrent h6280 mame core, add save states to h6280, enable some h6280 functions.
Add c6280 sound core.
2012-01-20 04:30:41 +00:00
Barry Harris 5fc58a60bf Fixed H6280 core, finished hookup in Robocop and added sound to most decic16 based games 2012-01-15 17:04:37 +00:00
Barry Harris 253e2476c9 Fix warnings generated by MSVC Symbol compile 2012-01-12 21:07:17 +00:00
Barry Harris b02b1e33f1 define for m68705Scan() 2012-01-06 14:36:57 +00:00
Barry Harris 5c4dd43732 Added savestate support to hd6309_intf.cpp and improved savestate support in m6800_intf.cpp 2012-01-06 14:10:15 +00:00
Barry Harris 1bb3e91e80 Debug tracking fix for M6502Scan() 2012-01-06 11:58:29 +00:00
Barry Harris d11e07d0e9 Fix savestates in I8039 core 2012-01-05 11:48:34 +00:00
Barry Harris fe025a297f Add support to vez.h to disable __fastcall via FASTCALL makefile flag 2012-01-03 13:50:09 +00:00
Barry Harris 5a158bb36c Readd __fastcall to vez - removal broke all games 2012-01-02 21:10:21 +00:00
tmaul 747a9c9d57 SDL version now compiles on ubuntu 11.10 but won't link because it doesnt like the sdl linkages 2012-01-01 22:52:35 +00:00
tmaul efd7972d7f various platform cleanups 2012-01-01 20:35:21 +00:00
tmaul 2fde633481 fix some case sensitivity issues in includes (also why do macs not have fucking hash key? 2012-01-01 18:58:02 +00:00
tmaul 00e09a1b96 Add the MIP a68k module that was never released from the unreleased PSP port manto and I did years ago. Totally useless for anything else but still quite interesting if you wanted to learn about porting from x86 to MIPS. 2012-01-01 17:19:07 +00:00
Barry Harris 47db754485 endian fixes for sek.cpp based on FBANext, neogeo should hopefully be endian-safe if anyone has ability to test? 2011-12-23 20:53:58 +00:00
Barry Harris 7fe089a450 Endian fixes from FBANext for CPU cores 2011-12-23 11:08:55 +00:00
Barry Harris c0df8070c7 Reverted 119 and 120, broke debug tracking and some games, FB Alpha is otherwise quite stable now, please fully test all changes before committing 2011-12-23 10:30:57 +00:00
iq_132 a70210d129 Change HD6309Init(num) to HD6309Init(nCPU). Initialize a single CPU at a time. 2011-12-22 20:37:21 +00:00
iq_132 e37e3b0d65 Change M6809Init(num) to M6809Init(nCPU). Initialize a single CPU at a time. 2011-12-22 20:14:43 +00:00
iq_132 f5f73c5129 Change ZetInit to initialize a single z80 at a time. Working towards making all CPU inits homogeneous. 2011-12-21 22:51:01 +00:00
Barry Harris b132d5444c Fix for debug tracking exit in s2650_intf.cpp 2011-12-11 12:25:12 +00:00
Barry Harris ac7dd4699c Fix debug tracking for SekGetActive() 2011-12-10 21:23:06 +00:00
Barry Harris 6365ee131b Fix MSVC compiling 2011-12-08 21:24:53 +00:00
Barry Harris 719e95e3e7 Added debug tracking support to sek.cpp 2011-12-08 20:18:16 +00:00
Barry Harris 33420a2354 Added debug tracking support to vez.cpp and zet.cpp 2011-12-08 15:34:58 +00:00
Barry Harris f09e11801e Added support to more CPU cores for debug tracking 2011-12-07 16:09:09 +00:00
Barry Harris e2ae9e3303 First batch of CPU cores with debug tracking support added 2011-12-07 15:30:27 +00:00
iq_132 c52c5452c7 Oopsie! 2011-12-05 02:02:14 +00:00
iq_132 dafde879bf Fixed comment in arm7_intf.h
Updated 6502 and Vez core to allocate rather than use array
Updated Vez core to do VEZ_IRQSTATUS_AUTO
2011-12-05 01:54:00 +00:00
Barry Harris e4cc7bbf30 Initial commit 2011-12-03 20:27:59 +00:00