Commit Graph

1207 Commits

Author SHA1 Message Date
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: df9251536d "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 4aedc59300 .
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
9ae88ef15f , 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
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
notaz
84162df45c build: drop function-sections
this has provoked people to do some horrible ifdeffery in libretro fork,
while the benefit is minimal, if any.
2017-10-14 00:53:09 +03:00
notaz
0bc8955485 release 1.92 v1.92 2017-10-14 00:53:09 +03:00
notaz
cf07a88d6e fix cell scroll drawing 2017-10-14 00:53:08 +03:00
notaz
c041308933 fame: fix roxr
also take interrupts on exit, like other cores do
2017-10-14 00:53:08 +03:00
notaz
0e4bde9b2d rework sr
note to self:

h32 0x10A .. 0x127 0x1D2 .. 0x1FF 0x000 .. 0x109
pclk      30      |      46      |      266      = 342
hbset       0x126        ...       0x009
pclk   29  |      1   +  46    +  10    |  256
mclk   290 |           570              |  2560  = 3420
68kclk 41.4            81.4               365.7 ~= 488.5

h40 0x14A .. 0x16C 0x1C9 .. 0x1FF 0x000 .. 0x149
pclk      35      |      55      |      330      = 420
hbset       0x166        ...       0x00A
pclk   28  |      7   +  55    +  11    |  319
mclk  28*8 | 7*8   4*8+314+10+(18+11)*8 | 319*8  = 3420
68kclk  32             92                 364.5 ~= 488.5
2017-10-14 00:53:08 +03:00