Commit graph

418 commits

Author SHA1 Message Date
kub
6822ba9d64 sh2 memory interface optimzations 2019-07-30 16:34:40 +02:00
kub
e267031a50 debug stuff, bug fixing 2019-07-30 16:34:40 +02:00
kub
ff0eaa11d9 move saving SH2 SR into memory access and do so only if needed 2019-07-30 16:34:40 +02:00
kub
9031406131 add 32bit memory access functions for SH2 2019-07-30 16:34:40 +02:00
kub
32feba7458 minor changes 2019-07-30 16:34:40 +02:00
kub
b1a047c926 reworked palette and buffer handling due to some 32X bugs 2019-07-30 16:34:40 +02:00
kub
23eef37f25 revamped 32X draw arm asm code 2019-07-30 16:34:40 +02:00
kub
064cc6d103 kludges for wwf raw, nfl 2019-07-30 16:34:40 +02:00
kub
122afd9d37 substituted tool to obtain target structure offsets (for asm) 2019-07-30 16:34:40 +02:00
kub
2fa02d5a63 improved sh2 clock handling, bug fixing + small improvement to drc emitters 2019-07-30 16:34:40 +02:00
kub
f5939109c4 sh2 drc host disassembler integration for gp2x 2019-07-30 16:34:40 +02:00
kub
5a5d765c23 bugfix for 32x 2019-07-30 16:34:40 +02:00
kub
78d817c370 arm asm memory access functions for m/s68k 2019-07-30 16:34:40 +02:00
kub
2c479106af arm asm syntax fixes for open2x 2019-07-30 16:34:40 +02:00
kub
c79d0bb90f fix gp2x compilation (using linaro arm gcc 4.7 on ubuntu) 2019-07-30 16:34:40 +02:00
notaz
0a0073dc9f fix a corner case with h-int 2018-01-28 19:13:01 +02:00
notaz
ee3c39efd2 fix DrawSpritesHiAS 2018-01-27 23:46:37 +02:00
notaz
6e05b76b6a add a header fixup 2018-01-27 20:03:13 +02:00
notaz
cf83610baa sms: improve irq handling 2018-01-27 19:41:57 +02:00
notaz
8fde2033ac 32x: implement standard/ssf2 mapper, part 2
Turns out wasn't actually hooked in.
2018-01-23 02:39:01 +02:00
notaz
310d973b9e don't spam DMA message
VR US triggers this
2018-01-21 19:03:51 +02:00
notaz
8b9dbcde38 32x: implement standard/ssf2 mapper 2018-01-21 18:57:13 +02:00
notaz
48c9e01be8 improve 64bit portability
for win64 mostly
2018-01-06 21:29:59 +02:00
notaz
91be5ebd10 don't do idle log - it's not useful 2017-12-03 18:23:27 +02:00
notaz
7e056c853a stop IdleDet from affecting save states 2017-12-02 00:10:08 +02:00
notaz
eefdb8a559 32x: improve 68k bios handling 2017-11-29 02:31:19 +02:00
notaz
6c2041fea0 32x: add other timing hacks
For sdram sync, like NJTE.
Still bad, but don't have a better solution for now (or ever?).
2017-11-28 02:25:06 +02:00
notaz
31fbc691a1 32x: remove some comm hacks
they can (and do) easily break things
2017-11-28 02:25:06 +02:00
notaz
6311a3baf5 move more globals to PicoInterface
similar reasons as before
2017-10-22 02:13:46 +03:00
notaz
075672bf9f sms: do psg like md does 2017-10-22 02:13:36 +03:00
notaz
eef77d7a8b handle 'bad' dma better 2017-10-21 00:02:38 +03:00
notaz
35f2b65ef7 add 68k overclocking support 2017-10-20 12:21:09 +03:00
notaz
93f9619ed8 rearrange globals
scripted find/replace
gives slightly better code on ARM, less unnecessary asm,
~400 bytes saved
2017-10-20 12:21:09 +03:00
notaz
eaa147519f sms: more md-consistent drawing 2017-10-17 01:01:26 +03:00
notaz
1c25c32c11 sms: improve sr a bit 2017-10-17 00:53:35 +03:00
notaz
7669591e08 famec: eliminate global context ptr
saves like 25-35K of .text

current compile resource usage on i5-6600K:
            cpu  mem
gcc 5.4.0:  17.0 1.1g
clang 3.8:  1686 2.3g

FAMEC_NO_GOTOS:
gcc 5.4.0:   8.4 0.4g
clang 3.8:  20.0 0.15g
vs2008/O2: ~1800 ?
vs2008/O1:  ~720 ?
2017-10-15 03:26:48 +03:00
notaz
12f23dac6f famec: split fm68k_emulate
in FAMEC_NO_GOTOS mode at least
2017-10-15 00:45:55 +03:00
notaz
fdcfd32374 get rid of custom memcpy funcs
not used for anything important, just a maintenance burden
2017-10-14 21:28:36 +03:00
notaz
ba11a48115 fix clang build
yet another workaround for it...
2017-10-14 21:28:36 +03:00
notaz
24aab4da73 let it build on msvc
supposedly for the original XBox?
2017-10-14 21:28:24 +03:00
notaz
e9a11abb3c drop some unnecessary inlines
apparently somebody compiles with msvc?
2017-10-14 00:53:09 +03:00
notaz
df9251536d libretro: satisfy vita's dynarec needs in a cleaner way 2017-10-14 00:53:09 +03:00
notaz
a4fa71d4da libretro: drop sram clear
It's done by the core. If the core is missing something, core itself
needs to be fixed.
2017-10-14 00:53:09 +03:00
notaz
bce144211c some portability cleanups 2017-10-14 00:53:09 +03:00
iLag
126eb5f469 Fix remaining bugs and fix indentation 2017-10-14 00:53:09 +03:00
iLag
9a570a67ca Restore support for short GG cheats. 2017-10-14 00:53:09 +03:00
iLag
ed4a2193f7 Add support for Master System cheats.
notaz: drop wrong code (PicoWrite8_z80 are 68k functions, not for sms)
2017-10-14 00:53:09 +03:00
iLag
8655fd0462 Add support for single-line cheats and PAR codes.
notaz: include required header
2017-10-14 00:53:09 +03:00
David
9e38b1f0d6 Fix the lprintf method (libretro side)
The lprintf method used the format string instead of the buffer build
from va_list
2017-10-14 00:53:09 +03:00
notaz
65e4c57baa build: some clean ups 2017-10-14 00:53:09 +03:00