1168 Commits

Author SHA1 Message Date
twinaphex
e768a4de8e Enable SH2 DRC for Windows build 2018-01-08 12:48:16 +01:00
twinaphex
2160c24574 Merge https://github.com/notaz/picodrive 2018-01-08 12:43:46 +01:00
notaz
fda2f31020 drc: support ms ABI 2018-01-07 01:20:00 +02:00
notaz
48c9e01be8 improve 64bit portability
for win64 mostly
2018-01-06 21:29:59 +02:00
twinaphex
007cb5addd Set to use_sh2drc = 0 for Windows right now 2018-01-06 12:53:23 +01:00
notaz
4e80a03ab5 libretro: pass required arg to VirtualProtect 2018-01-06 12:17:27 +01:00
notaz
a0b95da112 libretro: pass required arg to VirtualProtect 2018-01-03 03:00:32 +02:00
Twinaphex
8581be5700 (OSX) Add dynarec for x86 2018-01-02 18:12:50 +01:00
twinaphex
5e08d51b4b Merge https://github.com/notaz/picodrive 2018-01-02 17:43:28 +01:00
notaz
9cdfc191b6 add a pitch variable
32x is still broken
2017-12-27 19:54:07 +02:00
notaz
88f6038d05
Merge pull request #72 from Chips-fr/master
Support latest raspberry GLES library name
2017-12-27 19:53:32 +02:00
Chips-fr
9c0ac97043 Support latest raspberry GLES library name 2017-12-25 17:38:36 +01:00
notaz
898d51a7fd drc: revive x86 dynarec, support x86-64 2017-12-12 01:45:59 +02:00
notaz
91be5ebd10 don't do idle log - it's not useful 2017-12-03 18:23:27 +02:00
notaz
98a3d79ba2 drc: arm: use movw/movt
it's about time...
2017-12-03 17:44:33 +02:00
notaz
00468b0a9b drc: do lit check before size_nolit is cleared 2017-12-03 17:44:33 +02:00
notaz
d602fd4f73 drc: ignore cache-through on smc check 2017-12-03 17:44:33 +02:00
notaz
f0ed9e38ad drc: rm overlapped block entry points
otherwise we get duplicates in hash tables
2017-12-03 17:44:33 +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
twinaphex
c3887ce8d3 Set -D__LIBRETRO__ 2017-11-07 04:38:32 +01:00
twinaphex
df23f00306 Buildfox for PSP libretro 2017-11-07 01:30:40 +01:00
Brad Parker
502ed33ec8 add travis build script 2017-10-23 21:15:49 -04: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
Twinaphex
084a4f2425 Merge pull request #59 from notaz/libretro-reset
Libretro reset
2017-10-21 01:36:51 +02:00
notaz
6bf07a7125 Merge branch 'master' into libretro-reset 2017-10-21 01:10:03 +03:00
notaz
eef77d7a8b handle 'bad' dma better 2017-10-21 00:02:38 +03:00
notaz
ee5d41a1ed pandora: mark prerelease versions
so they can live along released ones
2017-10-20 12:21:09 +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
759c9d3846 pandora: fix build
Fixes: df9251536de "libretro: satisfy vita's dynarec needs in a cleaner way"
2017-10-20 12:20:59 +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
a90cc666d0 Merge branch 'libretro' into libretro-reset
This effectively resets libretro git to upstream and syncs both repos.
Everything in platform/libretro should be retained as I imported that in
my git verbatim, but some core changes may be lost and will have to be
redone. I've checked that picodrive_libretro.so builds and works on x86,
and Android also builds for all archs. I've even bothered to try it
under msvc where it's building for me too.

With this you also get the benefits from significant accuracy improvement
work from 1.92.
2017-10-14 21:31:28 +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
adb98333d7 drop draw_amips from libretro too
There's no proof it's any faster, it's only a maintenance burden.
See also 4aedc593008ca6e9230b700cec6483c3ecd73bef .
2017-10-14 00:53:09 +03:00
notaz
e9a11abb3c drop some unnecessary inlines
apparently somebody compiles with msvc?
2017-10-14 00:53:09 +03:00
notaz
b5f5dc1fad android: make armeabi buildable 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
28a5b39232 libretro: update for core changes
also drops the broken "fps override" feature
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
notaz
7612bf90be re-import all libretro code from it's fork
Verbatim copy from https://github.com/libretro/picodrive/ commit
9ae88ef15ff00cacc3877c7ecc13b0092bab50b8 , so look there for the history
of libretro specific changes. Unfortunately there is too much noise and
divergence to merge this in a proper way.
2017-10-14 00:53:09 +03:00